Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 9, 2025

This PR contains the following updates:

Package Type Update Change
apollo-compiler workspace.dependencies minor 1.30.0 -> 1.31.0
schemars (source) dependencies minor 1.0.4 -> 1.1.0
serde (source) dependencies patch 1.0.226 -> 1.0.228
serde_with dependencies minor 3.14.1 -> 3.16.0

Release Notes

apollographql/apollo-rs (apollo-compiler)

v1.31.0

Compare Source

Features

  • Allow coercing Int variables to Float - tninesling, pull/1011

    The GraphQL spec allows coercing Int values to Float in input positions (see
    input coercion). There are a couple things to note about this.

    • Strings are not allowed to be coerced in this position, even if they are
      numeric.
    • Ints can only be converted to Float when they are "representable by finite
      IEEE 754" floating point numbers.

    Since an IEEE 754 floating point double (f64) has 53 bits of precision, it can
    safely represent up to the value 2^53 - 1 as a finite value. Beyond that, the
    round trip from integer to float and back will lose information. This is
    represented with a new MAX_SAFE_INT constant which is often included in
    other languages like JavaScript's Number.MAX_SAFE_INT. When, we encounter an
    Int variable in a Float position, we ensure that its value is finitely
    representable.

    There is some nuance in that the spec does not say all floats have to be
    within this range. So, this implementation allows explicitly passed floats
    which are greater than that bound, only applying the integer conversion limit
    when coercing a value.

Fixes

  • Validate missing fragments when parsing standalone executable documents - Abdel-Monaam-Aouini, pull/1003

    When validating standalone executable documents, the use of undefined fragment
    definitions will return a validation error. Previously, executable documents
    like the following would pass validation without errors, despite
    CompanyFragment being undefined.

    query {
      company {
        user {
          ...UserFragment
        }
        ...CompanyFragment
      }
    }
    fragment UserFragment on User {
      id
      name
    }

Maintenance

  • Add benchmark for parsing and validation when a type has many extensions tninesling, pull/1000

    Introduces a new benchmark for query parsing and validation when a type has
    many extensions. We made an update in [email protected] to expose
    .iter_origins() for AST nodes, and we reimplemented .extensions() in
    terms of .iter_origins(). We were concerned that this may have caused a
    performance regression in parsing, but running this new benchmark against
    main with 1.28.0 as the base indicates no change in performance.

GREsau/schemars (schemars)

v1.1.0

Compare Source

Added
  • Public functions that have no side-effects are now marked with #[must_use] so that they report a lint warning when the returned value is unused, as this likely indicates a mistake.
Fixed
  • Improve accuracy of schemas for flattened enums, in particular: unit variants of externally-tagged enums, and enums wrapped in Option<>. (#​464 / #​483)

v1.0.5

Compare Source

Fixed
  • Fix schema.pointer_mut() to resolve URI fragment identifiers like #/$defs/foo, matching current behaviour of schema.pointer() (#​478 / #​479)
serde-rs/serde (serde)

v1.0.228

Compare Source

  • Allow building documentation with RUSTDOCFLAGS='--cfg=docsrs' set for the whole dependency graph (#​2995)

v1.0.227

Compare Source

jonasbb/serde_with (serde_with)

v3.16.0: serde_with v3.16.0

Compare Source

Added

v3.15.1: serde_with v3.15.1

Compare Source

Fixed
  • Fix building of the documentation by updating references to use serde_core.

v3.15.0: serde_with v3.15.0

Compare Source

Added
  • Added error inspection to VecSkipError and MapSkipError by @​michelhe (#​878)
    This allows interacting with the previously hidden error, for example for logging.
    Checkout the newly added example to both types.

  • Allow documenting the types generated by serde_conv!.
    The serde_conv! macro now acceps outer attributes before the optional visibility modifier.
    This allow adding doc comments in the shape of #[doc = "..."] or any other attributes, such as lint modifiers.

    serde_conv!(
        #[doc = "Serialize bools as string"]
        #[allow(dead_code)]
        pub BoolAsString,
        bool,
        |x: &bool| ::std::string::ToString::to_string(x),
        |x: ::std::string::String| x.parse()
    );
  • Add support for hashbrown v0.16 (#​877)

    This extends the existing support for hashbrown v0.14 and v0.15 to the newly released version.

Changed
  • Bump MSRV to 1.76, since that is required for toml dev-dependency.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 October 9, 2025 11:31
@renovate renovate bot force-pushed the renovate/cargo-all-non-major-gte-1.0 branch 2 times, most recently from 7741c58 to 200488c Compare October 28, 2025 19:14
@renovate renovate bot force-pushed the renovate/cargo-all-non-major-gte-1.0 branch 7 times, most recently from 929556d to ca7ee51 Compare November 4, 2025 17:58
@renovate renovate bot force-pushed the renovate/cargo-all-non-major-gte-1.0 branch 5 times, most recently from 5911728 to dd78100 Compare November 12, 2025 19:13
@renovate renovate bot force-pushed the renovate/cargo-all-non-major-gte-1.0 branch from dd78100 to f8c94ee Compare November 15, 2025 00:57
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