n98-magerun2 v7.2.0
We are excited to announce the release of n98-magerun2 version 7.2.0 (Codename Barcelona). This release brings a plethora of new features, improvements, and fixes that aim to enhance your Magento 2 development experience. Below is a detailed breakdown of what’s new.
New Features
This feature introduces a new Mage-OS ddev setup, providing a streamlined development environment for Magento. It simplifies the process of setting up a local development environment, making it easier for developers to get started.
Mage-OS 1.0.0
The installer now supports Mage-OS 1.0.0, offering a more robust and efficient installation process. This ensures a smoother setup and minimizes potential issues.
The compatibility check was modified to prevent a false-positive which detected Mage-OS 1.0.0 as old Magento 1.
New command to remove cache entries by ID
A new command cache:remove:id
has been added, allowing for more granular control over cache removal. This is particularly useful for developers who need to remove specific cache entries without affecting the entire cache.
Clear media cache command
The new cache:catalog:image:flush
command enables developers to easily clear the media cache, improving performance and aiding in troubleshooting.
Add decrypt option to cache:view command
The cache:view
command now comes with a decrypt option, allowing developers to view decrypted cache data. This is useful for debugging and understanding the stored cache data.
Improvements
Ask only for credentials if repo.magento.com is used
The tool now only asks for credentials when repo.magento.com
is being used, making the process more streamlined and less intrusive.
Convert functional tests to bats
Functional tests have been converted to bats, enhancing the reliability and maintainability of the test suite.
First refactoring of route:list command
The route:list
command has undergone its first round of refactoring, improving its performance and usability.
Filter XDEBUG_CONFIG env param for core commands
This improvement filters out the XDEBUG_CONFIG
environment parameter for core commands, enhancing security and performance.
Other Updates
- Update 3rd party dependencies (php-cs-fixer, phpstan, phpunit, requests, symfony)
We hope you find these updates beneficial and look forward to your feedback. Happy coding!
Full Changelog
- Add: #1320: Mage-OS ddev setup (by Christian Münch)
- Add: #1318: Mage-OS 1.0.0 for installer (by Christian Münch)
- Add: #1282: Adding Magento 2.4.6-p2 (by Guillaume Arino)
- Add: #1275: New command cache:remove:id (by Christian Münch)
- Add: #1274: Clear media cache command (by Christian Münch)
- Add: #1255: Add decrypt option to cache:view command (by Christian Münch)
- Imp: #1292: Ask only for credentials if repo.magento.com is used (by Christian Münch)
- Imp: #1272: Convert functional tests to bats (by Christian Münch)
- Imp: #1262: First refactoring of route:list command (by Christian Münch)
- Imp: #1240: Filter XDEBUG_CONFIG env param for core commands (by Christian Münch)
- Imp: Update 3rd party dependencies (php-cs-fixer, phpstan, phpunit, requests, symfony)
- Fix: #1296: Fix short options registration of core commands (by Christian Münch)
- Fix: #1259: Fix not correct routes for route:list command (by Bohdan Bakalov)
- Fix: #1287: integration:delete command doesn’t delete associated oauth consumer and oauth token (by Christian Münch)
- Fix: #1254: Add missing docs for cache:view, cache:report
0 Comments