Skip to content

Releases: Yoast/whip

2.0.0

28 Dec 09:15
Compare
Choose a tag to compare

[2.0.0] - 2023-12-28

Added

Changed

  • All the source classes are now namespaced under Yoast\WHIPv2. The version number in the namespaced will be bumped up with every major version. #157
    The classes have also been renamed to remove the Whip_ prefix, and the folders' names have been capitalized to follow the PSR-4 standard.
  • The Requirement interface now explicitly declares the following two additional methods: version() and operator() and classes implementing the interface should ensure these methods are available. #146
  • General housekeeping.

Removed

  • The deprecated Whip_WPMessagePresenter:register_hooks() method has been removed. #158

Fixed

  • Compatibility with PHP >= 8.2: prevent a deprecation notice about dynamic properties usage from being thrown in the RequirementsChecker class. #117
  • Security hardening: added sanitization to the notification dismiss action. #131

1.2.0

20 Jul 11:26
Compare
Choose a tag to compare

[1.2.0] - 2021-07-20

⚠️ This version drops support for PHP 5.2!

Changed

  • PHP 5.2 is no longer supported. The minimum supported PHP version for the WHIP library is now PHP 5.3. #96
  • The previous solution to prevent duplicate messages as included in v1.0.2 has been improved upon and made more stable. Props Drew Jaynes. #44
  • The Whip_InvalidOperatorType::__construct() method now has a second, optional $validOperators parameter. #62
    If this parameter is not passed, the default set of valid operators, as was used before, will be used.
  • Improved protection against XSS in localizable texts. #50
  • Improved support for translating localizable texts (I18n). #59
  • The distributed package will no longer contain development-related files. #45
  • General housekeeping.

Deprecated

  • The public Whip_WPMessagePresenter:register_hooks() method has been deprecated in favour of the new Whip_WPMessagePresenter:registerHooks(). #52, #107

Fixed

  • The text of the exception message thrown via the Whip_InvalidType exception was sometimes garbled. #61
  • Compatibility with PHP >= 7.4: prevent a deprecation notice from being thrown (fatal error on PHP 8.0). #88

1.1.0

08 Aug 07:54
f66106f
Compare
Choose a tag to compare

Added

  • Allow WordPress messages to be dismissed for a period of 4 weeks.

1.1.0-RC2

04 Aug 09:01
Compare
Choose a tag to compare
1.1.0-RC2 Pre-release
Pre-release

Introduces the ability to dismiss the message for a period of 4 weeks.

1.1.0-RC1

01 Aug 10:06
1ea57a0
Compare
Choose a tag to compare
1.1.0-RC1 Pre-release
Pre-release

Added

  • Allow WordPress messages to be dismissed until the next WordPress major release.

1.0.2

27 Jun 13:37
e9df81e
Compare
Choose a tag to compare

Fixed

  • When multiple plugins containing whip are activated, the message is no longer shown multiple times, props Andrea.

1.0.1

21 Mar 10:29
192a294
Compare
Choose a tag to compare

Fixed

  • Fix a missing link when the PHP message is switched to the WordPress.org hosting page.

1.0.0

21 Mar 10:15
2c4c8c8
Compare
Choose a tag to compare

A package to nudge users to upgrade the software versions.

1.0.0-beta.2

11 Mar 11:35
3c32dc6
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

Added

  • Complete PHP version message

Changed

  • Refactor code architecture.
  • Use PHP version constant instead of function.

Fixed

  • Fix broken version reconciliation.

1.0.0-beta.1

21 Feb 14:55
Compare
Choose a tag to compare
1.0.0-beta.1 Pre-release
Pre-release

Initial pre-release of whip. A package to nudge users to upgrade their software versions.