Skip to content

Commit 52bd4e6

Browse files
chore(deps): update module github.com/google/go-jsonnet/cmd/jsonnetfmt to v0.22.0 (main) (#15121)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/google/go-jsonnet/cmd/jsonnetfmt](https://redirect.github.com/google/go-jsonnet) | `v0.21.0` → `v0.22.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-jsonnet%2fcmd%2fjsonnetfmt/v0.22.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-jsonnet%2fcmd%2fjsonnetfmt/v0.21.0/v0.22.0?slim=true) | --- > [!WARNING] > Some dependencies could not be looked up. Check the warning logs for more information. --- ### Release Notes <details> <summary>google/go-jsonnet (github.com/google/go-jsonnet/cmd/jsonnetfmt)</summary> ### [`v0.22.0`](https://redirect.github.com/google/go-jsonnet/releases/tag/v0.22.0) [Compare Source](https://redirect.github.com/google/go-jsonnet/compare/v0.21.0...v0.22.0) The Python module can be found at <https://pypi.org/project/gojsonnet/0.22.0/> #### What's Changed (since v0.21.0) - Updates since Release Candidate 1 - Apply nesting depth limit when manifesting objects to TOML, YAML, or JSON ([#&#8203;866](https://redirect.github.com/google/go-jsonnet/issues/866)) - Publish pre-built Python wheels (binary packages) for Linux aarch64 (ARM) ([#&#8203;865](https://redirect.github.com/google/go-jsonnet/issues/865)) - Possibly breaking changes - Required Go version is increased to 1.24 (<https://go.dev/doc/devel/release#go1.24.0>) ([#&#8203;850](https://redirect.github.com/google/go-jsonnet/issues/850)) - When evaluating in `--multi` `--string` mode, output files now have an extra (trailing) newline added. If you do not want this, you can use `--no-trailing-newline`. ([#&#8203;819](https://redirect.github.com/google/go-jsonnet/issues/819), [#&#8203;843](https://redirect.github.com/google/go-jsonnet/issues/843)) - Output files in `--multi` mode are restricted to the specified output directory (and subdirectories) - Pre-built binary archive names have changed ([#&#8203;848](https://redirect.github.com/google/go-jsonnet/issues/848), [#&#8203;814](https://redirect.github.com/google/go-jsonnet/issues/814)) - Language changes, new features, etc - Numbers in Jsonnet code can now be written with underscore used to separate groups of digits (e.g., `1_500_000`) ([#&#8203;760](https://redirect.github.com/google/go-jsonnet/issues/760)) - New function `std.isNull` ([#&#8203;806](https://redirect.github.com/google/go-jsonnet/issues/806)) - Bitwise operation arguments are now limited to the "safe-integer" range ([#&#8203;859](https://redirect.github.com/google/go-jsonnet/pull/859)) - `jsonnet` CLI: New 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 API ([#&#8203;819](https://redirect.github.com/google/go-jsonnet/issues/819), [#&#8203;843](https://redirect.github.com/google/go-jsonnet/issues/843)) - `jsonnetfmt` CLI: Names of unclean files are printed to stdout when using `--test` or `--in-place` mode ([#&#8203;863](https://redirect.github.com/google/go-jsonnet/issues/863)) - API: `FindDependencies` can now optionally follow symlinks ([#&#8203;730](https://redirect.github.com/google/go-jsonnet/issues/730)) - Restrict file writes to the specified output directory for --multi ([#&#8203;850](https://redirect.github.com/google/go-jsonnet/pull/850)) - Bug fixes - The index expression of a `super[e]` access ([#&#8203;849](https://redirect.github.com/google/go-jsonnet/issues/849)) - Function `std.objectRemoveKey` has been re-implemented to fix several bugs and unexpected behaviours ([#&#8203;837](https://redirect.github.com/google/go-jsonnet/issues/837)) - Missing trailing newline when using both --multi and --string options ([#&#8203;819](https://redirect.github.com/google/go-jsonnet/pull/819)) - Fix implicit-to-explicit-plus conversion in jsonnetfmt ([#&#8203;853](https://redirect.github.com/google/go-jsonnet/pull/853)) - Improve handling of YAML document streams in std.parseYaml ([#&#8203;862](https://redirect.github.com/google/go-jsonnet/pull/862)) - Unchecked error in std.manifestYamlDoc(). ([#&#8203;800](https://redirect.github.com/google/go-jsonnet/pull/800)) - Cache the error too in importAST(). ([#&#8203;823](https://redirect.github.com/google/go-jsonnet/pull/823)) - Do not mutate std.removeAt parameters ([#&#8203;812](https://redirect.github.com/google/go-jsonnet/pull/812)) - Handle negative range by returning an empty array ([#&#8203;839](https://redirect.github.com/google/go-jsonnet/pull/839)) - Return null if parseYaml does not yield any result ([#&#8203;841](https://redirect.github.com/google/go-jsonnet/pull/841)) - Linter: Support std.clamp function ([#&#8203;840](https://redirect.github.com/google/go-jsonnet/pull/840)) - Linter: add optional parameters to std.manifestJsonEx in ([#&#8203;842](https://redirect.github.com/google/go-jsonnet/pull/842)) - Linter: Optimize runtime complexity when passing in multiple snippets ([#&#8203;725](https://redirect.github.com/google/go-jsonnet/pull/725)) - Build systems, testing, CI, internal - chore: fix bazel example by [@&#8203;y1hao](https://redirect.github.com/y1hao) in [#&#8203;820](https://redirect.github.com/google/go-jsonnet/pull/820) - Make CI build the bazel example with multiple Bazel versions ([#&#8203;832](https://redirect.github.com/google/go-jsonnet/pull/832)) - Remove Go Releaser archive naming overrides ([#&#8203;848](https://redirect.github.com/google/go-jsonnet/pull/848)) Full commit history: <google/go-jsonnet@v0.21.0...v0.22.0> #### New Contributors - [@&#8203;y1hao](https://redirect.github.com/y1hao) made their first contribution in [#&#8203;820](https://redirect.github.com/google/go-jsonnet/pull/820) - [@&#8203;shrred26](https://redirect.github.com/shrred26) made their first contribution in [#&#8203;806](https://redirect.github.com/google/go-jsonnet/pull/806) - [@&#8203;hofbi](https://redirect.github.com/hofbi) made their first contribution in [#&#8203;815](https://redirect.github.com/google/go-jsonnet/pull/815) - [@&#8203;seizethedave](https://redirect.github.com/seizethedave) made their first contribution in [#&#8203;760](https://redirect.github.com/google/go-jsonnet/pull/760) - [@&#8203;zarelit](https://redirect.github.com/zarelit) made their first contribution in [#&#8203;812](https://redirect.github.com/google/go-jsonnet/pull/812) - [@&#8203;thequailman](https://redirect.github.com/thequailman) made their first contribution in [#&#8203;730](https://redirect.github.com/google/go-jsonnet/pull/730) - [@&#8203;Sam-C](https://redirect.github.com/Sam-C) made their first contribution in [#&#8203;819](https://redirect.github.com/google/go-jsonnet/pull/819) - [@&#8203;He-Pin](https://redirect.github.com/He-Pin) made their first contribution in [#&#8203;855](https://redirect.github.com/google/go-jsonnet/pull/855) - [@&#8203;simu](https://redirect.github.com/simu) made their first contribution in [#&#8203;865](https://redirect.github.com/google/go-jsonnet/pull/865) - [@&#8203;Flo354](https://redirect.github.com/Flo354) made their first contribution in [#&#8203;866](https://redirect.github.com/google/go-jsonnet/pull/866) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- ## Need help? You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section. <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjcuMiIsInVwZGF0ZWRJblZlciI6IjQzLjEyNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5LXVwZGF0ZSIsInVwZGF0ZS1taW5vciJdfQ==--> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: this only updates the `jsonnetfmt` tool version in the build container and the referenced prebuilt build-image tag; behavior changes are limited to Jsonnet formatting in CI/dev workflows. > > **Overview** > Updates the build tooling to use `github.com/google/go-jsonnet/cmd/jsonnetfmt@v0.22.0` (from `v0.21.0`) in `mimir-build-image/Dockerfile`. > > Also bumps `LATEST_BUILD_IMAGE_TAG` in the `Makefile` so local/CI builds pull the corresponding newer `mimir-build-image`. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit f144681. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: mimir-github-bot[bot] <199097951+mimir-github-bot[bot]@users.noreply.github.com>
1 parent 38e980c commit 52bd4e6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ mimir-build-image/$(UPTODATE): mimir-build-image/*
224224
# All the boiler plate for building golang follows:
225225
SUDO := $(shell docker info >/dev/null 2>&1 || echo "sudo -E")
226226
BUILD_IN_CONTAINER ?= true
227-
LATEST_BUILD_IMAGE_TAG ?= pr15122-95d7f02149
227+
LATEST_BUILD_IMAGE_TAG ?= pr15121-df51bdd897
228228

229229
# TTY is parameterized to allow CI and scripts to run builds,
230230
# as it currently disallows TTY devices.

mimir-build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RUN GO111MODULE=on \
5454
go install github.com/monitoring-mixins/mixtool/cmd/mixtool@b97ae11 && \
5555
go install github.com/mikefarah/yq/v4@v4.53.2 && \
5656
go install github.com/google/go-jsonnet/cmd/jsonnet@v0.21.0 && \
57-
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@v0.21.0 && \
57+
go install github.com/google/go-jsonnet/cmd/jsonnetfmt@v0.22.0 && \
5858
go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.14.2 && \
5959
go install github.com/open-policy-agent/conftest@v0.68.2 && \
6060
go install github.com/uber-go/gopatch@v0.4.0 && \

0 commit comments

Comments
 (0)