Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@shs96c shs96c released this 06 Dec 16:53
· 1 commit to main since this release
47dc75d

Pkl Rules

Pkl is an embeddable configuration language with rich support for data templating and
validation. It can be used from the command line, integrated in a build pipeline, or embedded in a
program. Pkl scales from small to large, simple to complex, ad-hoc to repetitive configuration
tasks.

For further information about Pkl, check out the official Pkl documentation.

Quick Start

Setup

To use rules_pkl, enable bzlmod within your project, and then add the following to your MODULE.bazel:

# Please check the releases page on GitHub for the latest released version
bazel_dep(name = "rules_pkl", version = "0.2.0")

Examples

See the examples/ directory for complete examples of how to use rules_pkl.

Ruleset Docs

For further information on the rules provided, check out the rules_pkl documentation.

What's Changed

  • Add Pkl 0.27.0 and make it the default version by @KushalP in #25
  • Extract how we produce cache directories and inputs to a helper by @KushalP in #6
  • Change outs from string_list to output_list by @KushalP in #10
  • Stop using org.pkl-lang:pkl-cli-java, use org.pkl-lang:pkl-tools instead by @KushalP in #14
  • Update mnemonic in use for pkl_eval to PklEval by @KushalP in #20
  • feat: add pkl_package rule by @francine-blanc in #16
  • Fix empty output by @srueg in #22
  • Use pkl-tools instead of pkl-doc to drive org.pkl.doc.Main by @KushalP in #27
  • Make the pkl toolchain type public so people can declare their own toolchains by @shs96c in #28
  • Add Pkl codegen related macros by @shs96c in #30
  • Fixes to get rules_pkl to pass for larger projects by @shs96c in #31

New Contributors

Full Changelog: v0.1.0...v0.2.0