Releases: alleyinteractive/mantle-framework
Releases · alleyinteractive/mantle-framework
v0.10.6
What's Changed
- Introduce a WP_UnitTestCase class and a core shim to the testing framework by @srtfisher in #376
- Improving rsyncing and phpunit path detection in #374
- Set better defaults for registering meta in #375
Fixed
- Make wp_insert_post return WP_Error by @szepeviktor in #369
- Fix an error with the trace not passing through in #371
- Fix get_facade_accessor signature by @szepeviktor in #368
- Allow json to be dumped from the response in #372
- Improve reporting of stray HTTP requests in #373
New Contributors
- @szepeviktor made their first contribution in #369
Full Changelog: v0.10.5...v0.10.6
v0.10.5
v0.10.4
Changed
- Remove Laravel Mix support. Switch to asset loader that aligns with shared company configuration.
Full Changelog: v0.10.3...v0.10.4
v0.10.3
What's Changed
- Ensure --url doesn't throw an error on bin/mantle by @srtfisher in #365
Full Changelog: v0.10.2...v0.10.3
v0.10.2
v0.10.1
What's Changed
- Upgrading to voku/portable-ascii 2.0 by @srtfisher in #362
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
- Improvements to database factories: adds
with_meta()
to all supported types, addswith_posts()
to term factory. - Upgrading to Symfony 6 and Illuminate/View 9
- Allow
Mantle\Testing\Mock_Http_Response
to be converted toMantle\Http_Client\Response
- Support streamed HTTP responses in the client and fake.
- Add
maybe_rsync_content
during testing. - Add
--delete
when rsyncing content during testing. - Work to make Mantle a bit more isolated.
Full Changelog: v0.9.1...v0.10.0
v0.9.1
What's Changed
- Truly check if wordpress is installed by @srtfisher in #345
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- Allow more flexible control over incorrect usage and deprecations by @srtfisher in #336
- Add support for rsync-ing a codebase from within the testing suite by @srtfisher in #332
- Fixes for WordPress 6.1 by @srtfisher in #339
- Adding support for testing commands by @srtfisher in #338
- Add support for an isolated console mode by @srtfisher in #337
- Use the existing WP_CORE_DIR if one exists by @srtfisher in #341
- Display trace for incorrect usage/deprecation notices by @srtfisher in #340
- Authentication assertions and tests by @srtfisher in #342
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- Set default to string incase of missing location by @anubisthejackle in #331
- Document the HTTP Client delaying after requests by @srtfisher in #334
- Adding assertions for element missing/existing by tag name/classname/id by @srtfisher in #333
- Middleware for testing factories by @srtfisher in #335
Full Changelog: v0.7.0...v0.8.0