schemars breaking changes
Updated December 4, 2026
On this page
Latest version 1.2.3, released October 12, 2026. Source repository
Its 0.8.0 release requires Rust 1.36.0 or later. Rust end of life dates.
- From 0.9.0 to 1.0.0: 90 breaking changes in 14 versions.
- From 0.8.0 to 1.0.0: 126 breaking changes in 15 versions.
schemars 1.0.0 breaking changes
- Removed
arrayvec05
The arrayvec05 feature no longer exists in 1.0. graham.cool - Removed
bigdecimal03
The bigdecimal03 feature no longer exists in 1.0. graham.cool - Removed
enumset
These optional dependency features no longer exist in 1.0. graham.cool - Removed
indexmap
The indexmap feature no longer exists in 1.0. graham.cool - Removed
RootSchema
Functions that returned RootSchema now return Schema. graham.cool - Removed
schemars::generate::SchemaSettings::include_type_name
schemars::generate::SchemaSettings::include_type_name was removed in schemars 1.0.0 crates.io - Removed
schemars.schema
All other types in the schemars::schema module are removed. graham.cool - Removed
uuid08
The uuid08 feature no longer exists in 1.0. graham.cool - Removed
validate
For the old format behaviour, use schemars(extend("format = "phone")) instead. graham.cool - Removed
visit_schema_object
The visit_schema_object and visit_root_schema methods and functions are removed. graham.cool - Renamed
bytes
Optional bytes dependency renamed to bytes1 in schemars 1.0.0 graham.cool - Renamed
chrono
Optional chrono dependency renamed to chrono04 in schemars 1.0.0 graham.cool - Renamed
either
Optional either dependency renamed to either1 in schemars 1.0.0 graham.cool - Renamed
GenVisitor
GenVisitor renamed to GenTransform in schemars 1.0.0 graham.cool - Renamed
rust_decimal
Optional rust_decimal dependency renamed to rust_decimal1 in schemars 1.0.0 graham.cool - Renamed
SchemaGenerator.visitors_mut
SchemaGenerator::visitors_mut renamed to transforms_mut in schemars 1.0.0 graham.cool - Renamed
schemars.schema.Schema
Schema is now a wrapper around serde_json::Value, available as schemars::Schema. graham.cool - Renamed
SchemaSettings.visitors
SchemaSettings::visitors renamed to transforms in schemars 1.0.0 graham.cool - Renamed
SchemaSettings.with_visitor
SchemaSettings::with_visitor renamed to with_transform in schemars 1.0.0 graham.cool - Renamed
semver
Optional semver dependency renamed to semver1 in schemars 1.0.0 graham.cool - Renamed
smallvec
Optional smallvec dependency renamed to smallvec1 in schemars 1.0.0 graham.cool - Renamed
smol_str
Optional smol_str dependency renamed with version suffix in schemars 1.0.0 graham.cool - Renamed
url
Optional url dependency renamed to url2 in schemars 1.0.0 graham.cool - Renamed
visit.visit_schema
visit::visit_schema renamed to transform_subschemas in schemars 1.0.0 graham.cool - Renamed
visit.Visitor
The visit module and Visitor trait are replaced by transform and Transform. graham.cool - Renamed
Visitor.visit_schema
Visitor::visit_schema renamed to Transform::transform in schemars 1.0.0 graham.cool - Signature changed
validate
Use regex(path = ...) for validate and regex(pattern = ...) or pattern(...) for schemars. graham.cool
schemars 1.0.0-rc.2 breaking changes
- Removed
gen
The gen module is removed; its items are no longer available. github.com - Removed
schemars::generate::SchemaSettings::option_add_null_type
The option_add_null_type field is removed; remove it from SchemaSettings usage. crates.io - Removed
schemars::generate::SchemaSettings::option_nullable
The option_nullable field is removed; remove it from SchemaSettings usage. crates.io
schemars 1.0.0-rc.1 breaking changes
- Behavior changed
Serialized mixed-type sequences produce a oneOf schema instead of true (any value). github.com
schemars 1.0.0-alpha.21 breaking changes
- Behavior changed
Recursive references to the root schema type now use "$ref": "#" instead of duplicating the schema in definitions. github.com - Behavior changed
JsonSchema.schema_name
Type parameters are removed from the default schema_name; include them via a rename attribute if needed. github.com
schemars 1.0.0-alpha.20 breaking changes
- Behavior changed
BTreeMap
BTreeMap<K,V> needs both K and V to implement JsonSchema. github.com - Behavior changed
HashMap
HashMap<K,V> needs both K and V to implement JsonSchema. github.com
schemars 1.0.0-alpha.19 breaking changes
- Behavior changed
A single leading space is trimmed from rust doc comments when they populate a schema description. github.com - Behavior changed
with
Previously ignored invalid with or serialize_with attributes now stop the build, so they must be corrected. github.com
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
schemars 1.0.0-alpha.18 breaking changes
- Removed
schemars::JsonSchema::always_inline_schema
Implementations and calls must use inline_schema() instead of always_inline_schema(). crates.io - Behavior changed
Code must be built with Rust 1.74 or later. github.com
And 5 more in this version.
schemars 1.0.0-alpha.17 breaking changes
- Behavior changed
Generated schemas for newtype variants now use $ref to the inner type's schema instead of inlining it. github.com
schemars 1.0.0-alpha.16 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 - Behavior changed
Code must be built with Rust 1.70 or later. github.com
And 1 more in this version.
schemars 1.0.0-alpha.15 breaking changes
- 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
schemars 1.0.0-alpha.12 breaking changes
- Removed
validate
The phone attribute was removed from validation attribute parsing. github.com - Behavior changed
Attributes that were previously silently ignored, such as schema_with on structs, now fail compilation. github.com
And 1 more in this version.
schemars 1.0.0-alpha.11 breaking changes
- Behavior changed
MSRV is now 1.65. github.com
schemars 1.0.0-alpha.3 breaking changes
- Renamed
GenVisitor
GenVisitor is now GenTransform. github.com - Renamed
SchemaGenerator.visitors_mut
visitors_mut is now transforms_mut. github.com
And 5 more in this version.
schemars 1.0.0-alpha.1 breaking changes
- Removed
arrayvec05
arrayvec05 removed; use arrayvec07. github.com - Removed
bigdecimal03
bigdecimal03 removed; use bigdecimal04. github.com
And 28 more in this version.
schemars 0.9.0 breaking changes
- Removed
arrayvec05
arrayvec05 optional dependency removed in schemars 0.9.0 graham.cool - Removed
bigdecimal03
bigdecimal03 optional dependency removed in schemars 0.9.0 graham.cool
And 34 more in this version.
schemars 0.8.0 breaking changes
- Removed
schemars::gen::BoolSchemas
schemars::gen::BoolSchemas was removed in schemars 0.8.0 crates.io - Removed
schemars::gen::SchemaGenerator::into_definitions
Use take_definitions instead, which does not consume the generator. crates.io
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, 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.