Skip to content

Commit 44a829b

Browse files
Matt AllanJinksi
andauthored
Update subscriptions-core version 2.4.0 (#5009)
* Bump subscriptions-core version in WCPay and attach changelog entries * Update changelog/subscriptions-core-2.4.0-2 Co-authored-by: Eric Jinks <[email protected]> Co-authored-by: Eric Jinks <[email protected]>
1 parent 8fcfff9 commit 44a829b

7 files changed

+29
-9
lines changed

changelog/subscriptions-core-2.4.0

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: update
3+
4+
The subscription creation function `wcs_create_subscription` has been updated to use WooCommerce CRUD methods in preparation for supporting High Performance Order Storage (HPOS).

changelog/subscriptions-core-2.4.0-2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: update
3+
4+
Improve wcs_copy_order_address() to use modern APIs for setting address fields.

changelog/subscriptions-core-2.4.0-3

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: dev
3+
4+
woocommerce_new_subscription_data hook will only work with CPT datastore and so has been deprecated.

changelog/subscriptions-core-2.4.0-4

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: dev
3+
4+
i18n usage of strftime has been deprecated for subscription titles. Date is now formatted using woocommerce standard date formatting.

changelog/subscriptions-core-2.4.0-5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: dev
3+
4+
Update subscriptions-core to 2.4.0.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"automattic/jetpack-sync": "1.30.5",
3030
"automattic/jetpack-tracking": "1.14.5",
3131
"myclabs/php-enum": "1.7.7",
32-
"woocommerce/subscriptions-core": "2.3.0"
32+
"woocommerce/subscriptions-core": "2.4.0"
3333
},
3434
"require-dev": {
3535
"composer/installers": "1.10.0",

composer.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)