Skip to content

Releases: GrimLink/mage

v2.6.0

08 Mar 15:48

Choose a tag to compare

Added

  • mage new store [url|prefix] command: Programmatically creates a new store view and configures its base URLs, Valet routing, and Warden routing.
  • mage nuke (alias mage destroy) command: Permanently deletes the Magento project (DB, Env, Files).
  • mage add [PKG|GIT_URL] command: Added support for providing raw Git repository URLs, which will be cloned to package-source/ and required locally.
  • Helper function get_composer_pkg_name_from_file to reliably extract package names from local composer.json files.

Changed

  • Improved mage add hyva logic by splitting checkout/commerce functions and adding robust checks for production/development modes.
  • Improved mage add hyva logic to ensure duplicate repositories are not added to composer.json.
  • Cleaned up redundant logic in Valet initialization checks.

Removed

  • mage add baldr command alias (now superseded by the improved add options).

Full Changelog: 2.5.2...2.6.0

v2.5.2

02 Feb 11:14
d8e390e

Choose a tag to compare

Fixed

  • mage open without arguments.

Full Changelog: 2.5.1...2.5.2

v2.5.1

10 Jan 12:37

Choose a tag to compare

Fixed

  • Loop in add hyva for development.
  • Getting started Variable

Full Changelog: 2.5.0...2.5.1

v2.5.0

08 Jan 11:37

Choose a tag to compare

Added

  • Added add command as a shortcut for composer require.
  • Added update (alias upd) command, a shortcut for composer update.
    It supports updating specific packages or all packages matching a search term (e.g., mage update hyva-themes).
  • Added remove (alias del) command, a shortcut for composer remove.
    It supports removing specific packages or all packages matching a search term (e.g., mage remove siteation).
  • Added get command as a shortcut for getting all direct composer packages with a given name.
  • Added enable command as a shortcut for bin/magento module:enable.
  • Added disable command as a shortcut for bin/magento module:disable.

Changed

  • Refactors a few actions to function and cleanup to make mage more compact
  • Added CSP theme support to the build hyva command.
  • Set the default number of parallel jobs for the build command to 6.

Removed

  • Removed initial confirmation question when installing Hyva; the script now directly prompts for the installation type.

Full Changelog: 2.4.1...2.5.0

v2.4.1

29 Sep 09:58

Choose a tag to compare

Fixed

  • Params in patch commands

Full Changelog: 2.4.0...2.4.1

v2.4.0

18 Sep 12:33

Choose a tag to compare

Added

  • create, install, and setup commands:
    These new commands integrate the functionality of the create-project script directly into Mage.
    This allows for easier Magento project creation using mage create [NAME],
    which offers more flexibility than the previous method by removing static version numbers
    and integrating with existing Mage options.
    The new create-project implementation also sets more secure and complete defaults.
  • set csp command: A new command to configure Content Security Policy.
  • log command enhancements:
    The log command now accepts clear and show arguments to clear logs and display all log files, respectively.

Changed

  • info command: now displays the information of your env better, including colors.
  • info command: now displays the Modules Installed health
  • log command:
    The log command has been updated to display any log type by passing the log name as an argument.
  • new patch command:
    The logic for the new patch command has been updated to support creating a single patch from multiple files.
  • add patch command:
    The add patch command now uses a separate composer.patches.json file to store patch information,
    keeping the main composer.json file cleaner.

Removed

  • set mode command:
    This command has been removed as it was too static and lacked configuration options.
    The new create command now handles this functionality, making set mode redundant.
  • set countries command:
    This command has been removed
    and will be replaced by a more comprehensive set config command in a future release.

Full Changelog: 2.3.4...2.4.0

v2.3.4

14 Aug 19:46

Choose a tag to compare

Changed

  • add hyva to ask each question before installing

Fixed

  • Use of version command outside Magento
  • set theme for adding Hyvä

Full Changelog: 2.3.3...2.3.4

v2.3.3

13 Apr 15:19

Choose a tag to compare

Changed

  • Improve way how add hyva works for Licenses and development cases
    • license addition is now optional. It will prompt for the license if auth.json is missing.
    • Both versions don't install the Luma fallback checkout by default
    • Added support for Hyvä Commerce

Full Changelog: 2.3.2...2.3.3

v2.3.2

25 Mar 11:44

Choose a tag to compare

Fixed

  • mage commands that are passed on to bin/magento or magerun with quoted arguments
  • Missing dependency for Hyvä 1.3.10 and newer for the gitlab install

Full Changelog: 2.3.1...2.3.2

v2.3.1

26 Feb 14:49
2c38403

Choose a tag to compare

Fixed

  • mage open admin

Full Changelog: 2.3.0...2.3.1