github google/jsonnet v0.15.0

latest releases: v0.20.0, v0.19.1, v0.19.0...
4 years ago

Language

  • New stdlib functions:
    • std.member
    • std.clamp
    • std.stripChars, std.lstripChars, std.stripChars
    • std.flatMap
    • std.repeat

Interpreter (Go)

Runtime

  • Greatly improved performance of multiple stdlib functions:
    • std.reverse
    • std.substr
    • std.base64, std.base64Decode, std.base64DecodeBytes
  • Adaptive string representation - naively joining many short
    strings using operator + is now a linear operation.
  • Fixed incorrect handling of overflow in bitwise operators.
  • Tests should now pass on x86 and ARM.
  • Unary + no longer allowed on objects.

API

  • Fully compatible, experimental Python API is now available.
  • Import cache is now preserved across evaluations, which
    improves performance when evaluating multiple files, which
    use the same libraries or when evaluating the same file with
    different TLAVars. Note that changing ExtVars still clears
    the cache, because they potentially affect every import.
  • New public functions jsonnet.ResolveImport and
    jsonnet.ImportData for easier integration of tooling
    with importers.
  • New public function toolutils.Children for easier traversing
    of AST.
  • AST contains comments now, which allow building code transformation
    tooling.

Interpreter (C++)

  • Fixed incorrect error message, when too few arguments are provided
    for string formatting.
  • Fixed a dangling pointer, which could have potentially caused crashes.

Don't miss a new jsonnet release

NewReleases is sending notifications on new releases.