Repository navigation
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_weeksmeta key, with a fallback to the existingnotification_date_1_weekmeta 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.0in addition to^3.0,^4.0and^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
nulltoclass_exists().
Composer
automattic/jetpack-autoloaderupdated tov6.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-datetimeupdated tov2.2.0. Fixes PHP 8.5 deprecation notices increate_from_formatby using an explicit nullable timezone parameter. (Release notes)pronamic/wp-moneyupdated to2.5.0. Adds an optional currency argument toParser::parse()so amounts can be parsed in currencies other than EUR. (Release notes)pronamic/wp-numberupdated tov1.4.1. Adds Composerwp-slugmetadata; builds on 1.4.0, which addedNumber::is_whole_number()andNumber::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