Skip to content
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

Update Apollo GraphQL packages - autoclosed #4

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/composition 2.0.0-alpha.4 -> 2.4.0 age adoption passing confidence
@apollo/federation-internals 2.0.0-alpha.4 -> 2.4.0 age adoption passing confidence
@apollo/gateway 2.0.0-alpha.4 -> 2.4.0 age adoption passing confidence
@apollo/query-graphs 2.0.0-alpha.4 -> 2.4.0 age adoption passing confidence
@apollo/query-planner 2.0.0-alpha.4 -> 2.4.0 age adoption passing confidence
@apollo/subgraph 2.0.0-alpha.3 -> 2.4.0 age adoption passing confidence
apollo-server 3.6.2 -> 3.12.0 age adoption passing confidence

Release Notes

apollographql/federation (@​apollo/composition)

v2.4.0

Compare Source

Minor Changes
  • Addition of new query planner node types to enable federated subscriptions support (#​2389)
Patch Changes

v2.3.5

Compare Source

Patch Changes

v2.3.4

Compare Source

Patch Changes

v2.3.3

Compare Source

Patch Changes

v2.3.2

Compare Source

Patch Changes

v2.3.1

Compare Source

Patch Changes

This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found here on the version-0.x branch of this repo.

v2.3.0

Compare Source

  • Error on composition when a @shareable field runtime types don't intersect between subgraphs: a @shareable field
    must resolve the same way in all the subgraphs, but this is impossible if the concrete runtime types have no
    intersection at all PR #​1556.
  • Uses the 0.3 version of the tag spec in the supergraph, which adds @tag directive support for the SCHEMA location PR #​2314.
  • Fixes composition issues with @interfaceObject PR #​2318.

v2.2.3

Compare Source

v2.2.2

Compare Source

v2.2.1

Compare Source

v2.2.0

Compare Source

  • BREAKING: composition now rejects @shareable on interface fields. The @shareable directive is about
    controlling if multiple subgraphs can resolve a particular field, and as interface field are never directly resolved
    (it's their implementation that are), having @shareable on interface fields is not completely meaningful and
    was never meant to be supported. If an existing subgraph does have a @shareable on an interface field, this
    will now be rejected, but the @shareable can simply and safely be removed since it previously was ignored.
  • Provide support for marking @​external on object type PR #​2214
  • Drop support for node12 PR #​2202
  • Fix error when a skipped enum value had directives applied PR #​2232.

v2.1.4

Compare Source

  • Improves error message to help with misspelled source of an @override PR #​2181.

v2.1.3

Compare Source

v2.1.2

Compare Source

  • Fix composition of repeatable custom directives PR #​2136
  • Allow fields with arguments in @requires PR #​2120.

v2.1.1

Compare Source

v2.1.0

Compare Source

  • Don't apply @​shareable when upgrading fed1 supergraphs if it's already @​shareable PR #​2043
  • Update peer dependency graphql to ^16.5.0 to use GraphQLErrorOptions PR #​2060
  • Don't require @link when using @composeDirective PR #​2046
  • Add @composeDirective directive to specify directives that should be merged to the supergraph during composition PR #​1996.
  • Warn on merging inconsistent non-repeatable directive applications instead of failing composition PR #​1840.
  • Expand support for Node.js v18 PR #​1884

v2.0.5

Compare Source

v2.0.4

Compare Source

v2.0.3

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

  • Use for: SECURITY in the core/link directive application in the supergraph for @inaccessible PR #​1715

v2.0.0

Compare Source

  • Previous preview release promoted to general availability! Please see previous changelog entries for full info.

v2.0.0-preview.14

Compare Source

v2.0.0-preview.13

Compare Source

v2.0.0-preview.12

Compare Source

v2.0.0-preview.11

Compare Source

  • Add a level to hints, uppercase their code and related fixes PR #​1683.
  • Add support for @inaccessible v0.2 PR #​1678

v2.0.0-preview.10

Compare Source

v2.0.0-preview.9

Compare Source

  • Fix handling of core/link when definitions are provided or partially so PR #​1662.
  • Optimize composition validation when many entities spans many subgraphs PR #​1653.
  • Support for Node 17 PR #​1541.
  • Adds Support for @tag/v0.2, which allows the @tag directive to be additionally placed on arguments, scalars, enums, enum values, input objects, and input object fields. PR #​1652.
  • Adds support for the @override directive on fields to indicate that a field should be moved from one subgraph to another. PR #​1484

v2.0.0-preview.8

Compare Source

NOTE: Be sure to upgrade the gateway before re-composing/deploying with this version. See below and the changelog for @apollo/gateway.

  • Adds support for @inaccessible in subgraphs PR #​1638.
  • Fix merging of @tag directive when it is renamed in subgraphs PR #​1637.
  • Generates supergraphs with @link instead of @core. As a result, prior federation 2 pre-release gateway will not read supergraphs generated by this version correctly, so you should upgrade the gateway to this version before re-composing/deploying with this version. PR #​1628.

v2.0.0-preview.7

Compare Source

v2.0.0-preview.5

Compare Source

  • Fix propagation of @tag to the supergraph and allows @​tag to be repeated. Additionally, merged directives (only @tag and @deprecated currently) are not allowed on external fields anymore PR #​1592.

v2.0.0-preview.4

Compare Source

  • Released in sync with other federation packages but no changes to this package.

v2.0.0-preview.3

Compare Source

  • Released in sync with other federation packages but no changes to this package.

v2.0.0-preview.2

Compare Source

  • Re-publishing release which published to npm with stale build artifacts from version-0.x release.

v2.0.0-preview.1

Compare Source

  • Add a level to hints, uppercase their code and related fixes PR #​1683.
  • Add support for @inaccessible v0.2 PR #​1678

v2.0.0-preview.0

Compare Source

  • Initial "preview" release.

v2.0.0-alpha.6

Compare Source

  • No direct changes, only transitive updates to @apollo/query-graphs and @apollo/federation-internals.

v2.0.0-alpha.5

Compare Source

  • Remove graphql@15 from peer dependencies PR #​1472.
apollographql/federation (@​apollo/federation-internals)

v2.4.0

Compare Source

Patch Changes
  • Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and (#​2387)
    improve query plan generation performance in many cases.

  • Revert #​2293. Removing URL import causes a problem when running under deno. (#​2451)

  • Use globally available URL object instead of node builtin "url" module (#​2293)

  • Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs (#​2449)

v2.3.5

Compare Source

v2.3.4

Compare Source

Patch Changes
  • Use globally available URL object instead of node builtin "url" module (#​2293)

v2.3.3

Compare Source

v2.3.2

Compare Source

v2.3.1

Compare Source

v2.3.0

Compare Source

  • Fix incorrect handling of @external on a type when dealing when adding @shareable during fed1 schema upgrades PR #​2343.

v2.2.3

Compare Source

v2.2.2

Compare Source

v2.2.1

Compare Source

  • Fix federation spec always being expanded to the last version PR #​2274.

v2.2.0

Compare Source

v2.1.4

Compare Source

  • Ensures supergraph @defer/@stream definitions of supergraph are not included in the API schema PR #​2212.
  • Fix validation of variable on input field not taking default into account PR #​2176.

v2.1.3

Compare Source

v2.1.2

Compare Source

v2.1.1

Compare Source

v2.1.0

Compare Source

  • Update peer dependency graphql to ^16.5.0 to use GraphQLErrorOptions PR #​2060
  • Don't require @link when using @composeDirective PR #​2046
  • Add @defer support PR #​1958
  • Add @composeDirective directive to specify directives that should be merged to the supergraph during composition PR #​1996.
  • Expand support for Node.js v18 PR #​1884

v2.0.5

Compare Source

v2.0.4

Compare Source

  • Fix issue when all root operations were defined in an extend schema PR #​1875.

v2.0.3

Compare Source

  • Fix bug with type extension of empty type definition PR #​1821

v2.0.2

Compare Source

  • Fix bug removing an enum type PR #​1813
  • Fix Schema.clone when directive application happens before definition PR #​1785
  • More helpful error message for errors encountered while reading supergraphs generated pre-federation 2 PR #​1796
  • Fix bug applying an imported federation directive on another directive definition PR #​1797.
  • Prevent non-core-feature elements from being marked @​inaccessible if referenced by core feature elements PR #​1769
  • Improve fed1 schema support during composition PR #​1735
  • Honor directive imports when directive name is spec name PR #​1720

v2.0.1

Compare Source

  • Use for: SECURITY in the core/link directive application in the supergraph for @inaccessible PR #​1715

v2.0.0

Compare Source

  • Previous preview release promoted to general availability! Please see previous changelog entries for full info.

v2.0.0-preview.14

Compare Source

  • Implement buildSubgraphSchema using federation internals PR #​1697

v2.0.0-preview.13

Compare Source

v2.0.0-preview.12

Compare Source

v2.0.0-preview.11

Compare Source

  • Add support for @inaccessible v0.2 PR #​1678
  • Add a level to hints, uppercase their code and related fixes PR #​1683.

v2.0.0-preview.10

Compare Source

v2.0.0-preview.9

Compare Source

  • Adds Support for @tag/v0.2, which allows the @tag directive to be additionally placed on arguments, scalars, enums, enum values, input objects, and input object fields. PR #​1652.
  • Add missing includeDeprecated argument for args and inputFields when defining introspection fields PR #​1584
  • Adds support for the @override directive on fields to indicate that a field should be moved from one subgraph to another. PR #​1484

v2.0.0-preview.8

Compare Source

v2.0.0-preview.7

Compare Source

v2.0.0-preview.5

Compare Source

  • Fix propagation of @tag to the supergraph and allows @​tag to be repeated. Additionally, merged directives (only @tag and @deprecated currently) are not allowed on external fields anymore PR #​1592.

v2.0.0-preview.4

Compare Source

  • Make error messages more actionable when constructing subgraphs from a supergraph PR #​1586

v2.0.0-preview.3

Compare Source

  • Fix issue that created type extensions with descriptions, which is invalid graphQL syntax PR #​1582.

v2.0.0-preview.2

Compare Source

  • Re-publishing release which published to npm with stale build artifacts from version-0.x release.

v2.0.0-preview.1

Compare Source

  • Implement buildSubgraphSchema using federation internals PR #​1697

v2.0.0-preview.0

Compare Source

  • Initial "preview" release.

v2.0.0-alpha.6

Compare Source

  • Avoid incomplete subgraphs when extracting them from the supergraph. PR #​1511

v2.0.0-alpha.5

Compare Source

  • Remove graphql@15 from peer dependencies PR #​1472.
apollographql/federation (@​apollo/gateway)

v2.4.0

Compare Source

Minor Changes
  • This change introduces a configurable query plan cache. This option allows (#​2385)
    developers to provide their own query plan cache like so:

    new ApolloGateway({
      queryPlannerConfig: {
        cache: new MyCustomQueryPlanCache(),
      },
    });
    

    The current default implementation is effectively as follows:

    import { InMemoryLRUCache } from "@​apollo/utils.keyvaluecache";
    
    const cache = new InMemoryLRUCache<string>({
      maxSize: Math.pow(2, 20) * 30,
      sizeCalculation<T>(obj: T): number {
        return Buffer.byteLength(JSON.stringify(obj), "utf8");
      },
    });
    

    TypeScript users should implement the QueryPlanCache type which is now
    exported by @apollo/query-planner:

    import { QueryPlanCache } from '@&#8203;apollo/query-planner';
    
    class MyCustomQueryPlanCache implements QueryPlanCache {
      // ...
    }
    
  • Adds debug/testing query planner options (debug.bypassPlannerForSingleSubgraph) to bypass the query planning (#​2441)
    process for federated supergraph having only a single subgraph. The option is disabled by default, is not recommended
    for production, and is not supported (it may be removed later). It is meant for debugging/testing purposes.

Patch Changes

v2.3.5

Compare Source

Patch Changes

v2.3.4

Compare Source

Patch Changes
  • Handle defaulted variables correctly during post-processing. (#​2443)

    Users who tried to use built-in conditional directives (skip/include) with defaulted variables and no variable provided would encounter an error thrown by operation post-processing saying that the variables weren't provided. The defaulted values went unaccounted for, so the operation would validate but then fail an assertion while resolving the conditional.

    With this change, defaulted variable values are now collected and provided to post-processing (with defaults being overwritten by variables that are actually provided).

  • Updated dependencies [6e2d24b5]:

v2.3.3

Compare Source

Patch Changes
  • Update @​apollo/utils.logger typings dependency (#​2269)

  • Exposes, for each subgraph request, the path in the overall gateway operation at which that subgraph request gets inserted. This path is now available as the pathInIncomingRequest field in the arguments of RemoteGraphQLDataSource.willSendRequest and RemoteGraphQLDataSource.didReceiveResponse. (#​2384)

  • Previously the queryPlanStoreKey was a hash of the query concatenated with an unhashed operationName if it was present. This resulted in variable length cache keys that could become unnecessarily long, occupying additional space in the query plan cache. (#​2310)

    This change incorporates the operationName into the hash itself (if operationName is present).

  • Update @​apollo/utils.createhash package, which drops support for node 12 (#​2266)

  • Update @​apollo/utils.isnodelike package, which dropped support for node 12 (#​2268)

  • Update @​apollo/utils.fetcher package, which drops support for node 12 (#​2267)

  • Updated dependencies [71a07f30]:

v2.3.2

Compare Source

Patch Changes

v2.3.1

Compare Source

Patch Changes

This CHANGELOG pertains only to Apollo Federation packages in the 2.x range. The Federation v0.x equivalent for this package can be found here on the version-0.x branch of this repo.

v2.3.0

Compare Source

  • Fix unexpected composition error about @shareable field when @external is on a type in a fed1 schema (one without @link) PR #​2343.
  • Fix issue with some @interfaceObject queries due to missing "input rewrites" PR #​2346.

v2.2.3

Compare Source

v2.2.2

Compare Source

  • Fix issue with path in query plan's deferred nodes PR #​2281.

v2.2.1

Compare Source

  • Fix federation spec always being expanded to the last version PR #​2274.

v2.2.0

Compare Source

  • BREAKING: Disable exposing full document to sub-query by default (introduced 2.1.0):
    • This change decreases memory consumption in general (which is the reason for disabling this by
      default), but users that have custom code making use of GraphQLDataSourceProcessOptions.document
      will now need to explicitly set GatewayConfig.queryPlannerConfig.exposeDocumentNodeInFetchNode.
  • BREAKING: composition now rejects @shareable on interface fields. The @shareable directive is about
    controlling if multiple subgraphs can resolve a particular field, and as interface field are never directly resolved
    (it's their implementation that are), having @shareable on interface fields is not completely meaningful and
    was never meant to be supported. If an existing subgraph does have a @shareable on an interface field, this
    will now be rejected, but the @shareable can simply and safely be removed since it previously was ignored.
  • Allows @shareable to be repeatable so it can be allowed on both a type definition and its extensions PR #​2175.
    • Note that this require the use of the new 2.2 version of the federation spec introduced in this change.
  • Preserve default values of input ob

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (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.

👻 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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update Apollo GraphQL packages Update Apollo GraphQL packages - autoclosed Apr 4, 2023
@renovate renovate bot closed this Apr 4, 2023
@renovate renovate bot deleted the renovate/apollo-graphql-packages branch April 4, 2023 01:30
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.

0 participants