[PR #1081] [CLOSED] build(deps): bump schemars from 0.8.22 to 1.0.4 #9560

Closed
opened 2026-05-23 03:56:56 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1081
Author: @dependabot[bot]
Created: 7/7/2025
Status: Closed

Base: masterHead: dependabot/cargo/schemars-1.0.4


📝 Commits (1)

  • 48df9ad build(deps): bump schemars from 0.8.22 to 1.0.4

📊 Changes

2 files changed (+26 additions, -5 deletions)

View changed files

📝 Cargo.lock (+25 -4)
📝 Cargo.toml (+1 -1)

📄 Description

Bumps schemars from 0.8.22 to 1.0.4.

Release notes

Sourced from schemars's releases.

v1.0.4

Fixed

v1.0.3

Fixed

  • Fix compile error when a doc comment is set on both a transparent (or newtype) struct and its field (GREsau/schemars#446)
  • Fix json_schema!() macro compatibility when used from pre-2021 rust editions (GREsau/schemars#447)

v1.0.2

Fixed

v1.0.1

Fixed

  • Deriving JsonSchema with no_std broken due to std::borrow::ToOwned trait not being in scope (GREsau/schemars#441)

v1.0.0

This is a major release with many additions, fixes and changes since 0.8 (but not many since 0.9). While the basic usage (deriving JsonSchema and using schema_for!() or SchemaGenerator) is mostly unchanged, you may wish to consult the migration guide which covers some of the most significant changes.

Changes since 1.0.0-rc.2:

Added

  • #[schemars(bound = ...)] attributes are now used from fields as well as containers
  • The Schema::pointer(...) method now works when given a JSON pointer in URI Fragment representation with a leading # character. In particular, this means that you can now lookup a schema from a $ref value using that method.

Fixed

  • Schema names that contain special characters are now correctly encoded when used inside a $ref value (GREsau/schemars#436)
  • Optimise type param usage in SchemaGenerator::subschema_for, reducing LLVM line count and improving compile times (GREsau/schemars#439)

v1.0.0-rc.2

Added

  • Serde attributes that you want schemars to ignore can now be "unset" by including them in a schemars attribute with a ! prefix, e.g. #[schemars(!from)] (GREsau/schemars#433 / GREsau/schemars#434)

Removed

  • ⚠️ Deprecated items have been removed:
    • SchemaSettings::option_nullable and SchemaSettings::option_add_null_type fields
    • gen module

v1.0.0-rc.1

... (truncated)

Changelog

Sourced from schemars's changelog.

[1.0.4] - 2025-07-06

Fixed

[1.0.3] - 2025-06-28

Fixed

  • Fix compile error when a doc comment is set on both a transparent (or newtype) struct and its field (GREsau/schemars#446)
  • Fix json_schema!() macro compatibility when used from pre-2021 rust editions (GREsau/schemars#447)

[1.0.2] - 2025-06-26

Fixed

[1.0.1] - 2025-06-24

Fixed

  • Deriving JsonSchema with no_std broken due to std::borrow::ToOwned trait not being in scope (GREsau/schemars#441)

[1.0.0] - 2025-06-23

This is a major release with many additions, fixes and changes since 0.8 (but not many since 0.9). While the basic usage (deriving JsonSchema and using schema_for!() or SchemaGenerator) is mostly unchanged, you may wish to consult the migration guide which covers some of the most significant changes.

Changes since 1.0.0-rc.2:

Added

  • #[schemars(bound = ...)] attributes are now used from fields as well as containers
  • The Schema::pointer(...) method now works when given a JSON pointer in URI Fragment representation with a leading # character. In particular, this means that you can now lookup a schema from a $ref value using that method.

Fixed

  • Schema names that contain special characters are now correctly encoded when used inside a $ref value (GREsau/schemars#436)
  • Optimise type param usage in SchemaGenerator::subschema_for, reducing LLVM line count and improving compile times (GREsau/schemars#439)

[1.0.0-rc.2] - 2025-06-19

Added

  • Serde attributes that you want schemars to ignore can now be "unset" by including them in a schemars attribute with a ! prefix, e.g. #[schemars(!from)] (GREsau/schemars#433 / GREsau/schemars#434)

Removed

... (truncated)

Commits
  • 92cfcf6 v1.0.4
  • eae51c0 Fix derive for empty tuple variants (#458)
  • 5ef6f4e Test with minimal and latest dependency versions (#457)
  • cc8ff12 Fix impls for atomic types in non-nightly
  • e235dbb v1.0.3
  • 167edf3 Accept comments on both transparent struct and its field (#448)
  • 75f670a Improve json_schema!-macro compability with older rust editions (#447)
  • 2697ecb v1.0.2
  • d3d96b6 Improve handling of keyword ordering in schema serialization (#445)
  • d8efe53 Delete broken symlinks
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/1081 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 7/7/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/schemars-1.0.4` --- ### 📝 Commits (1) - [`48df9ad`](https://github.com/JakeStanger/ironbar/commit/48df9adf1d6905d070fc2a9bf84f5ccfd45c002a) build(deps): bump schemars from 0.8.22 to 1.0.4 ### 📊 Changes **2 files changed** (+26 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+25 -4) 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Bumps [schemars](https://github.com/GREsau/schemars) from 0.8.22 to 1.0.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/GREsau/schemars/releases">schemars's releases</a>.</em></p> <blockquote> <h2>v1.0.4</h2> <h3>Fixed</h3> <ul> <li>Fix <code>JsonSchema</code> impl on <a href="https://doc.rust-lang.org/std/sync/atomic/">atomic</a> types being ignored on non-nightly compilers due to a buggy <code>cfg</code> check (<a href="https://redirect.github.com/GREsau/schemars/issues/453">GREsau/schemars#453</a>)</li> <li>Fix compatibility with minimal dependency versions, e.g. old(-ish) versions of <code>syn</code> (<a href="https://redirect.github.com/GREsau/schemars/issues/450">GREsau/schemars#450</a>)</li> <li>Fix derive for empty tuple variants (<a href="https://redirect.github.com/GREsau/schemars/issues/455">GREsau/schemars#455</a>)</li> </ul> <h2>v1.0.3</h2> <h3>Fixed</h3> <ul> <li>Fix compile error when a doc comment is set on both a <code>transparent</code> (or newtype) struct and its field (<a href="https://redirect.github.com/GREsau/schemars/issues/446">GREsau/schemars#446</a>)</li> <li>Fix <code>json_schema!()</code> macro compatibility when used from pre-2021 rust editions (<a href="https://redirect.github.com/GREsau/schemars/pull/447">GREsau/schemars#447</a>)</li> </ul> <h2>v1.0.2</h2> <h3>Fixed</h3> <ul> <li>Fix schema properties being incorrectly reordered during serialization (<a href="https://redirect.github.com/GREsau/schemars/issues/444">GREsau/schemars#444</a>)</li> </ul> <h2>v1.0.1</h2> <h3>Fixed</h3> <ul> <li>Deriving <code>JsonSchema</code> with <code>no_std</code> broken due to <code>std::borrow::ToOwned</code> trait not being in scope (<a href="https://redirect.github.com/GREsau/schemars/issues/441">GREsau/schemars#441</a>)</li> </ul> <h2>v1.0.0</h2> <p>This is a major release with many additions, fixes and changes since 0.8 (but not many since 0.9). While the basic usage (deriving <code>JsonSchema</code> and using <code>schema_for!()</code> or <code>SchemaGenerator</code>) is mostly unchanged, you may wish to consult the <a href="https://graham.cool/schemars/migrating/">migration guide</a> which covers some of the most significant changes.</p> <p>Changes since 1.0.0-rc.2:</p> <h3>Added</h3> <ul> <li><code>#[schemars(bound = ...)]</code> attributes are now used from fields as well as containers</li> <li>The <a href="https://docs.rs/schemars/1.0.0/schemars/struct.Schema.html#method.pointer"><code>Schema::pointer(...)</code></a> method now works when given a JSON pointer in URI Fragment representation with a leading <code>#</code> character. In particular, this means that you can now lookup a schema from a <code>$ref</code> value using that method.</li> </ul> <h3>Fixed</h3> <ul> <li>Schema names that contain special characters are now correctly encoded when used inside a <code>$ref</code> value (<a href="https://redirect.github.com/GREsau/schemars/pull/436">GREsau/schemars#436</a>)</li> <li>Optimise type param usage in <code>SchemaGenerator::subschema_for</code>, reducing LLVM line count and improving compile times (<a href="https://redirect.github.com/GREsau/schemars/pull/439">GREsau/schemars#439</a>)</li> </ul> <h2>v1.0.0-rc.2</h2> <h3>Added</h3> <ul> <li>Serde attributes that you want schemars to ignore can now be &quot;unset&quot; by including them in a schemars attribute with a ! prefix, e.g. <code>#[schemars(!from)]</code> (<a href="https://redirect.github.com/GREsau/schemars/issues/433">GREsau/schemars#433</a> / <a href="https://redirect.github.com/GREsau/schemars/pull/434">GREsau/schemars#434</a>)</li> </ul> <h3>Removed</h3> <ul> <li>⚠️ Deprecated items have been removed: <ul> <li><code>SchemaSettings::option_nullable</code> and <code>SchemaSettings::option_add_null_type</code> fields</li> <li><code>gen</code> module</li> </ul> </li> </ul> <h2>v1.0.0-rc.1</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/GREsau/schemars/blob/master/CHANGELOG.md">schemars's changelog</a>.</em></p> <blockquote> <h2>[1.0.4] - 2025-07-06</h2> <h3>Fixed</h3> <ul> <li>Fix <code>JsonSchema</code> impl on <a href="https://doc.rust-lang.org/std/sync/atomic/">atomic</a> types being ignored on non-nightly compilers due to a buggy <code>cfg</code> check (<a href="https://redirect.github.com/GREsau/schemars/issues/453">GREsau/schemars#453</a>)</li> <li>Fix compatibility with minimal dependency versions, e.g. old(-ish) versions of <code>syn</code> (<a href="https://redirect.github.com/GREsau/schemars/issues/450">GREsau/schemars#450</a>)</li> <li>Fix derive for empty tuple variants (<a href="https://redirect.github.com/GREsau/schemars/issues/455">GREsau/schemars#455</a>)</li> </ul> <h2>[1.0.3] - 2025-06-28</h2> <h3>Fixed</h3> <ul> <li>Fix compile error when a doc comment is set on both a <code>transparent</code> (or newtype) struct and its field (<a href="https://redirect.github.com/GREsau/schemars/issues/446">GREsau/schemars#446</a>)</li> <li>Fix <code>json_schema!()</code> macro compatibility when used from pre-2021 rust editions (<a href="https://redirect.github.com/GREsau/schemars/pull/447">GREsau/schemars#447</a>)</li> </ul> <h2>[1.0.2] - 2025-06-26</h2> <h3>Fixed</h3> <ul> <li>Fix schema properties being incorrectly reordered during serialization (<a href="https://redirect.github.com/GREsau/schemars/issues/444">GREsau/schemars#444</a>)</li> </ul> <h2>[1.0.1] - 2025-06-24</h2> <h3>Fixed</h3> <ul> <li>Deriving <code>JsonSchema</code> with <code>no_std</code> broken due to <code>std::borrow::ToOwned</code> trait not being in scope (<a href="https://redirect.github.com/GREsau/schemars/issues/441">GREsau/schemars#441</a>)</li> </ul> <h2>[1.0.0] - 2025-06-23</h2> <p>This is a major release with many additions, fixes and changes since 0.8 (but not many since 0.9). While the basic usage (deriving <code>JsonSchema</code> and using <code>schema_for!()</code> or <code>SchemaGenerator</code>) is mostly unchanged, you may wish to consult the <a href="https://graham.cool/schemars/migrating/">migration guide</a> which covers some of the most significant changes.</p> <p>Changes since 1.0.0-rc.2:</p> <h3>Added</h3> <ul> <li><code>#[schemars(bound = ...)]</code> attributes are now used from fields as well as containers</li> <li>The <a href="https://docs.rs/schemars/1.0.0/schemars/struct.Schema.html#method.pointer"><code>Schema::pointer(...)</code></a> method now works when given a JSON pointer in URI Fragment representation with a leading <code>#</code> character. In particular, this means that you can now lookup a schema from a <code>$ref</code> value using that method.</li> </ul> <h3>Fixed</h3> <ul> <li>Schema names that contain special characters are now correctly encoded when used inside a <code>$ref</code> value (<a href="https://redirect.github.com/GREsau/schemars/pull/436">GREsau/schemars#436</a>)</li> <li>Optimise type param usage in <code>SchemaGenerator::subschema_for</code>, reducing LLVM line count and improving compile times (<a href="https://redirect.github.com/GREsau/schemars/pull/439">GREsau/schemars#439</a>)</li> </ul> <h2>[1.0.0-rc.2] - 2025-06-19</h2> <h3>Added</h3> <ul> <li>Serde attributes that you want schemars to ignore can now be &quot;unset&quot; by including them in a schemars attribute with a ! prefix, e.g. <code>#[schemars(!from)]</code> (<a href="https://redirect.github.com/GREsau/schemars/issues/433">GREsau/schemars#433</a> / <a href="https://redirect.github.com/GREsau/schemars/pull/434">GREsau/schemars#434</a>)</li> </ul> <h3>Removed</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/GREsau/schemars/commit/92cfcf62693c205f38cdf77a431a1ab532e5ab0d"><code>92cfcf6</code></a> v1.0.4</li> <li><a href="https://github.com/GREsau/schemars/commit/eae51c03ed300d8831171b98f950e2a2ef9c8685"><code>eae51c0</code></a> Fix derive for empty tuple variants (<a href="https://redirect.github.com/GREsau/schemars/issues/458">#458</a>)</li> <li><a href="https://github.com/GREsau/schemars/commit/5ef6f4e9d5804e1ed3d3d16dec3bb5b12fa2313b"><code>5ef6f4e</code></a> Test with minimal and latest dependency versions (<a href="https://redirect.github.com/GREsau/schemars/issues/457">#457</a>)</li> <li><a href="https://github.com/GREsau/schemars/commit/cc8ff127f79d5697e5d4020d891003c131cb12d8"><code>cc8ff12</code></a> Fix impls for atomic types in non-nightly</li> <li><a href="https://github.com/GREsau/schemars/commit/e235dbb765c3183ff5d1733a3fc9c89712595611"><code>e235dbb</code></a> v1.0.3</li> <li><a href="https://github.com/GREsau/schemars/commit/167edf3a47b4bff96d384c7b6ab431853cf8eb82"><code>167edf3</code></a> Accept comments on both transparent struct and its field (<a href="https://redirect.github.com/GREsau/schemars/issues/448">#448</a>)</li> <li><a href="https://github.com/GREsau/schemars/commit/75f670a403724facd825667fb0b67eeedb01ab6c"><code>75f670a</code></a> Improve <code>json_schema!</code>-macro compability with older rust editions (<a href="https://redirect.github.com/GREsau/schemars/issues/447">#447</a>)</li> <li><a href="https://github.com/GREsau/schemars/commit/2697ecbf7f2e1cbdf708c18bcca05b9f8a122785"><code>2697ecb</code></a> v1.0.2</li> <li><a href="https://github.com/GREsau/schemars/commit/d3d96b6dabfcac8876bb5613ae1d8ecbe6b4ddba"><code>d3d96b6</code></a> Improve handling of keyword ordering in schema serialization (<a href="https://redirect.github.com/GREsau/schemars/issues/445">#445</a>)</li> <li><a href="https://github.com/GREsau/schemars/commit/d8efe5354345598004bf1b175a576faaa9fdca57"><code>d8efe53</code></a> Delete broken symlinks</li> <li>Additional commits viewable in <a href="https://github.com/GREsau/schemars/compare/v0.8.22...v1.0.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=schemars&package-manager=cargo&previous-version=0.8.22&new-version=1.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-23 03:56:56 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#9560
No description provided.