---
title: "schematic 0.21.0 Breaking Changes on crates.io | Since.dev"
description: "What each schematic release removed, renamed or changed: 39 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/schematic
last_updated: 2026-12-04
---

# schematic breaking changes

schematic 0.21.0 (November 16, 2026) is its newest release with breaking changes, 39 of them. The first: Removed PartialConfig.finalize_nested. Every breaking API change we have recorded in schematic on crates.io: 39 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.21.3`, released November 24, 2026. [Source repository](https://github.com/moonrepo/schematic)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## schematic 0.21.0 breaking changes

schematic 0.21.0, released November 16, 2026: 39 breaking changes.

- **Removed** `PartialConfig.finalize_nested`  

The hidden finalize_nested method was removed. Hand-written partials implement finalize for their transforms. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed**  

An Option field is no longer listed in JSON Schema required, and TypeScript renders it as optional. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed**  

Kebab case of a variant like MacOS is now mac-o-s instead of mac-os, which changes stored or matched names. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed**  

RON sources now fail on anything after the value, as ron::from_str does, instead of ignoring it. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed** `Config`  

The derive now fails on #\[default\] on a Config enum variant. Use #\[setting(default)\] instead. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed** `ConfigError.Handler`  

A failing transform is now reported as ConfigError::TransformFailed rather than ConfigError::Handler. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed** `ConfigLoadResult.layers`  

Layers now begin with the default values and end with environment variables, so an index into layers shifts by one. Optional files that do not exist are left out. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed** `env.parse_bool`  

parse_bool now errors on unrecognized values instead of returning false, and treats an empty value as unset. It accepts 0, no, off, disable and disabled as false. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed** `is_secure_url`  

Plain HTTP is now only allowed when the host is localhost, 127.0.0.1 or \[::1\], so URLs that only mention localhost in their query are rejected. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Behavior changed** `PartialConfig.finalize`  

finalize now only runs transforms and finalizes nested configs. Load the partial with ConfigLoader::partial to get defaults and environment variables applied. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Signature changed** `ConfigError.InvalidDefaultValue`  

InvalidDefaultValue is now a struct variant with path and error fields, so existing tuple-style matches break. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Signature changed** `PartialConfig.default_values`  

default_values takes &self and the partial it applies to. Hand-written partials must add &self to their default_values. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Signature changed** `PartialConfig.env_values`  

env_values takes &self and the partial it applies to. Hand-written partials must add &self to their env_values. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Signature changed** `schematic::env::ignore_empty`  

The env helpers now require a FromStr error that implements Display. A type whose error is () no longer compiles. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::env::split_colon`  

Was fn split_colon\<T: FromStr>(var: String) -> ParseEnvResult\<Vec\<T>>; now fn split_colon\<T>(var: String) -> ParseEnvResult\<Vec\<T>> where T: FromStr, T::Err: Display,. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::env::split_comma`  

Was fn split_comma\<T: FromStr>(var: String) -> ParseEnvResult\<Vec\<T>>; now fn split_comma\<T>(var: String) -> ParseEnvResult\<Vec\<T>> where T: FromStr, T::Err: Display,. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::env::split_semicolon`  

Was fn split_semicolon\<T: FromStr>(var: String) -> ParseEnvResult\<Vec\<T>>; now fn split_semicolon\<T>(var: String) -> ParseEnvResult\<Vec\<T>> where T: FromStr, T::Err: Display,. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::env::split_space`  

Was fn split_space\<T: FromStr>(var: String) -> ParseEnvResult\<Vec\<T>>; now fn split_space\<T>(var: String) -> ParseEnvResult\<Vec\<T>> where T: FromStr, T::Err: Display,. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::merge::merge_btreemap`  

Was fn merge_btreemap\<K, V, C>(mut prev: BTreeMap\<K, V>, next: BTreeMap\<K, V>, \_: &C) -> MergeResult\<BTreeMap\<K, V>> where K: Eq + Hash + Ord,; now fn merge_btreemap\<K, V, C>(mut prev: BTreeMap\<K, V>, next: BTreeMap\<K, V>, \_: &C) ->... [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::merge::merge_btreeset`  

Was fn merge_btreeset\<T, C>(mut prev: BTreeSet\<T>, next: BTreeSet\<T>, \_: &C) -> MergeResult\<BTreeSet\<T>> where T: Eq + Hash + Ord,; now fn merge_btreeset\<T, C>(mut prev: BTreeSet\<T>, next: BTreeSet\<T>, \_: &C) -> MergeResult\<BTreeSet\<T>>... [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::merge::merge_hashmap`  

Direct calls may need the map's hasher named, such as HashMap::<\_, \_>::from_iter(..). [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::merge::merge_hashset`  

Direct calls may need the set's hasher named. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaGenerator::generate`  

Was fn generate\<P: AsRef\<Path>, O, R: SchemaRenderer\<O>>(&self, output_file: P, mut renderer: R) -> miette::Result<()>; now fn generate\<P: AsRef\<Path>, O, R: SchemaRenderer\<O>>(&self, output_file: P, renderer: R) -> miette::Result<()>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_array`  

Was fn render_array(&mut self, array: &ArrayType, schema: &Schema) -> RenderResult\<O>; now fn render_array(&mut self, \_array: &ArrayType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_boolean`  

Was fn render_boolean(&mut self, boolean: &BooleanType, schema: &Schema) -> RenderResult\<O>; now fn render_boolean(&mut self, \_boolean: &BooleanType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_enum`  

Was fn render_enum(&mut self, enu: &EnumType, schema: &Schema) -> RenderResult\<O>; now fn render_enum(&mut self, \_enu: &EnumType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_float`  

Was fn render_float(&mut self, float: &FloatType, schema: &Schema) -> RenderResult\<O>; now fn render_float(&mut self, \_float: &FloatType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_integer`  

Was fn render_integer(&mut self, integer: &IntegerType, schema: &Schema) -> RenderResult\<O>; now fn render_integer(&mut self, \_integer: &IntegerType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_literal`  

Was fn render_literal(&mut self, literal: &LiteralType, schema: &Schema) -> RenderResult\<O>; now fn render_literal(&mut self, \_literal: &LiteralType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_null`  

Was fn render_null(&mut self, schema: &Schema) -> RenderResult\<O>; now fn render_null(&mut self, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_object`  

Was fn render_object(&mut self, object: &ObjectType, schema: &Schema) -> RenderResult\<O>; now fn render_object(&mut self, \_object: &ObjectType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_reference`  

Was fn render_reference(&mut self, reference: &str, schema: &Schema) -> RenderResult\<O>; now fn render_reference(&mut self, \_reference: &str, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_string`  

Was fn render_string(&mut self, string: &StringType, schema: &Schema) -> RenderResult\<O>; now fn render_string(&mut self, \_string: &StringType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_struct`  

Was fn render_struct(&mut self, structure: &StructType, schema: &Schema) -> RenderResult\<O>; now fn render_struct(&mut self, \_structure: &StructType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_tuple`  

Was fn render_tuple(&mut self, tuple: &TupleType, schema: &Schema) -> RenderResult\<O>; now fn render_tuple(&mut self, \_tuple: &TupleType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_union`  

Was fn render_union(&mut self, uni: &UnionType, schema: &Schema) -> RenderResult\<O>; now fn render_union(&mut self, \_uni: &UnionType, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `schematic::schema::SchemaRenderer::render_unknown`  

Was fn render_unknown(&mut self, schema: &Schema) -> RenderResult\<O>; now fn render_unknown(&mut self, \_schema: &Schema) -> RenderResult\<O>. [crates.io](https://crates.io/crates/schematic/0.21.0)
- **Signature changed** `Source`  

Source gained Memory, Defaults and EnvVars variants, so a match on Source needs more arms. [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.0/CHANGELOG.md)
- **Signature changed** `StructType`  

A StructType written as a struct literal must now set allow_unknown_fields or use ..Default::default(). [github.com](https://github.com/moonrepo/schematic/blob/schematic-v0.21.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.
