---
title: "json_schemer 2.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each json_schemer release removed, renamed or changed: 16 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/json_schemer
last_updated: 2026-12-04
---

# 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

Latest version `2.5.0`. [Source repository](https://github.com/davishmcclurg/json%5Fschemer)

Its 1.0.0 release drops Ruby 2.4. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0](#v-2-0-0): 10 breaking changes in 1 version.

## json_schemer 2.0.0 breaking changes

json_schemer 2.0.0, released August 20, 2023: 10 breaking changes.

- **Behavior changed**  

Special characters in schema_pointer appear unencoded, so code parsing these pointers may need changes. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Code that depends on the order of returned errors may need to be updated. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `after_property_validation`  

The hook now runs immediately after properties validation instead of after all object validations. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `before_property_validation`  

The hook now runs immediately before properties validation instead of before all object validations. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `dependencies`  

Array dependencies errors report type dependencies instead of required and point to the schema containing the dependencies keyword. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/davishmcclurg/json%5Fschemer/blob/v2.0.0/CHANGELOG.md)

## json_schemer 1.0.0 breaking changes

json_schemer 1.0.0, released May 26, 2023: 6 breaking changes.

- **Removed**  

Ruby 2.4 is no longer supported, so upgrade the Ruby runtime before using this version. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Refs with special characters in fragment-only JSON pointers must use proper percent-encoding, for example %7Bid%7D for braces. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Subschemas referenced by $id are now only found under known keywords such as definitions, not anywhere in the schema. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `ref_resolver`  

Empty fragments are stripped from $ref URIs before ref_resolver is called, so custom resolvers receive different URIs. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `regexp_resolver`  

When regexp_resolver is set to ecma, invalid ECMA-262 regular expressions raise JSONSchemer::InvalidEcmaRegexp. [github.com](https://github.com/davishmcclurg/json%5Fschemer/blob/v1.0.0/CHANGELOG.md)
- **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](https://github.com/davishmcclurg/json%5Fschemer/blob/v1.0.0/CHANGELOG.md)

## 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.
