n98-magerun2 v8.0.0

As the Magento community continually evolves, we at n98-magerun2 are committed to embracing these changes and meeting the needs of developers. Today, I am thrilled to announce the release of n98-magerun2 8.0.0. The codename of the release is Mainz – the city in Rheinhessen/Germany where the headquarters of the valantic (netz98) team is located.
The release is packed with remarkable new features, improvements, and updates that will enhance your development experience. This release marks a significant milestone in our journey, especially with the decision to drop PHP 7 support—a bold step towards a more modern and efficient future.
New Features
New Command: dev:di:preferences:list
One of the most notable additions in this release is the introduction of new commands designed specifically to aid developers in their Magento journey. The dev:di:preferences:list
command, allows you to effortlessly list dependency injection preferences in your Magento application. Understanding these preferences can significantly streamline your debugging and development processes.

New Command: dev:theme:build-hyva
Additionally, for the Hyvä community, we are excited to introduce the dev:theme:build-hyva
command created by Torben Höhn, making it quicker and easier for developers to build themes. Speed and efficiency are essential in today’s fast-paced e-commerce environment, and this feature is geared towards boosting your productivity.

The command runs in watch mode, because it’s primary designed for developers. For production use there is a handy --production
flag which then supress the watch mode.
New mydump option in db:dump command
Furthermore, we have enhanced the db:dump
command by integrating mydumper support, thanks to Peter Jaap Blaakmeer. This new functionality offers improved database backup and performance capabilities, ensuring that your data management processes are efficient and reliable.
Please note that the user (resolved by using the env.php) needs RELOAD or FLUSH_TABLES privileges to use this feature.
Improved Command: self-update
Our self-update command has also seen significant enhancement with the addition of rollback logic. This feature provides an extra layer of security and reliability, allowing you to revert to previous versions of n98-magerun2 if necessary.

Mage-OS 1.0.6 Support
In our continuous effort to support the Magento ecosystem, this release includes improved compatibility with Mage-OS 1.0.6, reported by Fabrizio Balliano. This improvement allows our tool to seamlessly integrate into your Mage-OS distribution, ensuring that your development environment is stable and robust.
n98-magerun2 can now distinguish between the Magento version number and the Mage-OS version number and will not report a fesh new Mage-OS installation as a outdated Magento system.
Additionally the sys:info command can now print infos about the distribution.

We love small fixes and contributions
In our commitment to transparency and clarity, we have taken steps to improve our documentation. This includes fixing typos and clarifying command descriptions, contributing to a more polished and professional experience for users. We understand the importance of accurate documentation, especially for Magento developers who rely on these resources to solve complex technical challenges.
The tireless efforts of contributors like Nolwennig-Jeulin and sir1ke have greatly enhanced our documentation and command clarity. This collaborative spirit exemplifies what the Magento community is all about, and we are grateful for all contributions that help make n98-magerun2 the best it can be.
Shout-out to all Magento developers and admins!
With the minimum PHP 8 requirement in place, we can now focus on updating outdated Symfony packages. This will require thorough testing, and we’d love for the community to help tackle some of the long-standing open issues.
Let’s work together to make the Magento ecosystem even better. We need your feedback—what features, tools, or improvements would take n98-magerun2 to the next level? Share your ideas and help shape the future!
Full Changelog:
- Major: Drop PHP 7 support
- Add: #1584: New dev:theme:build-hyva command (by Torben Höhn)
- Add: #1574: New Add mydumper feature to DumpCommand (by Peter Jaap Blaakmeer)
- Add: #1553: New dev:di:preferences:list command (by Christian Münch)
- Imp: #1577: Support Mage-OS 1.0.6 (by Christian Münch) (reported by Fabrizio Balliano)
- Imp: Updated ddev setup to PHP 8.3 and used newer box.phar for phar build (by Christian Münch)
- Imp: Add rollback logic to self-update command (by Christian Münch)
- Imp: Update 3rd party dependencies (phpstan, php-cs-fixer, rmccue/requests, Appleboy SSH Action, Sigstore Cosign Installer, CaptainHook, psr/logger, psysh, fakerphp) to their latest versions
- Fix: #1569: Fix typo in README (by Nolwennig-Jeulin)
- Fix: #1572: Import without compression no longer compatible with STDIN (reported by Indy Koning)
- Fix: #1560: deprecation warning (by Christian Münch)
- Fix: #1563: description of command detect-composer-dependencies (by sir1ke)
- Fix: #1572: Import without compression no longer compatible with STDIN (reported by Indy Koning)
0 Comments