github google/jsonnet v0.22.0-rc1

pre-release22 hours ago

What's Changed

  • Language changes, new features, etc

    • Bitwise operation arguments are now limited to the "safe-integer" range (#1217, #1240)
    • Numbers in Jsonnet code can now be written with underscore used to separate groups of digits (e.g., 1_500_000) (#1160)
    • New function std.isNull (#1237)
    • RapidYAML updated to v0.10.0
    • Man pages are built automatically from the CLI --help output (#1206)
    • The jsonnetfmt CLI now prints the names of any input files that are changed or not cleanly formatted, when running in --test or --in-place modes (#1303)
    • The jsonnet CLI now knows a flag --no-trailing-newline - this disables the final newline that is normally included in the output of any Jsonnet evaluation. This option is also added to the Jsonnet API (see doc comments in libjsonnet.h, libjsonnet++.h) (#1283)
  • Bug fixes:

    • Function std.objectRemoveKey has been re-implemented to fix several bugs and unexpected behaviours (#1269)
    • Parser now has an explicit recursion depth limit.
    • Shift operations (<<, >>) implementation now avoids undefined behaviour.
    • Multiple bugs in std.parseYaml have been fixed (#1148, #1292, #1293)
    • Built-in functions now correctly respect named arguments (#385, #1299)
    • Built-in functions can now be passed to std.makeArray (if they are type-compatible) (#511, #1299)
    • std.flatMap now has better type checking of its arguments (#1226)
  • Build systems, testing, CI, internal:

    • CMake build configuration has been largely rewritten. It requires CMake 3.15 or greater.
    • The plain Makefile build has also be somewhat rewritten.
    • Bazel WORKSPACE config has been removed; bzlmod support is now required.
    • Publishing website updates is now easier, with a GitHub Actions workflow to rebuild the site whenever master is updated.
    • Pre-built Python binary wheels now use the Python Limited API and produce abi3 compatible wheels, improving compatibility with new Python versions (#1289)

Full commit history: v0.21.0...v0.22.0-rc1

New Contributors

Full Changelog: v0.21.0...v0.22.0-rc1

Don't miss a new jsonnet release

NewReleases is sending notifications on new releases.