Update Rust crate schemars to v1 #214

Open
renovate wants to merge 1 commits from renovate/schemars-1.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
schemars (source) dependencies major 0.8.22 -> 1.0.4

Release Notes

GREsau/schemars (schemars)

v1.0.4

Compare Source

Fixed

v1.0.3

Compare Source

Fixed

v1.0.2

Compare Source

Fixed

v1.0.1

Compare Source

Fixed

v1.0.0

Compare Source

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

v0.9.0

Compare Source

This version is identical to 1.0.0-alpha.18, but is available for those who are unable to unwilling to use a pre-release version.

Those upgrading from Schemars 0.8 may want to consult the migration guide, which also applies when migrating from 0.8 to 0.9.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [schemars](https://graham.cool/schemars/) ([source](https://github.com/GREsau/schemars)) | dependencies | major | `0.8.22` -> `1.0.4` | --- ### Release Notes <details> <summary>GREsau/schemars (schemars)</summary> ### [`v1.0.4`](https://github.com/GREsau/schemars/blob/HEAD/CHANGELOG.md#104---2025-07-06) [Compare Source](https://github.com/GREsau/schemars/compare/v1.0.3...v1.0.4) ##### Fixed - Fix `JsonSchema` impl on [atomic](https://doc.rust-lang.org/std/sync/atomic/) types being ignored on non-nightly compilers due to a buggy `cfg` check (https://github.com/GREsau/schemars/issues/453) - Fix compatibility with minimal dependency versions, e.g. old(-ish) versions of `syn` (https://github.com/GREsau/schemars/issues/450) - Fix derive for empty tuple variants (https://github.com/GREsau/schemars/issues/455) ### [`v1.0.3`](https://github.com/GREsau/schemars/blob/HEAD/CHANGELOG.md#103---2025-06-28) [Compare Source](https://github.com/GREsau/schemars/compare/v1.0.2...v1.0.3) ##### Fixed - Fix compile error when a doc comment is set on both a `transparent` (or newtype) struct and its field (https://github.com/GREsau/schemars/issues/446) - Fix `json_schema!()` macro compatibility when used from pre-2021 rust editions (https://github.com/GREsau/schemars/pull/447) ### [`v1.0.2`](https://github.com/GREsau/schemars/blob/HEAD/CHANGELOG.md#102---2025-06-26) [Compare Source](https://github.com/GREsau/schemars/compare/v1.0.1...v1.0.2) ##### Fixed - Fix schema properties being incorrectly reordered during serialization (https://github.com/GREsau/schemars/issues/444) ### [`v1.0.1`](https://github.com/GREsau/schemars/blob/HEAD/CHANGELOG.md#101---2025-06-24) [Compare Source](https://github.com/GREsau/schemars/compare/v1.0.0...v1.0.1) ##### Fixed - Deriving `JsonSchema` with `no_std` broken due to `std::borrow::ToOwned` trait not being in scope (https://github.com/GREsau/schemars/issues/441) ### [`v1.0.0`](https://github.com/GREsau/schemars/blob/HEAD/CHANGELOG.md#100---2025-06-23) [Compare Source](https://github.com/GREsau/schemars/compare/v0.9.0...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](https://graham.cool/schemars/migrating/) 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(...)`](https://docs.rs/schemars/1.0.0/schemars/struct.Schema.html#method.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 (https://github.com/GREsau/schemars/pull/436) - Optimise type param usage in `SchemaGenerator::subschema_for`, reducing LLVM line count and improving compile times (https://github.com/GREsau/schemars/pull/439) ### [`v0.9.0`](https://github.com/GREsau/schemars/blob/HEAD/CHANGELOG.md#090---2025-05-26) [Compare Source](https://github.com/GREsau/schemars/compare/v0.8.22...v0.9.0) This version is identical to `1.0.0-alpha.18`, but is available for those who are unable to unwilling to use a pre-release version. Those upgrading from Schemars 0.8 may want to consult [the migration guide](https://graham.cool/schemars/migrating/), which also applies when migrating from 0.8 to 0.9. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS42LjQiLCJ1cGRhdGVkSW5WZXIiOiI0MS4yMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate added 1 commit 2025-06-24 00:09:19 +00:00
Update Rust crate schemars to v1
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
50d59558fd
renovate scheduled this pull request to auto merge when all checks succeed 2025-06-24 00:09:19 +00:00
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package schemars@0.8.22 --precise 1.0.4
    Updating crates.io index
error: failed to select a version for the requirement `schemars = "^0.8.6"`
candidate versions found which didn't match: 1.0.4
location searched: crates.io index
required by package `kube-core v1.1.0`
    ... which satisfies dependency `kube-core = "=1.1.0"` (locked to 1.1.0) of package `kube v1.1.0`
    ... which satisfies dependency `kube = "^1.1.0"` (locked to 1.1.0) of package `minio-operator v0.1.0 (/tmp/renovate/repos/gitea/pierre/MinioK8sBuckets)`

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package schemars@0.8.22 --precise 1.0.4 Updating crates.io index error: failed to select a version for the requirement `schemars = "^0.8.6"` candidate versions found which didn't match: 1.0.4 location searched: crates.io index required by package `kube-core v1.1.0` ... which satisfies dependency `kube-core = "=1.1.0"` (locked to 1.1.0) of package `kube v1.1.0` ... which satisfies dependency `kube = "^1.1.0"` (locked to 1.1.0) of package `minio-operator v0.1.0 (/tmp/renovate/repos/gitea/pierre/MinioK8sBuckets)` ```
renovate force-pushed renovate/schemars-1.x from 50d59558fd to 0c7f1b64ed 2025-06-25 00:08:40 +00:00 Compare
renovate force-pushed renovate/schemars-1.x from 0c7f1b64ed to 9661821dbf 2025-06-27 00:09:14 +00:00 Compare
renovate force-pushed renovate/schemars-1.x from 9661821dbf to f81fe3f546 2025-06-29 00:08:33 +00:00 Compare
renovate force-pushed renovate/schemars-1.x from f81fe3f546 to db90f2264d 2025-07-04 00:09:19 +00:00 Compare
renovate force-pushed renovate/schemars-1.x from db90f2264d to 27cac2c0d9 2025-07-05 00:09:25 +00:00 Compare
renovate force-pushed renovate/schemars-1.x from 27cac2c0d9 to ab094fd6d6 2025-07-06 00:15:48 +00:00 Compare
renovate force-pushed renovate/schemars-1.x from ab094fd6d6 to 5425691206 2025-07-07 00:15:33 +00:00 Compare
Some checks failed
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/schemars-1.x:renovate/schemars-1.x
git checkout renovate/schemars-1.x
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/MinioK8sBuckets#214
No description provided.