Skip to content

fix(deps): update rust crate schemars to v1 #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 30, 2025

This PR contains the following updates:

Package Type Update Change
schemars (source) dependencies major 0.8 -> 1.0

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 - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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.

@renovate renovate bot requested a review from a team as a code owner June 30, 2025 03:32
Copy link
Contributor Author

renovate bot commented Jun 30, 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 --workspace
    Updating crates.io index
error: failed to select a version for `schemars`.
    ... required by package `image-cve-policy v0.1.0 (/tmp/renovate/repos/github/kubewarden/image-cve-policy)`
versions that meet the requirements `^1.0` are: 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0

package `image-cve-policy` depends on `schemars` with feature `impl_json_schema` but `schemars` does not have that feature.


failed to select a version for `schemars` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/schemars-1.x branch from 2d0877b to 44d62cc Compare June 30, 2025 13:02
@github-project-automation github-project-automation bot moved this to Pending review in Kubewarden Jul 2, 2025
@viccuad viccuad moved this from Pending review to Todo in Kubewarden Jul 2, 2025
@renovate renovate bot force-pushed the renovate/schemars-1.x branch 4 times, most recently from 7b295d6 to 8a0fda3 Compare July 10, 2025 09:50
@renovate renovate bot force-pushed the renovate/schemars-1.x branch 3 times, most recently from fde0163 to 51ce187 Compare July 18, 2025 08:38
@renovate renovate bot force-pushed the renovate/schemars-1.x branch from 51ce187 to a822b50 Compare July 19, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

0 participants