-
Notifications
You must be signed in to change notification settings - Fork 94
chore(deps): update rust crate schemars to v1 - autoclosed #2641
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
Conversation
|
e9bd7df
to
3c61f44
Compare
✅ Docs preview readyThe preview is ready to be viewed. View the preview File Changes 0 new, 6 changed, 0 removed
Build ID: e80484f19aabc64a5ec67c15 URL: https://www.apollographql.com/docs/deploy-preview/e80484f19aabc64a5ec67c15 |
It's not possible to upgrade schemars to 0.9.0 because apollo-federation-types was compiled with schemars 0.8.22. Any suggestions? @apollographql/graph-tooling |
3c61f44
to
a445b4b
Compare
a445b4b
to
62893ff
Compare
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.
62893ff
to
7f806cd
Compare
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.
This PR contains the following updates:
0.8.22
->1.0.0
Release Notes
GREsau/schemars (schemars)
v1.0.3
Compare Source
Fixed
transparent
(or newtype) struct and its field (https://github.com/GREsau/schemars/issues/446)json_schema!()
macro compatibility when used from pre-2021 rust editions (https://github.com/GREsau/schemars/pull/447)v1.0.2
Compare Source
Fixed
v1.0.1
Compare Source
Fixed
JsonSchema
withno_std
broken due tostd::borrow::ToOwned
trait not being in scope (https://github.com/GREsau/schemars/issues/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 usingschema_for!()
orSchemaGenerator
) 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 containersSchema::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
$ref
value (https://github.com/GREsau/schemars/pull/436)SchemaGenerator::subschema_for
, reducing LLVM line count and improving compile times (https://github.com/GREsau/schemars/pull/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 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.
This PR was generated by Mend Renovate. View the repository job log.