json_schemer breaking changes
json_schemer 2.0.0 (August 20, 2023) is its newest release with breaking changes, 10 of them. The first: schema_pointer in error output is no longer percent encoded in json_schemer 2.0.0. Every breaking API change we have recorded in json_schemer on RubyGems: 16 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.5.0. Source repository
Its 1.0.0 release drops Ruby 2.4. Ruby end of life dates.
json_schemer 2.0.0 breaking changes
- Behavior changed
Special characters in schema_pointer appear unencoded, so code parsing these pointers may need changes. github.com - Behavior changed
Schemas use json-schemer://schema as the default base URI, so relative $id and $ref values become absolute. Ref resolvers must handle these URIs. github.com - Behavior changed
Code that depends on the order of returned errors may need to be updated. github.com - Behavior changed
after_property_validation
The hook now runs immediately after properties validation instead of after all object validations. github.com - Behavior changed
before_property_validation
The hook now runs immediately before properties validation instead of before all object validations. github.com - Behavior changed
dependencies
Array dependencies errors report type dependencies instead of required and point to the schema containing the dependencies keyword. github.com - Behavior changed
insert_property_defaults
Defaults are inserted in conditional subschemas when there is a single default or a single unique default from a valid subtree. github.com - Behavior changed
keywords
Custom keyword errors are always returned as regular error hashes, and returned strings now set the type field instead of being returned directly. github.com - Behavior changed
not
Errors for not now point to the schema that contains the not keyword instead of the schema defined by it. github.com - Default changed
meta_schema
Schemas without an explicit meta schema now validate against Draft 2020-12. Set meta_schema to keep another draft. github.com
json_schemer 1.0.0 breaking changes
- Removed
Ruby 2.4 is no longer supported, so upgrade the Ruby runtime before using this version. github.com - Behavior changed
Refs with special characters in fragment-only JSON pointers must use proper percent-encoding, for example %7Bid%7D for braces. github.com - Behavior changed
Subschemas referenced by $id are now only found under known keywords such as definitions, not anywhere in the schema. github.com - Behavior changed
ref_resolver
Empty fragments are stripped from $ref URIs before ref_resolver is called, so custom resolvers receive different URIs. github.com - Behavior changed
regexp_resolver
When regexp_resolver is set to ecma, invalid ECMA-262 regular expressions raise JSONSchemer::InvalidEcmaRegexp. github.com - Default changed
regexp_resolver
Patterns are now passed directly to Ruby's Regexp by default instead of being rewritten to ECMA-262 behavior. Set regexp_resolver to ecma to keep the old behavior. github.com
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.