Releases: alleyinteractive/mantle-framework
Releases · alleyinteractive/mantle-framework
v1.5.1
v1.5.0
Changed
- Dropped
illuminate/viewfrom thealleyinteractive/mantle-frameworkpackage. There is a conflict between the dependent packageilluminate/supportandspatie/once.alleyinteractive/mantlewill be updated to requireilluminate/viewdirectly. - Upgraded
mantle-framework/testkitto supportnunomaduro/collisionv8 (which requires PHP 8.2 and PHPUnit 10+). - Drop support for
symfony/consolev6.2. All Symfony components are now at v7.0.
v1.4.5
v1.4.4
v1.4.3
v1.4.2
v1.4.1
v1.4.0
📢 Minimum PHP version is now 8.2. The framework supports 8.2 - 8.4.
Added
- ✨ Experimental feature ✨: Use the home URL as the base URL for testing rather than
WP_TESTS_DOMAIN. This can be enabled by calling thewith_experimental_testing_url_host()method of the installation manager or by setting theMANTLE_EXPERIMENTAL_TESTING_USE_HOME_URL_HOSTenvironment variable.
Once enabled, the home URL will be used as the base URL for testing rather the hard-codedWP_TESTS_DOMAIN. It will also infer the HTTPS status from the home URL. - Added
with_option()/with_home_url()/with_site_url()methods to the installation manager. - Add a
without_local_object_cache()method to prevent theobject-cache.phpdrop-in from being loaded locally. - Added a better
dump()method to the response object when testing HTTP requests that will dump the request/response to the console.
Changed
- Removed support for PHP 8.1. The minimum PHP version is now 8.2.
- For projects that require PHPUnit 9, the
phpunit/phpunitversion is now set to^9.6.22. - Upgraded to Symfony 7.0 packages.
- Disable
spatie/once's cache if found during unit testing. - Ensure that the
QUERY_STRINGserver variable is set when testing HTTP requests.
Fixed
- Ensure that built-in taxonomies properly register their rewrite rules during testing.
v1.3.3
Added
- Added
Mantle\Support\Helpers\capturehelper to capture output from a callback using output buffering.
Changed
- Updated the
Mantle\Support\Helpers\deferhelper to be able to used outside
of the Mantle Framework via theshutdownhook.
Fixed
- Allow
Filter/Actionattributes to be used multiple times on the same method.