Releases: alleyinteractive/mantle-framework
Releases · alleyinteractive/mantle-framework
v1.1.2
v1.1.1
v1.1.0
Added
- Added a
classname
/the_classname
helper to generate complex class names. - Added support for installing the Redis
object-cache.php
drop-in during
testing withwith_object_cache()
. - Added support for PHPUnit 11.
Changed
- Overhauled the bootloader to be more flexible and allow for more
customization. Supports passing configuration, custom kernels, exception
handlers, etc. via the bootloader when configuring the application. - Ensure that framework configuration is properly merged into application
configuration when booting the application. This allows for slimmer
configuration files in the application. Service providers will always
load without needing to be declared in the application configuration. - Load the
wp-content/vip-config/vip-config.php
file if it exists during
testing to integrate better with VIP Go projects.
Fixed
- Fixed issue with command jobs not working properly.
- Ensure that unit tests fail when a project's installation script fails.
- Fix anonymous queue jobs from WP-CLI failing to run.
- Fixed issue with HTTP Client not returning the proper headers.
v0.12.13
What's Changed
- Ensure Composer is properly loaded during unit tests when installing by @srtfisher in #542
Full Changelog: v0.12.12...v0.12.13
v1.0.7
Added
- Added a
block_factory()
helper to generate blocks in tests.
Changed
- Changed
Hookable
to accept all arguments passed to theadd_action()
and
add_filter()
functions.
Fixed
- Prevent sending mail during the install
wp_install()
call in unit tests by
mocking the$phpmailer
global earlier. - Allow anonymous models to define events via
Model::created()
methods. - Fixed the Collision printer with PHPUnit 10.
v1.0.6
Fixed
- Properly disabling VIP's alloptions protections during unit testing
(previously applied in v1.0.5).
Full Changelog: v1.0.5...v1.0.6
v1.0.5
Changed
- Disable VIP's
pre_wp_load_alloptions_protections
protection during unit testing.
Full Changelog: v1.0.4...v1.0.5
v1.0.4
v1.0.3
v1.0.2
Added
- Added
html_string()
helper to make assertions against a HTML string easier in testing. - Added new assertion methods to test against elements.
Fixed
- Fixed incorrect status code when testing.
- Properly tear down the
$wp_the_query
global.
Full Changelog: v1.0.1...v1.0.2