Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 21, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
schemars (source) workspace.dependencies major >=0.8.9, <0.9 -> >=0.8.9, <1.1

Release Notes

GREsau/schemars (schemars)

v1.0.4

Compare Source

Fixed
  • Fix JsonSchema impl on atomic types being ignored on non-nightly compilers due to a buggy cfg check (#​453)
  • Fix compatibility with minimal dependency versions, e.g. old(-ish) versions of syn (#​450)
  • Fix derive for empty tuple variants (#​455)

v1.0.3

Compare Source

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

v1.0.2

Compare Source

Fixed
  • Fix schema properties being incorrectly reordered during serialization (#​444)

v1.0.1

Compare Source

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

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
  • Schema names that contain special characters are now correctly encoded when used inside a $ref value (#​436)
  • Optimise type param usage in SchemaGenerator::subschema_for, reducing LLVM line count and improving compile times (#​439)

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 - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jul 21, 2025

⚠️ 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 [email protected] --precise 1.0.4
    Updating crates.io index
error: failed to select a version for the requirement `schemars = ">=0.8.9, <0.9"`
candidate versions found which didn't match: 1.0.4
location searched: crates.io index
required by package `bitwarden-core v1.0.0 (https://github.com/bitwarden/sdk-internal.git?rev=49d027c1f5144d6d319e3cab56782f8b844cd8c2#49d027c1)`
    ... which satisfies git dependency `bitwarden-core` (locked to 1.0.0) of package `bitwarden v1.0.0 (/tmp/renovate/repos/github/bitwarden/sdk-sm/crates/bitwarden)`

@renovate renovate bot requested a review from a team as a code owner July 21, 2025 03:33
@bitwarden-bot bitwarden-bot changed the title [deps]: Update Rust crate schemars to v1 [SM-1537] [deps]: Update Rust crate schemars to v1 Jul 21, 2025
@bitwarden-bot
Copy link

Internal tracking:

Copy link

codecov bot commented Jul 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 7.30%. Comparing base (838f794) to head (75a9ee6).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1286   +/-   ##
=====================================
  Coverage   7.30%   7.30%           
=====================================
  Files         20      20           
  Lines       1383    1383           
=====================================
  Hits         101     101           
  Misses      1282    1282           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title [SM-1537] [deps]: Update Rust crate schemars to v1 [deps]: Update Rust crate schemars to v1 Jul 21, 2025
@renovate renovate bot force-pushed the renovate/schemars-1.x branch from 8ed66fd to 75a9ee6 Compare July 31, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant