gleam_json breaking changes
gleam_json 3.0.0 (May 13, 2025) is its newest release with breaking changes, 3 of them. The first: Removed json.decode. Every breaking API change we have recorded in gleam_json on Hex: 10 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.1.0, released November 8, 2025. Apache-2.0 license. Source repository
- From 2.0.0 to 3.0.0: 3 breaking changes in 1 version.
- From 0.2.0 to 3.0.0: 7 breaking changes in 3 versions.
gleam_json 3.0.0 breaking changes
- Removed
json.decode
The decode and decode_bits functions were removed because they relied on the deprecated gleam/dynamic API. Code calling them must be rewritten. github.com - Removed
json.decode_bits
The decode and decode_bits functions were removed because they relied on the deprecated gleam/dynamic API. Code calling them must be rewritten. github.com - Removed
json.UnexpectedFormat
The UnexpectedFormat variant was removed because it relied on the deprecated gleam/dynamic API. Code matching on it must be updated. github.com
gleam_json 2.0.0 breaking changes
- Configuration changed
The package now uses the built-in Erlang JSON library instead of Thoas, so it needs Erlang/OTP 27.0 or higher. Users on older Erlang/OTP versions must upgrade. github.com - Signature changed
UnexpectedByte
The UnexpectedByte error variant's arguments are no longer labelled, so code that uses those labels must be updated to positional patterns. github.com - Signature changed
UnexpectedSequence
The UnexpectedSequence error variant's arguments are no longer labelled, so code that uses those labels must be updated to positional patterns. github.com
gleam_json 0.3.0 breaking changes
- Signature changed
decode
The decode function's argument is now a gleam/dynamic.Decoder. Code that passes the old argument must be updated to supply a Decoder. github.com
gleam_json 0.2.0 breaking changes
- Removed
encode
The encode function was removed. Use to_string or to_string_builder instead. github.com - Removed
list
The list function was removed. Use array or preprocessed_array instead. github.com - Signature changed
nullable
The nullable function now has argument labels. Check existing calls that depend on the previous signature. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.