Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Feb 09:48
· 284 commits to main since this release

Changelog

We're super excited to announce Reward 0.4.0!

We're super excited to announce Reward 0.4.0!

Major changes

This release is a major milestone for the project, and we're proud to share it with you.
The project was rewritten from scratch so this release can contain unexpected bugs and breaking changes.

Added

  • Add reward info command to show information about the current Reward configuration
  • Add plugin install support
  • Add support for GITHUB_TOKEN environment variable used for GitHub API requests.

Changed

  • Fix linting issues, minor bugs, and improve documentation
  • Bootstrap functions are revamped to be more modular
  • Use GitHub API to self-update and plugin install

Changed

  • Add new versions for Elasticsearch, OpenSearch, MariaDB, Redis
  • Enable ARM build for Windows
  • Rename module from reward to github.com/rewardenv/reward
  • Move main.go to cmd/reward
  • Enable a bunch of linters and fix all the issues.
  • Extract util to a separate package.

Added

  • Introducing a new plugin system. You can now write your own plugins and use them with Reward. For more
    information, see the sample plugin repository.
  • Introducing a new feature called shortcuts. You can define your own shortcuts to automate Reward commands.
  • Add support for bootstrapping Shopware.
  • Allow self-updating to pre-released versions. Use reward self-update --prerelease to update to the latest
    pre-release version.
  • You can now specify the exact version of Composer using COMPOSER_VERSION=2.4.4 in your .env file. Or you can use
    COMPOSER_VERSION=2 to always use the latest version.

Changed

  • Some varying command line flags are now only shown for the relevant environment types. For example for
    the bootstrap command the --magento-type flag is only available when the environment type is magento.
  • Requirements (docker API access, version requirements, etc.) are now checked before running any command instead of
    only running before specific commands.
  • Default Magento version is now v2.4.5-p1.
  • Default Node version is now 16 globally. You can change it by setting NODE_VERSION in your .env file.
  • During self-update now using GitHub API to fetch the latest release instead of GitHub releases page.

Removed

  • REWARD_MUTAGEN_ENABLED option is removed. Use REWARD_SYNC_ENABLED instead.
  • REWARD_WSL2_DIRECT_MOUNT option is removed. Use REWARD_SYNC_ENABLED=false instead.
  • Instead of using 1 and 0 for enabling and disabling options, use true and false everywhere.