Skip to content

4.35.0

Latest

Choose a tag to compare

@remcotolsma remcotolsma released this 28 Sep 10:08

Changelog

Changed

  • Changed the default subscription renewal pre-notification period from 1 week to 14 days. The last notification date is now stored in the notification_date_2_weeks meta key, with a fallback to the existing notification_date_1_week meta key to prevent duplicate notifications. (#259)
  • The next payment date is no longer shown in the subscription update meta box for cancelled subscriptions. (#264)
  • The WP-CLI payments import and subscription follow-up payment commands now exit with a non-zero status code on failure.
  • Allowed automattic/jetpack-autoloader ^6.0 in addition to ^3.0, ^4.0 and ^5.0.

Removed

  • Removed support for the unused legacy subscription meta key notification_date_renewal.

Fixed

  • Fixed a currency mismatch exception when calculating payment line totals in a currency other than EUR; the currency of the first payment line is now used. (#266)
  • Fixed the refunded amount being initialized after the total amount, which could cause the currencies to get out of sync.
  • Fixed errors when loading payments or subscriptions whose post no longer exists, and when rendering payment/subscription meta boxes without a valid post.
  • Fixed PHP deprecation notices about implicitly nullable parameters and passing null to class_exists().

Composer

  • automattic/jetpack-autoloader updated to v6.0.1. Version 6 raises the minimum supported PHP version to 7.4; 6.0.1 reads the current plugin's manifests before cached ones so a retired plugin directory cannot win a version tie. (Changelog)
  • pronamic/wp-datetime updated to v2.2.0. Fixes PHP 8.5 deprecation notices in create_from_format by using an explicit nullable timezone parameter. (Release notes)
  • pronamic/wp-money updated to 2.5.0. Adds an optional currency argument to Parser::parse() so amounts can be parsed in currencies other than EUR. (Release notes)
  • pronamic/wp-number updated to v1.4.1. Adds Composer wp-slug metadata; builds on 1.4.0, which added Number::is_whole_number() and Number::format_i18n_non_trailing_zeros(). (Release notes)

What's Changed

  • Hide next payment date in update meta box for cancelled subscriptions. by @rvdsteege in #264
  • Change default subscription renewal pre-notification window from 7 to 14 days by @rvdsteege with @Copilot in #259
  • Fix currency mismatch exception by using first payment line currency to calculate total amount. by @rvdsteege in #266

Full Changelog: v4.34.0...v4.35.0