Skip to content

Commit f312c02

Browse files
Update subscriptions core version to 5.0.0 (#5120)
1 parent d9db42b commit f312c02

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

changelog/subscriptions-core-5.0.0

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: add
3+
4+
New wcs_get_orders_with_meta_query() helper function to query for orders and subscriptions.

changelog/subscriptions-core-5.0.0-1

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+
Replace instances of `get_posts()` across codebase with new wcs_get_orders_with_meta_query() function.

changelog/subscriptions-core-5.0.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: dev
3+
4+
Refactor the saving of subscription dates in the subscription datastore to separate fetching changes and saving. Enables backfilling subscription dates when HPOS syncing is enabled.

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.5.1"
32+
"woocommerce/subscriptions-core": "5.0.0"
3333
},
3434
"require-dev": {
3535
"composer/installers": "1.10.0",

composer.lock

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

0 commit comments

Comments
 (0)