Skip to content

Latest commit

 

History

History
441 lines (304 loc) · 19.4 KB

CHANGELOG.md

File metadata and controls

441 lines (304 loc) · 19.4 KB

@theguild/federation-composition

0.12.1

Patch Changes

  • #68 51dd57a Thanks @kamilkisiela! - Unknown types are now always reported as GraphQLError (previously in some logic paths, it was an exception).

0.12.0

Minor Changes

0.11.4

Patch Changes

0.11.3

Patch Changes

  • #62 e50bc90 Thanks @kamilkisiela! - Fix: do not expose federation__Scope and federation__Policy scalar definitions to a supergraph

0.11.2

Patch Changes

  • #60 2f7fef1 Thanks @kamilkisiela! - Normalize enum values to be printed as enum values in Supergraph SDL, even if the user's subgraph schema has them as strings

0.11.1

Patch Changes

0.11.0

Minor Changes

Patch Changes

0.10.1

Patch Changes

0.10.0

Minor Changes

Patch Changes

0.9.0

Minor Changes

0.8.2

Patch Changes

  • #46 cfa9950 Thanks @kamilkisiela! - Add requiresScopes__Scope and policy__Policy to transformSupergraphToPublicSchema

  • #44 de983b0 Thanks @kamilkisiela! - Add containsSupergraphSpec to detect if Supergraph related scalars, enums or directives are used

0.8.1

Patch Changes

  • #42 f858c3f Thanks @n1ru4l! - Fix REQUIRED_INACCESSIBLE occurring on inaccessible fields/input types

0.8.0

Minor Changes

  • #40 4cba351 Thanks @n1ru4l! - Implement validation rules for REQUIRED_INACCESSIBLE for input types and field arguments.

0.7.1

Patch Changes

  • #36 fdba937 Thanks @kamilkisiela! - Visit every field in provides and requires directives

  • #36 fdba937 Thanks @kamilkisiela! - Fix unnecessary join__field(override:) on Query fields when it points to non-existing subgraph

  • #36 fdba937 Thanks @kamilkisiela! - Deduplicate composed directives

  • #39 e77eb2c Thanks @n1ru4l! - Ignore inaccessible field arguments within the DEFAULT_VALUE_USES_INACCESSIBLE rule.

    Fixes an issue where an inaccessible field argument uses a default value that is inaccessible would cause a false error.

    type User @key(fields: "id") {
      id: ID
      friends(type: FriendType = FAMILY @inaccessible): [User!]!
    }
    
    enum FriendType {
      FAMILY @inaccessible
      FRIEND
    }
  • #36 fdba937 Thanks @kamilkisiela! - Remove duplicated link spec definitions

  • #36 fdba937 Thanks @kamilkisiela! - Drop unused fields marked with @external only in a single type in Fed v1

  • 220dfc0 Thanks @kamilkisiela! - Fix missing usedOverridden on non-external key field

0.7.0

Minor Changes

Patch Changes

0.6.2

Patch Changes

  • 1ddf34e Thanks @kamilkisiela! - Fix EXTERNAL_ARGUMENT_MISSING - include nullable arguments as well

  • 1ddf34e Thanks @kamilkisiela! - Merge type definitions and type extensions when validating fields used in @requires, @provides and @key

  • 2525a24 Thanks @kamilkisiela! - Support [T!]! type in @key(fields), @provides(fields) and @requires(fields)

0.6.1

Patch Changes

0.6.0

Minor Changes

Patch Changes

0.5.0

Minor Changes

0.4.0

Minor Changes

Patch Changes

0.3.0

Minor Changes

  • #23 2d72e03 Thanks @kamilkisiela! - Add sortSDL function to sort DocumentNode (type system definitions and extensions)

0.2.0

Minor Changes

  • #21 443283e Thanks @n1ru4l! - Remove stripFederationFromSupergraph in favor of transformSupergraphToPublicSchema.

    Instead of stripping only federation specific types, transformSupergraphToPublicSchema yields the public api schema as served by the gateway.

0.1.4

Patch Changes

  • #19 e0ef0bb Thanks @kamilkisiela! - Make stripFederationFromSupergraph less strict and remove only Federation directives

0.1.3

Patch Changes

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

0.0.0

Minor Changes

Patch Changes