CHANGELOG.md
78 lines
| 1 | # Change Log |
| 2 | All notable changes to this project will be documented in this file. |
| 3 | |
| 4 | The format is based on [](http://keepachangelog.com/Keep a Changelog](http://keepachangelog.com/](http://keepachangelog.com/) |
| 5 | and this project adheres to [](http://semver.org/Semantic Versioning](http://semver.org/](http://semver.org/). |
| 6 | |
| 7 | ## [1.2.0] - 2021-07-20 |
| 8 | |
| 9 | :warning: This version drops support for PHP 5.2! |
| 10 | |
| 11 | ### Changed |
| 12 | * PHP 5.2 is no longer supported. The minimum supported PHP version for the WHIP library is now PHP 5.3. [#96] |
| 13 | * 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] |
| 14 | * The `Whip_InvalidOperatorType::__construct()` method now has a second, optional `$validOperators` parameter. [#62] |
| 15 | If this parameter is not passed, the default set of valid operators, as was used before, will be used. |
| 16 | * Improved protection against XSS in localizable texts. [#50] |
| 17 | * Improved support for translating localizable texts (I18n). [#59] |
| 18 | * The distributed package will no longer contain development-related files. [#45] |
| 19 | * General housekeeping. |
| 20 | |
| 21 | ### Deprecated |
| 22 | * The `public` `Whip_WPMessagePresenter:register_hooks()` method has been deprecated in favour of the new `Whip_WPMessagePresenter:registerHooks()`. [#52], [#107] |
| 23 | |
| 24 | ### Fixed |
| 25 | * The text of the exception message thrown via the `Whip_InvalidType` exception was sometimes garbled. [#61] |
| 26 | * Compatibility with PHP >= 7.4: prevent a deprecation notice from being thrown (fatal error on PHP 8.0). [#88] |
| 27 | |
| 28 | [#44]: https://github.com/Yoast/whip/pull/44 |
| 29 | [#45]: https://github.com/Yoast/whip/pull/45 |
| 30 | [#50]: https://github.com/Yoast/whip/pull/50 |
| 31 | [#52]: https://github.com/Yoast/whip/pull/52 |
| 32 | [#59]: https://github.com/Yoast/whip/pull/59 |
| 33 | [#61]: https://github.com/Yoast/whip/pull/61 |
| 34 | [#62]: https://github.com/Yoast/whip/pull/62 |
| 35 | [#88]: https://github.com/Yoast/whip/pull/88 |
| 36 | [#96]: https://github.com/Yoast/whip/pull/96 |
| 37 | [#107]: https://github.com/Yoast/whip/pull/107 |
| 38 | |
| 39 | [Drew Jaynes]: https://github.com/DrewAPicture |
| 40 | |
| 41 | ## [1.1.0] - 2017-08-08 |
| 42 | ### Added |
| 43 | * Allow WordPress messages to be dismissed for a period of 4 weeks. |
| 44 | |
| 45 | ## [1.0.2] - 2017-06-27 |
| 46 | ### Fixed |
| 47 | * When multiple plugins containing whip are activated, the message is no longer shown multiple times, props [](https://github.com/sciamannikooAndrea](https://github.com/sciamannikoo](https://github.com/sciamannikoo). |
| 48 | |
| 49 | ## [1.0.1] - 2017-03-21 |
| 50 | ### Fixed |
| 51 | * Fix a missing link when the PHP message is switched to the WordPress.org hosting page. |
| 52 | |
| 53 | ## [1.0.0] - 2017-03-21 |
| 54 | ### Changed |
| 55 | * Updated screenshot in README |
| 56 | |
| 57 | ## [1.0.0-beta.2] - 2017-03-11 |
| 58 | ### Added |
| 59 | * Complete PHP version message |
| 60 | |
| 61 | ### Changed |
| 62 | * Refactor code architecture. |
| 63 | * Use PHP version constant instead of function. |
| 64 | |
| 65 | ### Fixed |
| 66 | * Fix broken version reconciliation. |
| 67 | |
| 68 | ## 1.0.0-beta.1 - 2017-02-21 |
| 69 | * Initial pre-release of whip. A package to nudge users to upgrade their software versions. |
| 70 | |
| 71 | [Unreleased]: https://github.com/yoast/whip/compare/1.2.0...HEAD |
| 72 | [1.2.0]: https://github.com/yoast/whip/compare/1.1.0...1.2.0 |
| 73 | [1.1.0]: https://github.com/yoast/whip/compare/1.0.2...1.1.0 |
| 74 | [1.0.2]: https://github.com/yoast/whip/compare/1.0.1...1.0.2 |
| 75 | [1.0.1]: https://github.com/yoast/whip/compare/1.0.0...1.0.1 |
| 76 | [1.0.0]: https://github.com/yoast/whip/compare/1.0.0-beta.2...1.0.0 |
| 77 | [1.0.0-beta.2]: https://github.com/yoast/whip/compare/1.0.0-beta.1...1.0.0-beta.2 |
| 78 |