Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@theguild/[email protected]
@theguild/federation-composition
0.14.5
Patch Changes
9c26af9
Thanks @n1ru4l! - Do not raiseDEFAULT_VALUE_USES_INACCESSIBLE
for inaccessible default value on inaccessible field.0.14.4
Patch Changes
#82
7d640bf
Thanks @kamilkisiela! - Fix a child data type field not being accessible via interfaceObject#81
ded4b47
Thanks @ardatan! - Respect inaccessible enum values while creating the public schema from the supergraph AST0.14.3
Patch Changes
4e25e6d
Thanks @kamilkisiela! -transformSupergraphToPublicSchema
removes now@policy
,@requiresScopes
and@authenticated
0.14.2
Patch Changes
a3cb724
Thanks @kamilkisiela! - Fix a missing@join__field
on a query field where@override
is used, but not in all subgraphs.0.14.1
Patch Changes
7456d14
Thanks @kamilkisiela! - Show TYPE_KIND_MISMATCH and ignore INTERFACE_FIELD_NO_IMPLEM when there is a type kind mismatch0.14.0
Minor Changes
780892d
Thanks @kamilkisiela! - Support directives on enum values and unions0.13.0
Minor Changes
627dea9
Thanks @kamilkisiela! - Support directives on enum type definitions and extensions0.12.1
Patch Changes
51dd57a
Thanks @kamilkisiela! - Unknown types are now always reported as GraphQLError (previously in some logic paths, it was anexception).
0.12.0
Minor Changes
7603a4e
Thanks @kamilkisiela! - Support INTERFACE_FIELD_NO_IMPLEM0.11.4
Patch Changes
9ec8078
Thanks @kamilkisiela! - fix: detect incorrect subtypes of
interface fields across subgraphs
0.11.3
Patch Changes
e50bc90
Thanks @kamilkisiela! - Fix: do not expose
federation__Scope
and
federation__Policy
scalar definitions to a supergraph0.11.2
Patch Changes
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
ab707b9
Thanks @kamilkisiela! - Support directives on Input Object
types
0.11.0
Minor Changes
589effd
Thanks @kamilkisiela! - Support @interfaceObject directive
Patch Changes
589effd
Thanks @kamilkisiela! - Improve
INTERFACE_KEY_MISSING_IMPLEMENTATION_TYPE
0.10.1
Patch Changes
5c4431d
Thanks @n1ru4l! - fix esm support
0.10.0
Minor Changes
8cd5287
Thanks @kamilkisiela! - Proper implementation of
SATISFIABILITY_ERROR
Patch Changes
#51
8cd5287
Thanks @kamilkisiela! - Fix REQUIRES_FIELDS_MISSING_EXTERNAL in
Fed v1
#51
8cd5287
Thanks @kamilkisiela! - Fix FIELD_TYPE_MISMATCH for unions and
union members
#51
8cd5287
Thanks @kamilkisiela! - Fix PROVIDES_FIELDS_MISSING_EXTERNAL in
Fed v1
#51
8cd5287
Thanks @kamilkisiela! - Fix REQUIRES_INVALID_FIELDS_TYPE for
enum value
0.9.0
Minor Changes
d6da339
Thanks @kamilkisiela! - Adds CompositionSuccess.publicSdl - SDL
with only the queryable fields
0.8.2
Patch Changes
#46
cfa9950
Thanks @kamilkisiela! - Add
requiresScopes__Scope
andpolicy__Policy
totransformSupergraphToPublicSchema
#44
de983b0
Thanks @kamilkisiela! - Add containsSupergraphSpec to detect if
Supergraph related scalars, enums or directives are used
0.8.1
Patch Changes
f858c3f
Thanks @n1ru4l! - Fix REQUIRED_INACCESSIBLE occurring on inaccessible
fields/input types
0.8.0
Minor Changes
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.
#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
88a3fd0
Thanks @kamilkisiela! - Validate directive definitions
Patch Changes
a578a92
Thanks @kamilkisiela! - Fix missing @join__field on
non-external, but shareable fields, with @OverRide in some graphs
56b6c95
Thanks @kamilkisiela! - Fix FIELD_TYPE_MISMATCH - support
[User!] vs [User] in output types
a578a92
Thanks @kamilkisiela! - Support @join__field(usedOverridden:)
ee34815
Thanks @kamilkisiela! - Fix ProvidedArgumentsOnDirectivesRule
and allow to use "[]" when "[String]" is expected
a578a92
Thanks @kamilkisiela! - delete subgraph spec according to
schema definition/extension object
88a3fd0
Thanks @kamilkisiela! - fix: allow to overwrite specified
directives
a578a92
Thanks @kamilkisiela! - Ignore inaccessible enum values in
ENUM_VALUE_MISMATCH rule
56b6c95
Thanks @kamilkisiela! - Improve SATISFIABILITY_ERROR - resolve
query path step by step
a578a92
Thanks @kamilkisiela! - Fix description of fields with
@OverRide
a578a92
Thanks @kamilkisiela! - Allow @key(fields: ["a", "b"]) in
Federation v1
56b6c95
Thanks @kamilkisiela! - Fix unnecessary join__field(external)
for extension type where field is not needed by the query planner
56b6c95
Thanks @kamilkisiela! - Fix unnecessary join__field(external:
true) on key fields
a8a253d
Thanks @kamilkisiela! - SATISFIABILITY_ERROR improvements
a578a92
Thanks @kamilkisiela! - Fix @join__field(external: true)
missing when field is overridden
56b6c95
Thanks @kamilkisiela! - Improve SATISFIABILITY_ERROR - check
satisfiability of non-entity types
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
55343ba
Thanks @kamilkisiela! - Fix missing join__field
55343ba
Thanks @kamilkisiela! - Fix default values
55343ba
Thanks @kamilkisiela! - fix: cannot move subgraphs without @key
and common query path
55343ba
Thanks @kamilkisiela! - Ignore specified directives and scalars
when printing supergraph
0.6.0
Minor Changes
9195942
Thanks @kamilkisiela! - Detect composed directives without spec
Patch Changes
3196317
Thanks @kamilkisiela! - Fix field sharing logic for Federation
v1
af15843
Thanks @kamilkisiela! - Fix OVERRIDE_SOURCE_HAS_OVERRIDE rule
to find circular refs
c182a8a
Thanks @kamilkisiela! - Fix discoverability of directive
definitions
c182a8a
Thanks @kamilkisiela! - Fix descriptions on arguments of object
type fields
cab3b49
Thanks @kamilkisiela! - Fix adding unnecessary
@join__type(extension:true)
af15843
Thanks @kamilkisiela! - Prevent shareable fields on root level
subscription object
0.5.0
Minor Changes
21fa482
Thanks @kamilkisiela! - Support v2.4, v2.5 and v2.6
0.4.0
Minor Changes
c17a037
Thanks @kamilkisiela! - PROVIDES_INVALID_FIELDS: empty
selection set
Patch Changes
3c45c20
Thanks @kamilkisiela! - INVALID_FIELD_SHARING: adjust the check
to detect valid override directive
0.3.0
Minor Changes
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 oftransformSupergraphToPublicSchema
.Instead of stripping only federation specific types,
transformSupergraphToPublicSchema
yieldsthe public api schema as served by the gateway.
0.1.4
Patch Changes
e0ef0bb
Thanks @kamilkisiela! - Make
stripFederationFromSupergraph
less strict and remove only Federation directives
0.1.3
Patch Changes
a508ad2
Thanks @kamilkisiela! - SATISFIABILITY_ERROR - allow to resolve
a field via entity type's child
0.1.2
Patch Changes
37e164c
Thanks @kamilkisiela! - Add joinFieldSet, linkImport,
link__Purpose to stripFederationFromSupergraph
0.1.1
Patch Changes
75d2117
Thanks @kamilkisiela! - Add repository to package.json
0.1.0
Minor Changes
8574d45
Thanks @kamilkisiela! - Release v0.1.0
0.0.0
Minor Changes
b37a82d
Thanks @kamilkisiela! - Initial version
Patch Changes
1196bde
Thanks @kamilkisiela! - Report error when interfaceObject
directive is detected
1196bde
Thanks @kamilkisiela! - Fix a case when all fields are marked
as external and are only used by key directive
1196bde
Thanks @kamilkisiela! - Init
1196bde
Thanks @kamilkisiela! - Add validateSubgraph function