Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update subscriptions-core version 2.4.0 #5009

Merged
merged 2 commits into from
Oct 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions changelog/subscriptions-core-2.4.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: update

The subscription creation function `wcs_create_subscription` has been updated to use WooCommerce CRUD methods in preparation for supporting High Performance Order Storage (HPOS).
4 changes: 4 additions & 0 deletions changelog/subscriptions-core-2.4.0-2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: update

Improve wcs_copy_order_address() to use modern APIs for setting address fields.
4 changes: 4 additions & 0 deletions changelog/subscriptions-core-2.4.0-3
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: dev

woocommerce_new_subscription_data hook will only work with CPT datastore and so has been deprecated.
4 changes: 4 additions & 0 deletions changelog/subscriptions-core-2.4.0-4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: dev

i18n usage of strftime has been deprecated for subscription titles. Date is now formatted using woocommerce standard date formatting.
4 changes: 4 additions & 0 deletions changelog/subscriptions-core-2.4.0-5
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: dev

Update subscriptions-core to 2.4.0.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"automattic/jetpack-sync": "1.30.5",
"automattic/jetpack-tracking": "1.14.5",
"myclabs/php-enum": "1.7.7",
"woocommerce/subscriptions-core": "2.3.0"
"woocommerce/subscriptions-core": "2.4.0"
},
"require-dev": {
"composer/installers": "1.10.0",
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.