Skip to content

Commit 5872af5

Browse files
authored
Merge pull request #43 from Yoast/feature/changelog-1.1.0
Changelog for release 1.1.0
2 parents 5d6baa4 + a1d0bfe commit 5872af5

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,28 @@ This projects adheres to [Keep a CHANGELOG](http://keepachangelog.com/) and uses
99

1010
_Nothing yet._
1111

12+
## [1.1.0] - 2022-11-17
13+
14+
### Added
15+
* Helper functions for on-the-fly creation of opaque test doubles for unavailable classes for use with Mockery. PR [#40]
16+
The default Mockery mocks for unavailable classes do not allow for the dynamic property deprecation in PHP 8.2, which can cause tests to error out.
17+
These helper functions can be used to create test doubles which do allow for setting properties.
18+
The helper functions can be called from within a test bootstrap or from within a test class.
19+
For full details about these new functions, why they exist and how to use them, please see [the documentation in the README](https://github.com/Yoast/wp-test-utils#helpers-to-create-test-doubles-for-unavailable-classes).
20+
21+
### Changed
22+
* The [BrainMonkey] dependency has been updated to require [version `^2.6.1`](https://github.com/Brain-WP/BrainMonkey/releases/tag/2.6.1) (was `^2.6.0`). PR [#28]
23+
* The [PHPUnit Polyfills] dependency has been updated to require [version `^1.0.4`](https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/1.0.4) (was `^1.0.1`). PRs [#28], [#41]
24+
* Composer: The package will now identify itself as a testing tool. PR [#36]
25+
* Verified PHP 8.2 compatibility.
26+
* General housekeeping.
27+
28+
[#28]: https://github.com/Yoast/wp-test-utils/pull/28
29+
[#36]: https://github.com/Yoast/wp-test-utils/pull/36
30+
[#40]: https://github.com/Yoast/wp-test-utils/pull/40
31+
[#41]: https://github.com/Yoast/wp-test-utils/pull/41
32+
33+
1234
## [1.0.0] - 2021-09-27
1335

1436
WordPress 5.9 contains significant changes to the WordPress native test suite, which impacts **integration tests**.<br/>
@@ -86,6 +108,7 @@ Initial release.
86108

87109

88110
[Unreleased]: https://github.com/Yoast/wp-test-utils/compare/main...HEAD
111+
[1.1.0]: https://github.com/Yoast/wp-test-utils/compare/1.0.0...1.1.0
89112
[1.0.0]: https://github.com/Yoast/wp-test-utils/compare/0.2.2...1.0.0
90113
[0.2.2]: https://github.com/Yoast/wp-test-utils/compare/0.2.1...0.2.2
91114
[0.2.1]: https://github.com/Yoast/wp-test-utils/compare/0.2.0...0.2.1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ WP Test Utils
55
[![CS Build Status](https://github.com/Yoast/wp-test-utils/actions/workflows/cs.yml/badge.svg)](https://github.com/Yoast/wp-test-utils/actions/workflows/cs.yml)
66
[![Test Build Status](https://github.com/Yoast/wp-test-utils/actions/workflows/test.yml/badge.svg)](https://github.com/Yoast/wp-test-utils/actions/workflows/test.yml)
77
[![Minimum PHP Version](https://img.shields.io/packagist/php-v/yoast/wp-test-utils.svg?maxAge=3600)](https://packagist.org/packages/yoast/wp-test-utils)
8-
[![License: BSD3](https://poser.pugx.org/yoast/wp-test-utils/license)](https://github.com/Yoast/wp-test-utils/blob/master/LICENSE)
8+
[![License: BSD3](https://poser.pugx.org/yoast/wp-test-utils/license)](https://github.com/Yoast/wp-test-utils/blob/main/LICENSE)
99

1010
This library contains a set of utilities for running automated tests for WordPress plugins and themes.
1111

@@ -35,7 +35,7 @@ Requirements
3535
The following packages will be automatically required via Composer:
3636
* [PHPUnit Polyfills] 1.0.4 or higher.
3737
* [PHPUnit] 5.7 - 9.x.
38-
* [BrainMonkey] 2.6.0 or higher.
38+
* [BrainMonkey] 2.6.1 or higher.
3939

4040

4141
Installation

0 commit comments

Comments
 (0)