---
title: "jsonnet 0.21.0 Breaking Changes on vcpkg | Since.dev"
description: "What each jsonnet release removed, renamed or changed: 15 breaking changes in 8 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/jsonnet
last_updated: 2026-12-04
---

# jsonnet breaking changes

jsonnet 0.21.0 is its newest release with breaking changes, 2 of them. The first: Bazel build moved to MODULE.bazel and the WORKSPACE file was removed in jsonnet 0.21.0. Every breaking API change we have recorded in jsonnet on vcpkg: 15 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2019-05-08-1`. [Source repository](https://github.com/google/jsonnet)

- From [0.14.0](#v-0-14-0) to [0.21.0](#v-0-21-0): 11 breaking changes in 7 versions.

## jsonnet 0.21.0 breaking changes

jsonnet 0.21.0: 2 breaking changes.

- **Removed**  

Projects that build jsonnet with Bazel through a WORKSPACE file must switch to bzlmod using MODULE.bazel. [github.com](https://github.com/google/jsonnet/releases/tag/v0.21.0)
- **Behavior changed**  

Bitwise operations and arithmetic shifts are limited to integers from -2^53 to 2^53, so code that relies on larger values will now fail. Keep operands within that range. [github.com](https://github.com/google/jsonnet/releases/tag/v0.21.0)

## jsonnet 0.19.1 breaking changes

jsonnet 0.19.1: 1 breaking change.

- **Behavior changed** `_jsonnet`  

Python import callbacks must provide file content as bytes; call .encode() on str content to convert it. [github.com](https://github.com/google/jsonnet/releases/tag/v0.19.1)

## jsonnet 0.19.0 breaking changes

jsonnet 0.19.0: 2 breaking changes.

- **Removed**  

The emscripten build rules are gone, so builds that depended on them must change. [github.com](https://github.com/google/jsonnet/releases/tag/v0.19.0)
- **Signature changed**  

Import callbacks must now return arbitrary binary data, so code built against libjsonnet.h that uses import callbacks needs a small adjustment. [github.com](https://github.com/google/jsonnet/releases/tag/v0.19.0)

## jsonnet 0.18.0 breaking changes

jsonnet 0.18.0: 1 breaking change.

- **Behavior changed**  

The formatter removes extra blank lines after a comment at the end of a file, so formatted output differs from before. Expect changes if your tooling checks formatting output. [github.com](https://github.com/google/jsonnet/releases/tag/v0.18.0)

## jsonnet 0.17.0 breaking changes

jsonnet 0.17.0: 2 breaking changes.

- **Behavior changed**  

A bitshift by a negative amount is now an error instead of inconsistent behavior. Code that shifts by negative values must be changed. [github.com](https://github.com/google/jsonnet/releases/tag/v0.17.0)
- **Behavior changed**  

Fake names given for ad hoc snippets or external variables are no longer treated as file paths. Code relying on that path handling may behave differently. [github.com](https://github.com/google/jsonnet/releases/tag/v0.17.0)

## jsonnet 0.16.0 breaking changes

jsonnet 0.16.0: 1 breaking change.

- **Behavior changed**  

Shifting with << or >> by a negative exponent now fails with a runtime error in the C++ interpreter. Code that shifts by negative amounts must be fixed. [github.com](https://github.com/google/jsonnet/releases/tag/v0.16.0)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### jsonnet 0.15.0 breaking changes

jsonnet 0.15.0: 2 breaking changes.

- **Behavior changed**  

Applying unary + to an object is no longer allowed in the Go interpreter. Code that uses unary + on objects must be changed. [github.com](https://github.com/google/jsonnet/releases/tag/v0.15.0)
- **Behavior changed**  

The import cache is kept between evaluations, so code that expects imports to be re-read on each evaluation may see cached results. Changing ExtVars still clears the cache. [github.com](https://github.com/google/jsonnet/releases/tag/v0.15.0)

### jsonnet 0.14.0 breaking changes

jsonnet 0.14.0: 4 breaking changes.

- **Removed**  

Some public APIs in the Go interpreter were removed; code relying on them must stop using them. The release notes ask users to open an issue if their code broke. [github.com](https://github.com/google/jsonnet/releases/tag/v0.14.0)
- **Behavior changed**  

Each object field is cached and evaluated once per object, which can change results for fields with side effects or non-deterministic behavior. [github.com](https://github.com/google/jsonnet/releases/tag/v0.14.0)

And 2 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
