Skip to content

v1.23.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Mar 23:13
· 374 commits to master since this release

🚀 Updates

  • Added git: and npm: locators to the generator.templates setting in .moon/workspace.yml.
    • This allows templates to be packaged and managed outside of the workspace.
    • Locations will be cloned/downloaded on-demand.
  • Added an id setting to template.yml, so that templates can customize their name (instead of
    using the folder name).
  • Added a variables() function for templates that returns an object of all variables available.
  • Added new functionality for template variables in template.yml:
    • New order setting to control the order in which they are prompted for.
    • New internal setting that ignores values passed on the command line.
    • Updated enum default settings to support an array of values.
  • Added an internal task option, which marks tasks as internal only.
  • Updated task inheritance to support stack-based configuration, such as
    .moon/tasks/node-frontend.yml or .moon/tasks/bun-backend-application.yml.
  • Updated moon project and moon task to include the configuration files that tasks inherit from.
  • Updated moon task to include the modes it belongs to.

🐞 Fixes

  • Fixed an issue where a project's platform was being detected as node (when not enabled), and
    should have been bun. If you're using both bun and node in the same workspace, moon has a
    hard time detecting which should be used for what project. If you run into issues, explicitly set
    the platform in the project's moon.yml.
  • Fixed an issue where template files couldn't import/include/extends files from extended templates.
  • Fixed template enum variable default values being able to use a non-supported value.

⚙️ Internal

  • Configuration JSON schemas are now included within each GitHub release.
  • Updated proto to v0.32.1 (from v0.31.4).
  • Updated Rust to v1.77.