Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 28, 2025

This PR contains the following updates:

Package Type Update Change
schemars (source) workspace.dependencies major 0.8.22 -> 1.0.0

Release Notes

GREsau/schemars (schemars)

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 - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

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

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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jun 28, 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 schemars@0.8.22 --precise 1.0.4
    Updating crates.io index
error: failed to select a version for the requirement `schemars = "^0.8.21"`
candidate versions found which didn't match: 1.0.4
location searched: crates.io index
required by package `apollo-federation-types v0.15.4`
    ... which satisfies dependency `apollo-federation-types = "^0.15.3"` (locked to 0.15.4) of package `rover v0.34.1 (/tmp/renovate/repos/github/apollographql/rover)`

@renovate renovate bot requested a review from a team as a code owner June 28, 2025 08:36
@renovate renovate bot force-pushed the renovate/schemars-1.x branch from e9bd7df to 3c61f44 Compare July 5, 2025 08:59
@apollo-librarian
Copy link
Contributor

apollo-librarian bot commented Jul 5, 2025

✅ Docs preview ready

The preview is ready to be viewed. View the preview

File Changes

0 new, 6 changed, 0 removed
* (developer-tools)/apollo-server/(latest)/getting-started.mdx
* (developer-tools)/apollo-server/(latest)/data/subscriptions.mdx
* (developer-tools)/apollo-server/(latest)/integrations/mern.mdx
* (developer-tools)/apollo-server/(latest)/schema/directives.md
* (developer-tools)/apollo-server/(latest)/testing/testing.mdx
* (developer-tools)/apollo-server/(latest)/workflow/generate-types.mdx

Build ID: e80484f19aabc64a5ec67c15

URL: https://www.apollographql.com/docs/deploy-preview/e80484f19aabc64a5ec67c15

@DaleSeo
Copy link
Contributor

DaleSeo commented Jul 8, 2025

It's not possible to upgrade schemars to 0.9.0 because apollo-federation-types was compiled with schemars 0.8.22.
https://github.com/apollographql/federation-rs/blob/a8a1d835087502e8a24395b363f8868817b4e59c/apollo-federation-types/Cargo.toml#L29

Any suggestions? @apollographql/graph-tooling

@renovate renovate bot force-pushed the renovate/schemars-1.x branch from 3c61f44 to a445b4b Compare July 12, 2025 08:45
@DaleSeo DaleSeo force-pushed the renovate/schemars-1.x branch from a445b4b to 62893ff Compare July 15, 2025 15:53
DaleSeo added a commit to apollographql/federation-rs that referenced this pull request Jul 16, 2025
Following PR #637 where `schemars` was upgraded from v.0.8.21 to v1.0.0,
this PR updates it to ~v1.0.4 which is the latest version~ `v1`. This is
currently blocking Rover from updating in
apollographql/rover#2641.
@renovate renovate bot force-pushed the renovate/schemars-1.x branch from 62893ff to 7f806cd Compare July 19, 2025 10:39
DaleSeo added a commit that referenced this pull request Jul 22, 2025
Renovate is unable to update the `schemars` library in PR #2641 and
#2673 because `apollo-federation-types` relies on an outdated version.
This has now been upgraded in
apollographql/federation-rs#637. In this PR, I
updated both and it seems working.
@renovate renovate bot changed the title chore(deps): update rust crate schemars to v1 chore(deps): update rust crate schemars to v1 - autoclosed Jul 22, 2025
@renovate renovate bot closed this Jul 22, 2025
@renovate renovate bot deleted the renovate/schemars-1.x branch July 22, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant