Commit 52bd4e6
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` |

|

|
---
> [!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
([#​866](https://redirect.github.com/google/go-jsonnet/issues/866))
- Publish pre-built Python wheels (binary packages) for Linux aarch64
(ARM)
([#​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>)
([#​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`.
([#​819](https://redirect.github.com/google/go-jsonnet/issues/819),
[#​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
([#​848](https://redirect.github.com/google/go-jsonnet/issues/848),
[#​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`)
([#​760](https://redirect.github.com/google/go-jsonnet/issues/760))
- New function `std.isNull`
([#​806](https://redirect.github.com/google/go-jsonnet/issues/806))
- Bitwise operation arguments are now limited to the "safe-integer"
range
([#​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
([#​819](https://redirect.github.com/google/go-jsonnet/issues/819),
[#​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
([#​863](https://redirect.github.com/google/go-jsonnet/issues/863))
- API: `FindDependencies` can now optionally follow symlinks
([#​730](https://redirect.github.com/google/go-jsonnet/issues/730))
- Restrict file writes to the specified output directory for --multi
([#​850](https://redirect.github.com/google/go-jsonnet/pull/850))
- Bug fixes
- The index expression of a `super[e]` access
([#​849](https://redirect.github.com/google/go-jsonnet/issues/849))
- Function `std.objectRemoveKey` has been re-implemented to fix several
bugs and unexpected behaviours
([#​837](https://redirect.github.com/google/go-jsonnet/issues/837))
- Missing trailing newline when using both --multi and --string options
([#​819](https://redirect.github.com/google/go-jsonnet/pull/819))
- Fix implicit-to-explicit-plus conversion in jsonnetfmt
([#​853](https://redirect.github.com/google/go-jsonnet/pull/853))
- Improve handling of YAML document streams in std.parseYaml
([#​862](https://redirect.github.com/google/go-jsonnet/pull/862))
- Unchecked error in std.manifestYamlDoc().
([#​800](https://redirect.github.com/google/go-jsonnet/pull/800))
- Cache the error too in importAST().
([#​823](https://redirect.github.com/google/go-jsonnet/pull/823))
- Do not mutate std.removeAt parameters
([#​812](https://redirect.github.com/google/go-jsonnet/pull/812))
- Handle negative range by returning an empty array
([#​839](https://redirect.github.com/google/go-jsonnet/pull/839))
- Return null if parseYaml does not yield any result
([#​841](https://redirect.github.com/google/go-jsonnet/pull/841))
- Linter: Support std.clamp function
([#​840](https://redirect.github.com/google/go-jsonnet/pull/840))
- Linter: add optional parameters to std.manifestJsonEx in
([#​842](https://redirect.github.com/google/go-jsonnet/pull/842))
- Linter: Optimize runtime complexity when passing in multiple snippets
([#​725](https://redirect.github.com/google/go-jsonnet/pull/725))
- Build systems, testing, CI, internal
- chore: fix bazel example by
[@​y1hao](https://redirect.github.com/y1hao) in
[#​820](https://redirect.github.com/google/go-jsonnet/pull/820)
- Make CI build the bazel example with multiple Bazel versions
([#​832](https://redirect.github.com/google/go-jsonnet/pull/832))
- Remove Go Releaser archive naming overrides
([#​848](https://redirect.github.com/google/go-jsonnet/pull/848))
Full commit history:
<google/go-jsonnet@v0.21.0...v0.22.0>
#### New Contributors
- [@​y1hao](https://redirect.github.com/y1hao) made their first
contribution in
[#​820](https://redirect.github.com/google/go-jsonnet/pull/820)
- [@​shrred26](https://redirect.github.com/shrred26) made their
first contribution in
[#​806](https://redirect.github.com/google/go-jsonnet/pull/806)
- [@​hofbi](https://redirect.github.com/hofbi) made their first
contribution in
[#​815](https://redirect.github.com/google/go-jsonnet/pull/815)
- [@​seizethedave](https://redirect.github.com/seizethedave) made
their first contribution in
[#​760](https://redirect.github.com/google/go-jsonnet/pull/760)
- [@​zarelit](https://redirect.github.com/zarelit) made their
first contribution in
[#​812](https://redirect.github.com/google/go-jsonnet/pull/812)
- [@​thequailman](https://redirect.github.com/thequailman) made
their first contribution in
[#​730](https://redirect.github.com/google/go-jsonnet/pull/730)
- [@​Sam-C](https://redirect.github.com/Sam-C) made their first
contribution in
[#​819](https://redirect.github.com/google/go-jsonnet/pull/819)
- [@​He-Pin](https://redirect.github.com/He-Pin) made their first
contribution in
[#​855](https://redirect.github.com/google/go-jsonnet/pull/855)
- [@​simu](https://redirect.github.com/simu) made their first
contribution in
[#​865](https://redirect.github.com/google/go-jsonnet/pull/865)
- [@​Flo354](https://redirect.github.com/Flo354) made their first
contribution in
[#​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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments