Skip to content

Releases: apple/rules_pkl

v0.3.0

17 Dec 15:10
14eb5a5
Compare
Choose a tag to compare

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.3.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

  • feat: add to extra_flags & environment attributes to pkl_project rule by @asalah33 in #26
  • Replace runfiles based Python tests with Java tests by @KushalP in #41
  • buildifier: ignore .git and .ijwb directories by @KushalP in #42
  • Add Pkl 0.27.1 and make it the default version by @KushalP in #44
  • Update deps: aspect_bazel_lib (2.10.0), bazel_skylib_gazelle_plugin (1.7.1), buildifier_prebuilt (7.3.1), rules_bazel_integration_test (0.29.0) by @KushalP in #43
  • Update version number to 0.3.0 by @KushalP in #45

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

06 Dec 16:53
47dc75d
Compare
Choose a tag to compare

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

v0.1.0

24 Apr 14:40
35ba253
Compare
Choose a tag to compare

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.1.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.