---
title: "schemars 1.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each schemars release removed, renamed or changed: 135 breaking changes in 16 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/schemars
last_updated: 2026-12-04
---

# schemars breaking changes

schemars 1.0.0 (June 23, 2025) is its newest release with breaking changes, 27 of them. The first: Removed arrayvec05. Every breaking API change we have recorded in schemars on crates.io: 135 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.3`, released October 12, 2026. [Source repository](https://github.com/GREsau/schemars)

Its 0.8.0 release requires Rust 1.36.0 or later. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.9.0](#v-0-9-0) to [1.0.0](#v-1-0-0): 90 breaking changes in 14 versions.
- From [0.8.0](#v-0-8-0) to [1.0.0](#v-1-0-0): 126 breaking changes in 15 versions.

## schemars 1.0.0 breaking changes

schemars 1.0.0, released June 23, 2025: 27 breaking changes.

- **Removed** `arrayvec05`  

The arrayvec05 feature no longer exists in 1.0. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `bigdecimal03`  

The bigdecimal03 feature no longer exists in 1.0. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `enumset`  

These optional dependency features no longer exist in 1.0. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `indexmap`  

The indexmap feature no longer exists in 1.0. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `RootSchema`  

Functions that returned RootSchema now return Schema. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `schemars::generate::SchemaSettings::include_type_name`  

schemars::generate::SchemaSettings::include_type_name was removed in schemars 1.0.0 [crates.io](https://crates.io/crates/schemars/1.0.0)
- **Removed** `schemars.schema`  

All other types in the schemars::schema module are removed. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `uuid08`  

The uuid08 feature no longer exists in 1.0. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `validate`  

For the old format behaviour, use schemars(extend("format = "phone")) instead. [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `visit_schema_object`  

The visit_schema_object and visit_root_schema methods and functions are removed. [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `bytes`  

Optional bytes dependency renamed to bytes1 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `chrono`  

Optional chrono dependency renamed to chrono04 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `either`  

Optional either dependency renamed to either1 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `GenVisitor`  

GenVisitor renamed to GenTransform in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `rust_decimal`  

Optional rust_decimal dependency renamed to rust_decimal1 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `SchemaGenerator.visitors_mut`  

SchemaGenerator::visitors_mut renamed to transforms_mut in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `schemars.schema.Schema`  

Schema is now a wrapper around serde_json::Value, available as schemars::Schema. [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `SchemaSettings.visitors`  

SchemaSettings::visitors renamed to transforms in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `SchemaSettings.with_visitor`  

SchemaSettings::with_visitor renamed to with_transform in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `semver`  

Optional semver dependency renamed to semver1 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `smallvec`  

Optional smallvec dependency renamed to smallvec1 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `smol_str`  

Optional smol_str dependency renamed with version suffix in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `url`  

Optional url dependency renamed to url2 in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `visit.visit_schema`  

visit::visit_schema renamed to transform_subschemas in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `visit.Visitor`  

The visit module and Visitor trait are replaced by transform and Transform. [graham.cool](https://graham.cool/schemars/migrating/)
- **Renamed** `Visitor.visit_schema`  

Visitor::visit_schema renamed to Transform::transform in schemars 1.0.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Signature changed** `validate`  

Use regex(path = ...) for validate and regex(pattern = ...) or pattern(...) for schemars. [graham.cool](https://graham.cool/schemars/migrating/)

## schemars 1.0.0-rc.2 breaking changes

schemars 1.0.0-rc.2, released June 23, 2025: 3 breaking changes.

- **Removed** `gen`  

The gen module is removed; its items are no longer available. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-rc.2)
- **Removed** `schemars::generate::SchemaSettings::option_add_null_type`  

The option_add_null_type field is removed; remove it from SchemaSettings usage. [crates.io](https://crates.io/crates/schemars/1.0.0)
- **Removed** `schemars::generate::SchemaSettings::option_nullable`  

The option_nullable field is removed; remove it from SchemaSettings usage. [crates.io](https://crates.io/crates/schemars/1.0.0)

## schemars 1.0.0-rc.1 breaking changes

schemars 1.0.0-rc.1, released June 23, 2025: 1 breaking change.

- **Behavior changed**  

Serialized mixed-type sequences produce a oneOf schema instead of true (any value). [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-rc.1)

## schemars 1.0.0-alpha.21 breaking changes

schemars 1.0.0-alpha.21, released June 23, 2025: 2 breaking changes.

- **Behavior changed**  

Recursive references to the root schema type now use "$ref": "#" instead of duplicating the schema in definitions. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.21)
- **Behavior changed** `JsonSchema.schema_name`  

Type parameters are removed from the default schema_name; include them via a rename attribute if needed. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.21)

## schemars 1.0.0-alpha.20 breaking changes

schemars 1.0.0-alpha.20, released June 23, 2025: 2 breaking changes.

- **Behavior changed** `BTreeMap`  

BTreeMap\<K,V> needs both K and V to implement JsonSchema. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.20)
- **Behavior changed** `HashMap`  

HashMap\<K,V> needs both K and V to implement JsonSchema. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.20)

## schemars 1.0.0-alpha.19 breaking changes

schemars 1.0.0-alpha.19, released June 23, 2025: 2 breaking changes.

- **Behavior changed**  

A single leading space is trimmed from rust doc comments when they populate a schema description. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.19)
- **Behavior changed** `with`  

Previously ignored invalid with or serialize_with attributes now stop the build, so they must be corrected. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.19)

## Older versions

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

### schemars 1.0.0-alpha.18 breaking changes

schemars 1.0.0-alpha.18, released June 23, 2025: 7 breaking changes.

- **Removed** `schemars::JsonSchema::always_inline_schema`  

Implementations and calls must use inline_schema() instead of always_inline_schema(). [crates.io](https://crates.io/crates/schemars/1.0.0)
- **Behavior changed**  

Code must be built with Rust 1.74 or later. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.18)

And 5 more in this version.

### schemars 1.0.0-alpha.17 breaking changes

schemars 1.0.0-alpha.17, released June 23, 2025: 1 breaking change.

- **Behavior changed**  

Generated schemas for newtype variants now use $ref to the inner type's schema instead of inlining it. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.17)

### schemars 1.0.0-alpha.16 breaking changes

schemars 1.0.0-alpha.16, released June 23, 2025: 3 breaking changes.

- **Removed** `enumset`  

The enumset1/enumset feature is gone because its schema did not match EnumSet's serialization. Code relying on that feature must stop enabling it. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.16)
- **Behavior changed**  

Code must be built with Rust 1.70 or later. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.16)

And 1 more in this version.

### schemars 1.0.0-alpha.15 breaking changes

schemars 1.0.0-alpha.15, released June 23, 2025: 1 breaking change.

- **Behavior changed**  

Schemas for enums with no variants now generate false instead of an empty enum array. Code that inspects these schemas must handle the new form. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.15)

### schemars 1.0.0-alpha.12 breaking changes

schemars 1.0.0-alpha.12, released June 23, 2025: 3 breaking changes.

- **Removed** `validate`  

The phone attribute was removed from validation attribute parsing. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.12)
- **Behavior changed**  

Attributes that were previously silently ignored, such as schema_with on structs, now fail compilation. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.12)

And 1 more in this version.

### schemars 1.0.0-alpha.11 breaking changes

schemars 1.0.0-alpha.11, released June 23, 2025: 1 breaking change.

- **Behavior changed**  

MSRV is now 1.65. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.11)

### schemars 1.0.0-alpha.3 breaking changes

schemars 1.0.0-alpha.3, released June 23, 2025: 7 breaking changes.

- **Renamed** `GenVisitor`  

GenVisitor is now GenTransform. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.3)
- **Renamed** `SchemaGenerator.visitors_mut`  

visitors_mut is now transforms_mut. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.3)

And 5 more in this version.

### schemars 1.0.0-alpha.1 breaking changes

schemars 1.0.0-alpha.1, released June 23, 2025: 30 breaking changes.

- **Removed** `arrayvec05`  

arrayvec05 removed; use arrayvec07. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.1)
- **Removed** `bigdecimal03`  

bigdecimal03 removed; use bigdecimal04. [github.com](https://github.com/GREsau/schemars/releases/tag/v1.0.0-alpha.1)

And 28 more in this version.

### schemars 0.9.0 breaking changes

schemars 0.9.0, released May 26, 2025: 36 breaking changes.

- **Removed** `arrayvec05`  

arrayvec05 optional dependency removed in schemars 0.9.0 [graham.cool](https://graham.cool/schemars/migrating/)
- **Removed** `bigdecimal03`  

bigdecimal03 optional dependency removed in schemars 0.9.0 [graham.cool](https://graham.cool/schemars/migrating/)

And 34 more in this version.

### schemars 0.8.0 breaking changes

schemars 0.8.0, released September 27, 2020: 9 breaking changes.

- **Removed** `schemars::gen::BoolSchemas`  

schemars::gen::BoolSchemas was removed in schemars 0.8.0 [crates.io](https://crates.io/crates/schemars/0.8.0)
- **Removed** `schemars::gen::SchemaGenerator::into_definitions`  

Use take_definitions instead, which does not consume the generator. [crates.io](https://crates.io/crates/schemars/0.8.0)

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