chore(deps): update dependency google/jsonnet to v0.19.1 #8559
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.17.0
->v0.19.1
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
google/jsonnet
v0.19.1
Compare Source
The previous v0.19.0 release had a small change in the C bindings to allow
importbin
to function, but missing from the release notes was mention of the fact that the Python bindings had also changed in a similar way - to require the content of the file to be provided as abytes
type instead of astr
. To convert fromstr
tobytes
, simply call.encode()
on thestr
.In order to write Python code that works for both Jsonnet versions, the Jsonnet version is now provided as a field of the _jsonnet module, which allows writing code like the following:
This release also fixes an off-by-one truncation error in the import callback logic of the Python bindings introduced in the previous release. This was only noticeable if the imported file had no trailing \n, or if you were using
importbin
with a Python import callback.v0.19.0
Compare Source
Language
Tooling
In order to support importbin, it was necessary to change the C API for import callbacks so that
they can return arbitrary binary blobs (that can contain \0) as opposed to just strings. This
change is not binary compatible with previous versions of libjsonnet. If you build against
libjsonnet.h and you use import callbacks then you will have to make a small adjustment to your
code.
The emscripten build rules are now gone.
Fixed memory leak in libjsonnet++.cpp
Fixed lack of jsonnet_realloc in Go C bindings
There are many more native implementations of library functions on the Go side, resulting in better
performance for Jsonnet code calling those library functions.
Standard library
v0.18.0
Compare Source
WASM
Language
Tooling
Standard library
std.stripChars
std.objectGetOrDefault
andstd.objectGetOrDefaultAll
quote_keys
parameter forstd.manifestYamlDoc
std.manifestToml
std.manifestJsonMinified
std.parseYaml
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.