Skip to content

Commit

Permalink
Update CHANGELOG and composer version for v1.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
unfulvio-godaddy committed Jul 24, 2023
1 parent e7470ed commit 42a7496
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,26 @@ All notable changes to this project will be documented in this file.

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).

## [1.0.0](https://github.com/10up/wp_mock/compare/0.4.2...1.0.0) - 2023-07-24
### Added
- Added and documented return types in codebase
- New `AccessInaccessibleClassMembers` helpers in test case
- Move [documentation to GitBook](https://wp-mock.gitbook.io/documentation/getting-started/introduction)
### Changed
- Require PHP 7.4
- Update dependencies (Mockery 1.6, PHPUnit 9.6)
- Remove deprecated methods in `WP_Mock` main class
- Update `Hook::safe_offset()` to handle closure
### Fixed
- `IsEqualHtml` extends PHPUnit `Constraint`
- Improve responder handling of closures

## [0.5.0](https://github.com/10up/wp_mock/compare/0.4.2...0.5.0) - 2022-11-01
### Added
- New `AnyInstance` matcher
### Changed
- Add compatibility with PHPUnit 9
- Require PHP 7.3
- Mocker function for `_n()` to evaluate singular or plural
### Fixed
- Patchwork not loaded error (`WP_Mock::setUsePatchwork(true)` was broken)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "10up/wp_mock",
"description": "A mocking library to take the pain out of unit testing for WordPress",
"license": "BSD-3-Clause",
"version": "0.5.0",
"version": "1.0.0",
"prefer-stable": true,
"require": {
"php": ">=7.4 < 8.3",
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"antecedent/patchwork": "^2.1"
},
Expand Down

0 comments on commit 42a7496

Please sign in to comment.