Skip to content

v0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Mar 13:28
· 3 commits to main since this release
v0.6.0
7e4c5dc

Update set of available CUE toolchain versions

Introduce version 0.8.0, establishing it as the new default, as well as making the prior version 0.7.1 available too. In order to keep the set of available toolchain versions manageable, remove version 0.5.0.

In order to accommodate new behavior in version 0.8.0, introduce the "output_package_name" attribute.

Per CUE CL 1177546, allow use of the CUE tool's broadened interpretation of the --package command-line flag, introducing the "output_package_name" attribute on the cue_consolidated_* and cue_exported_* macros to designate into which CUE package to generate CUE code, when the "output_format" attribute's value is "cue".

With this new "output_package_name" attribute available, deprecate the former "non_cue_file_package_name" attribute, intending to remove it entirely in a subsequent release.

Allow generating CUE code with the cue_exported_* macros.

Details

Using modules with Bazel 6 and later

  1. Enable support for modules in your .bazelrc file by adding the following line:
    common --enable_bzlmod
  2. Add the following directive to your MODULE.bazel file:
bazel_dep(name = "rules_cue", version = "0.6.0")

Full Changelog: v0.5.0...v0.6.0