Releases: Yoast/whip
Releases · Yoast/whip
2.0.0
[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 theWhip_
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()
andoperator()
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
1.2.0
[1.2.0] - 2021-07-20
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 newWhip_WPMessagePresenter:registerHooks()
. #52, #107
Fixed
1.1.0
1.1.0-RC2
1.1.0-RC1
1.0.2
1.0.1
1.0.0
1.0.0-beta.2
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
Initial pre-release of whip. A package to nudge users to upgrade their software versions.