Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Releases: Automattic/woocommerce-subscriptions-core

Version 2.4.0

28 Oct 05:47
c4a90a8
Compare
Choose a tag to compare
* 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).
* Update - Improve wcs_copy_order_address() to use modern APIs for setting address fields.
* Dev - woocommerce_new_subscription_data hook will only work with CPT datastore and so has been deprecated.
* Dev - i18n usage of strftime has been deprecated for subscription titles. Date is now formatted using woocommerce standard date formatting.

Version 2.3.0

07 Oct 03:45
8017438
Compare
Choose a tag to compare
* Fix - Move One Time Shipping metabox fields to use the woocommerce_product_options_shipping_product_data hook introduced in WC 6.0.
* Dev - Define build tool version requirements for consistent development and build environments.
* Update - Improve handling of bulk action execution.

Version 2.2.1

25 Aug 22:16
c4debb6
Compare
Choose a tag to compare
* Fix - Fatal Error caused in rare cases where quantity is zero during renewal.

Version 2.2.0

03 Aug 23:49
9ce5295
Compare
Choose a tag to compare
* Fix - Update subscription address when changed with renewals on block checkout.

Version 2.1.0

06 Jun 23:54
7eab8ae
Compare
Choose a tag to compare
* Fix - Fatal Error caused in rare cases where quantity is zero during renewal.

Version 2.0.0

23 May 01:00
69ab97d
Compare
Choose a tag to compare
* Dev - Retrieving users subscriptions order has been updated to use the WooCommerce specific APIs in WC_Subscriptions_Order.
* Dev - Deprecate the WC_Subscriptions_Order::get_meta() function. Use wcs_get_objects_property( $order, $meta_key, "single", $default ) instead.
* Dev - Update the wcs_get_objects_property() function to prevent calls to get_post_meta() on objects that support calling the get_meta() function.
* Dev - Remove the get_post_meta() call from WCS_Post_Meta_Cache_Manager::maybe_update_for_post_change().
* Dev - Replace code using get_post_type( $order_id ) with WC Data Store get_order_type().
* Dev - Replace all cases of update_post_meta() where an Order ID is passed to use WC_Order::update_meta_data() instead. 

Version 1.9.0

11 May 21:24
Compare
Choose a tag to compare
* Fix: Display subscription billing details in the Cart Block when purchasing products with subscription plans created using the All Products extension. PR#149
* Dev: Update phpunit to v9 to allow testing against newer php versions. PR#140

1.8.0

05 Apr 01:02
20d0604
Compare
Choose a tag to compare

= 1.8.0 - 2022-04-04 =

  • Update: Switch to global functions to remove deprecation warnings originating from WooCommerce Blocks. PR#124

1.7.0

18 Mar 05:17
69d33ca
Compare
Choose a tag to compare
  • Fix: Sets up subscriptions integration with the Mini Cart Block and adds new hook to filter compatible blocks. PR#103
  • Fix: When using a WooCommerce Blocks powered checkout, fix an issue that led to limited products being removed from the cart when completing a switch or renewal order. PR#119 wcs#4232
  • Fix: When there is only one Shipping Method available in the recurring shipping package, make sure that this method is treated as selected in the current session and the woocommerce_after_shipping_rate action runs. PR#115
  • Fix: Don't anonymize new subscriptions related to old subscriptions via a resubscribe relationship. PR#121 wcs#4304 wcpay#3889
  • Fix: Content that appears on the My account > Payment methods page should be translatable. PR#125 wcs#4180 wcpay#3974

1.6.4

10 Feb 00:10
7cdddd4
Compare
Choose a tag to compare

2022-02-10 - version 1.6.4

  • Fix: When changing the payment method, make sure the subscription total returns $0 when subscriptions-core is loaded after the woocommerce_loaded action hook. PR#111 wcpay#3768