Skip to content

Commit f25b589

Browse files
Add changelog for v1.1.0 (#257)
# Summary <!-- Required --> This updates the changelog prior to tagging the `1.1.0` release. ## Contributor checklist <!-- Required --> - [x] I agree to follow this project's [**Code of Conduct**](https://github.com/10up/.github/blob/trunk/CODE_OF_CONDUCT.md). - [x] I have updated the documentation accordingly - [x] I have added tests to cover changes introduced by this pull request - [x] All new and existing tests pass ## Testing <!-- Required --> n/a ### Reviewer checklist <!-- Required --> <!-- The following checklist is for the reviewer: add any steps that may be relevant while reviewing this pull request --> - [ ] Code changes review - [ ] Documentation changes review - [ ] Unit tests pass - [ ] Static analysis passes
2 parents 0f27c61 + 71abc03 commit f25b589

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.1.0](https://github.com/10up/wp_mock/compare/1.0.1...1.1.0) - 2025-03-11
8+
### Added
9+
- Add support for types in `expectFilter()` mocks
10+
- Add support for `withAnyArgs()` method for `onFilter()` calls
11+
12+
### Fixed
13+
- Prevent IDEs/phpstan from detecting exceptions in mocked functions that don't actually throw in WordPress core (e.g. `esc_html()`)
14+
- Typos in docs and function name (old function `iExcpectWhenIRun()` still exists but has been deprecated)
15+
716
## [1.0.1](https://github.com/10up/wp_mock/compare/1.0.0...1.0.1) - 2024-01-04
817
### Changed
918
- Updated `WP_Mock::expectHookNotAdded()` with new params

0 commit comments

Comments
 (0)