Prepare Packages for Release (#48407)

Automated change: Prep @woocommerce/data for release.

Co-authored-by: lanej0 <lanej0@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-06-11 15:37:33 -07:00 committed by GitHub
parent 35609532b0
commit d2ea42a658
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
152 changed files with 144 additions and 612 deletions

View File

@ -2,21 +2,159 @@
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [4.1.0](https://www.npmjs.com/package/@woocommerce/packages/js/data/v/4.1.0) - 2022-07-08
## [5.0.0](https://www.npmjs.com/package/@woocommerce/data/v/5.0.0) - 2024-06-11
- Patch - Added in missing TS definitions in package.json [#34154]
- Patch - Add is_plugins_page_skipped parameter to onboarding API [#38764]
- Patch - Fix get_option() error that was not being caught properly and rewrite the code using await and async [#48246]
- Minor - Fix IdQuery selector for getItem selector in CRUD data stores [#36033]
- Patch - Fix incorrect usage of dispatch, useSelect, and setState calls in homescreen along with settings and onboarding package [#37641]
- Minor - Fix linter errors [#37196]
- Patch - Fix missing resolver import in data/import [#34054]
- Minor - Fix up updateItem query in CRUD data store [#36155]
- Minor - Moved setIsRequesting(false) to the finally block so that it always runs even if an exception is thrown. [#36873]
- Patch - Redirect users to WooCommerce Home when Jetpack auth endpoint returns an invalid URL [#38760]
- Patch - Removing unused code from ProductForm data store. [#36592]
- Patch - Rewrite withCurrentUserHydration to work with Gutenberg 15.5+ [#37908]
- Patch - Rewrite withNavigationHydration to work Gutenberg 15.5+ [#37901]
- Patch - Rewrote withOptionsHydration to not use dispatch-within-useselect pattern that is broken after gutenberg 15.5 update [#37882]
- Patch - Add 'variation' to ProductType [#47762]
- Minor - Add ability to check CRUD dispatch action status [#36297]
- Minor - Add ability to make geolocation call to WPCOM API [#38412]
- Patch - Add additional type to user preferences config. [#40281]
- Patch - Add additional UserPreferences option type. [#39685]
- Minor - Add an attribute to an onboarding task to indicate whether to track a task view. [#35278]
- Minor - Add batchUpdate to product variations datastore [#36109]
- Minor - Add catalog_visibility property to the Product type [#39477]
- Minor - Add default attributes property to the Product type [#39570]
- Minor - Added code to retrieve jetpack connection data [#34637]
- Minor - Add generate slug prop to the QueryProductAttribute type [#39827]
- Minor - Add getItemsTotalCount selector to the crud data store. [#34400]
- Minor - Add getItemsTotalCount selector to the crud data store. [#34613]
- Minor - Add getProduct selector and deleteProduct action to products data store. [#34211]
- Minor - Add image to product variation and export types [#36133]
- Minor - Adding Product Form data store. [#36430]
- Minor - Add isGeneratingVariations selector to product variations store. [#39733]
- Minor - Add is_read query option for notes data store [#35396]
- Patch - Add is_store_country_set field to profileItems [#34484]
- Minor - Add Jetpack Connection Auth endpoint. [#38674]
- Minor - Add manage_stock parent value to product variation type definition [#36234]
- Minor - Add meta_data parameter in generateProductVariations [#45953]
- Minor - Add meta_data type to Product [#41961]
- Patch - Add missing low_stock_amount to product type [#34984]
- Minor - Add name and parent_id to the ProductVariation type definition [#40672]
- Minor - Add new data store for shipping zones. #33830 [#33830]
- Minor - Add PartialProductVariation type, where id is required [#44017]
- Minor - Add product attribute terms data store [#33721]
- Minor - Add product tags data store [#33682]
- Minor - Add product variations data store [#35838]
- Patch - Add size properties to product type #34329 [#34856]
- Minor - Add Skip button to OBW steps [#34176]
- Minor - Add slug to product and variation attributes [#40978]
- Minor - Add support for default_values param in productVariations store [#40343]
- Minor - Add tags (or general taxonomy ) block [#39966]
- Minor - Add tax classes datastore [#36299]
- Patch - Add tiktok plugin to plugins name mapping [#34953]
- Minor - Add variable_product_tour_shown to UserPreferences type. [#37413]
- Minor - Create product categories data store. #33984 [#33984]
- Patch - Data: add selector to get related products [#43489]
- Patch - Data: introduce optimisticQueryUpdate create item option [#46343]
- Patch - Data: reduxify suggested products [#44043]
- Patch - Enhanced jetpack connection data [#34653]
- Patch - Export ProductShippingClass type [#34684]
- Patch - Export WCUser type for consumption in wcadmin [#40869]
- Minor - Extend product variations data store with generate variations actions [#36058]
- Minor - Modify notice for legacy local attributes #41646 [#41646]
- Minor - Move LYS coming soon initialization to core profiler flow [#46708]
- Minor - Support force_default_suggestions argument. [#34083]
- Minor - Update shipping partner suggestions to use data from API, fix default partners data, replaced hardcoded JS components and added relevant types [#38457]
- Minor - Update type definition for ProductForm [#36583]
- Patch - Add new user preference to UserPreferences type. [#39673]
- Minor - Add product attribute types to the Product type. [#34751]
- Minor - Bump node version. [#45148]
- Patch - bump php version in packages/js/*/composer.json [#42020]
- Patch - CRUD: introduce organizeItemsById helper function [#47624]
- Patch - CRUD: populates items and itemsCount when a new item is created [#47632]
- Patch - Data: improve reducer with optimisticQueryUpdate test [#47428]
- Patch - Data: sort the items when updating optimistically [#46717]
- Patch - Data: Tidy and fix Product Attribute types [#46907]
- Patch - Data: update getKey helper function [#47548]
- Patch - Removed old inbox notes warning [#37392]
- Major [ **BREAKING CHANGE** ] - Remove `Product` `date_on_sale_from` and `date_on_sale_to` properties. Use `date_on_sale_from_gmt` and `date_on_sale_to_gmt` instead. [#35096]
- Patch - Set some fields as optional on ProductVariationImage type [#47065]
- Minor - Update generateProductVariations action to add support for default_attributes and allowing to disable the product saving. [#39938]
- Patch - Update Payfast title [#38090]
- Patch - Update ProductAttributeTerms action types and include it as part of @wordpress/data module [#39620]
- Minor - Update product attribute type name and export the product attribute types. [#34999]
- Patch - Update TaskItem type to include `badge` prop. [#40034]
- Patch - Use products data store for getPermalinkParts selector. [#36706]
- Patch - [Product Block Editor]: dismiss AdviceCard by clicking close button [#43124]
- Minor - Add auto draft status to product status type [#37770]
- Patch - Add codistoconnect to pluginNames [#36766]
- Minor - Add duplicate product to store #46294 [#46294]
- Minor - Added install-and-activate-async to Onboarding and updated related types [#38616]
- Patch - Added types for resolveSelect where applicable. [#38241]
- Patch - Add is_installed and plugins_page_skipped type and added async option for installPlugins. [#38405]
- Minor - Add missing reviews property to product data [#35592]
- Patch - Add missing shipping class property [#35034]
- Minor - Add new shippping class modal to a shipping class section in product page [#34937]
- Minor - Add type definitions for @woocommerce/data reviews [#34844]
- Patch - Add types to plugin response data [#34787]
- Minor - Adjust build/test scripts to remove -- -- that was required for pnpm 6. [#34661]
- Patch - Branding rollout - change WooCommerce Payments to WooPayments [#39188]
- Minor - Clean errors when generate variations is successfull #41525 [#41525]
- Minor - Deprecate "theme" prop from profileItem type [#37671]
- Patch - Dev dependency bump [#35651]
- Minor - Fix lint issues [#36988]
- Minor - Fix node and pnpm versions via engines [#34773]
- Minor - Fix onboarding productTypes TS define type [#37725]
- Patch - Lint fixes [#38523]
- Patch - Make eslint emit JSON report for annotating PRs. [#39704]
- Patch - Merging trunk with local [#34322]
- Patch - Migrate navigation store to TS [#34239]
- Patch - Migrate notes store to TS [#34220]
- Patch - Migrate reports to TS [#35048]
- Patch - Migrate setting store to TS [#34184]
- Patch - Rewrite usePluginsHydration hook to not dispatch inside useSelect [#37896]
- Minor - Sync @wordpress package versions via syncpack. [#37034]
- Patch - Update @wordpress/data to ^6.15.0 [#34428]
- Minor - Update attributes type for product variations data store [#35889]
- Patch - Update eslint to 8.32.0 across the monorepo. [#36700]
- Patch - Update events that should trigger the test job(s) [#47612]
- Minor - Update IdQuery type on get item selectors [#36085]
- Minor - Update pnpm monorepo-wide to 8.6.5 [#38990]
- Minor - Update pnpm to 8.6.7 [#39245]
- Patch - Update pnpm to 9.1.0 [#47385]
- Minor - Update pnpm to version 8. [#37915]
- Minor - Update pnpm version constraint to 7.13.3 to avoid auto-install-peers issues [#35007]
- Minor - Update task list types and getVisibleTasks logic [#35450]
- Patch - Update the Blocks JS tests to React 18 [#47383]
- Minor - Upgrade TypeScript to 5.1.6 [#39531]
- Patch - Correct spelling errors [#37887]
- Patch - Fix unintended reset of isRequesting when updating settings, add preemptive set isRequesting when optimistically updating settings [#39613]
- Patch - Retrieve product information using edit context [#34961]
- Patch - Tweak the product form types and exports. [#36414]
- Patch - Update types for update and create product. [#34313]
- Patch - [Data]: expose UserPreference TS prop [#43125]
- Minor - Update totalCount in crud store to avoid unnecessary requests. [#40343]
- Patch - Use createSelector for getPermalinkParts selector, to cache result. [#36848]
- Minor - Add tracks for plugin actions and handle plugin error properly [#37261]
## [4.1.0](https://www.npmjs.com/package/@woocommerce/data/v/4.1.0) - 2022-07-08
- Minor - Fix 'Cannot read properties of undefined' error when clicking Export button on Analytic pages.
- Minor - Add CRUD data store utilities
- Minor - Add product deletion via datastore API #33285
- Minor - Add product shipping class data store. #33765
- Minor - Migrate onboarding data store to TS
- Minor - Remove PHP and Composer dependencies for packaged JS packages
- Patch - Fix product type
- Patch - Migrate @woocommerce/data user and use-select-with-refresh to TS
- Patch - Migrate item store to TS
- Minor - Migrate onboarding data store to TS
- Minor - Remove PHP and Composer dependencies for packaged JS packages
## [4.0.0](https://www.npmjs.com/package/@woocommerce/packages/js/data/v/4.0.0) - 2022-06-14
## [4.0.0](https://www.npmjs.com/package/@woocommerce/data/v/4.0.0) - 2022-06-14
- Major [ **BREAKING CHANGE** ] - Remove `PaymentMethodsState` type. Use `Plugin` instead. #32683
- - Remove `PaymentMethodsState` type. Use `Plugin` instead. #32683
- Minor - Add create product actions in products data store #33278
- Minor - Add new orders data store, for retrieving orders data. #33063
- Minor - Add update product actions to product data store #33282

View File

@ -1,4 +0,0 @@
Significance: minor
Type: fix
Moved setIsRequesting(false) to the finally block so that it always runs even if an exception is thrown.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Create product categories data store. #33984

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Just changing package.json command for lint

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Only a change to development tooling.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: Updated PNPM

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: This is a CI-only change.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: This is a developer-only build tooling related change.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: update
Bump node version.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Comment: adds `glob`, `rimraf`, and `uuid` to Syncpack

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Move LYS coming soon initialization to core profiler flow

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Update the Blocks JS tests to React 18

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Update pnpm to 9.1.0

View File

@ -1,4 +0,0 @@
Significance: patch
Type: tweak
Update types for update and create product.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add getProduct selector and deleteProduct action to products data store.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add new data store for shipping zones. #33830

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add Skip button to OBW steps

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Export ProductShippingClass type

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add size properties to product type #34329

View File

@ -1,4 +0,0 @@
Significance: minor
Type: update
Add product attribute types to the Product type.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: update
Update product attribute type name and export the product attribute types.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add missing low_stock_amount to product type

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Add new shippping class modal to a shipping class section in product page

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add getItemsTotalCount selector to the crud data store.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Add missing reviews property to product data

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add product variations data store

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update attributes type for product variations data store

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Extend product variations data store with generate variations actions

View File

@ -1,4 +0,0 @@
Significance: minor
Type: fix
Fix IdQuery selector for getItem selector in CRUD data stores

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add manage_stock parent value to product variation type definition

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update IdQuery type on get item selectors

View File

@ -1,4 +0,0 @@
Significance: minor
Type: fix
Fix up updateItem query in CRUD data store

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add batchUpdate to product variations datastore

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Adding Product Form data store.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: tweak
Tweak the product form types and exports.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add image to product variation and export types

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add tax classes datastore

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add ability to check CRUD dispatch action status

View File

@ -1,4 +0,0 @@
Significance: minor
Type: fix
Fix linter errors

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Add auto draft status to product status type

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add Jetpack Connection Auth endpoint.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add catalog_visibility property to the Product type

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add tags (or general taxonomy ) block

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add default attributes property to the Product type

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add additional UserPreferences option type.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add generate slug prop to the QueryProductAttribute type

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add isGeneratingVariations selector to product variations store.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add slug to product and variation attributes

View File

@ -1,4 +0,0 @@
Significance: minor
Type: performance
Update totalCount in crud store to avoid unnecessary requests.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add support for default_values param in productVariations store

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add additional type to user preferences config.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Modify notice for legacy local attributes #41646

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add name and parent_id to the ProductVariation type definition

View File

@ -1,4 +0,0 @@
Significance: patch
Type: update
Set some fields as optional on ProductVariationImage type

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add 'variation' to ProductType

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add getItemsTotalCount selector to the crud data store.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add product attribute terms data store

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Export WCUser type for consumption in wcadmin

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Support force_default_suggestions argument.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Update type definition for ProductForm

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add ability to make geolocation call to WPCOM API

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add an attribute to an onboarding task to indicate whether to track a task view.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Added code to retrieve jetpack connection data

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add meta_data type to Product

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add meta_data parameter in generateProductVariations

View File

@ -1,4 +0,0 @@
Significance: patch
Type: tweak
Retrieve product information using edit context

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add product tags data store

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add tiktok plugin to plugins name mapping

View File

@ -1,4 +0,0 @@
Significance: minor
Type: enhancement
Add tracks for plugin actions and handle plugin error properly

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add variable_product_tour_shown to UserPreferences type.

View File

@ -1,5 +0,0 @@
Significance: patch
Type: dev
Comment: Fixed a lint issue

View File

@ -1,4 +0,0 @@
Significance: patch
Type: update
bump php version in packages/js/*/composer.json

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Update events that should trigger the test job(s)

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Migrate notes store to TS

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Migrate navigation store to TS

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Migrate setting store to TS

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Clean errors when generate variations is successfull #41525

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Add duplicate product to store #46294

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Added types for resolveSelect where applicable.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Dev dependency bump

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update pnpm version constraint to 7.13.3 to avoid auto-install-peers issues

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update task list types and getVisibleTasks logic

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Update eslint to 8.32.0 across the monorepo.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Update @wordpress/data to ^6.15.0

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Fix node and pnpm versions via engines

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Make eslint emit JSON report for annotating PRs.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Lint fixes

View File

@ -1,4 +0,0 @@
Significance: patch
Type: dev
Migrate reports to TS

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Sync @wordpress package versions via syncpack.

View File

@ -1,5 +0,0 @@
Significance: patch
Type: dev
Comment: Package scripts were modified to support simplified running of turbo commands in the monorepo.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update pnpm to 8.6.7

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Add type definitions for @woocommerce/data reviews

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Fix lint issues

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update pnpm monorepo-wide to 8.6.5

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Update pnpm to version 8.

View File

@ -1,4 +0,0 @@
Significance: minor
Type: dev
Upgrade TypeScript to 5.1.6

View File

@ -1,4 +0,0 @@
Significance: patch
Type: fix
Fix missing resolver import in data/import

View File

@ -1,5 +0,0 @@
Significance: patch
Type: tweak
Comment: Minor update of react and react-dom to 17.0.2.

View File

@ -1,4 +0,0 @@
Significance: patch
Type: add
Add is_store_country_set field to profileItems

View File

@ -1,4 +0,0 @@
Significance: minor
Type: add
Add is_read query option for notes data store

Some files were not shown because too many files have changed in this diff Show More