You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+50-3Lines changed: 50 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,53 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
7
-
## [1.0.1]
7
+
## [1.2.0] - 2021-07-19
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 [Andrea](https://github.com/sciamannikoo).
48
+
49
+
## [1.0.1] - 2017-03-21
8
50
### Fixed
9
51
* Fix a missing link when the PHP message is switched to the WordPress.org hosting page.
10
52
11
-
## [1.0.0]
53
+
## [1.0.0] - 2017-03-21
12
54
### Changed
13
55
* Updated screenshot in README
14
56
@@ -26,5 +68,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
26
68
## 1.0.0-beta.1 - 2017-02-21
27
69
* Initial pre-release of whip. A package to nudge users to upgrade their software versions.
0 commit comments