From 7f10d52c2e19cfd190eb24305bc6063d3a165212 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Jan 2024 15:16:14 +0000 Subject: [PATCH] Version Packages --- .changeset/dirty-knives-teach.md | 5 ----- .changeset/fair-pillows-repair.md | 7 ------- .changeset/four-bats-impress.md | 5 ----- .changeset/little-dragons-repeat.md | 5 ----- .changeset/sweet-birds-grab.md | 5 ----- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 2 +- 7 files changed, 21 insertions(+), 28 deletions(-) delete mode 100644 .changeset/dirty-knives-teach.md delete mode 100644 .changeset/fair-pillows-repair.md delete mode 100644 .changeset/four-bats-impress.md delete mode 100644 .changeset/little-dragons-repeat.md delete mode 100644 .changeset/sweet-birds-grab.md diff --git a/.changeset/dirty-knives-teach.md b/.changeset/dirty-knives-teach.md deleted file mode 100644 index ebd63d9c..00000000 --- a/.changeset/dirty-knives-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gql.tada': patch ---- - -Format `TadaDocumentNode` output’s third generic differently. The output of fragment definitions will now be more readable (e.g. `{ fragment: 'Name', on: 'Type', masked: true }`) diff --git a/.changeset/fair-pillows-repair.md b/.changeset/fair-pillows-repair.md deleted file mode 100644 index 1729b86a..00000000 --- a/.changeset/fair-pillows-repair.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'gql.tada': minor ---- - -Support `@_optional` and `@_required` directives on fields overriding the field types. -When used, `@_required` can turn a nullable type into a non-nullable, and `@_optional` -can turn non-nullable fields into nullable ones. (See [“Client-Controlled Nullability” in Graphcache for an example of a client implementing this.](https://formidable.com/open-source/urql/docs/graphcache/local-directives/#client-controlled-nullability)) diff --git a/.changeset/four-bats-impress.md b/.changeset/four-bats-impress.md deleted file mode 100644 index e05ef0e2..00000000 --- a/.changeset/four-bats-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gql.tada': patch ---- - -Improve performance of selection and variables inference. diff --git a/.changeset/little-dragons-repeat.md b/.changeset/little-dragons-repeat.md deleted file mode 100644 index 351f80e3..00000000 --- a/.changeset/little-dragons-repeat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gql.tada': minor ---- - -Add support for `@_unmask` directive on fragments causing the fragment type to not be masked. `FragmentOf<>` will return the full result type of fragments when they’re annotated with `@_unmask` and spreading these unmasked fragments into parent documents will use their full type. diff --git a/.changeset/sweet-birds-grab.md b/.changeset/sweet-birds-grab.md deleted file mode 100644 index 20a50151..00000000 --- a/.changeset/sweet-birds-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'gql.tada': patch ---- - -Improve performance of GraphQL document parser. diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eee9b31..070184d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,25 @@ # gql.tada +## 1.1.0 + +### Minor Changes + +- Support `@_optional` and `@_required` directives on fields overriding the field types. + When used, `@_required` can turn a nullable type into a non-nullable, and `@_optional` + can turn non-nullable fields into nullable ones. (See [“Client-Controlled Nullability” in Graphcache for an example of a client implementing this.](https://formidable.com/open-source/urql/docs/graphcache/local-directives/#client-controlled-nullability)) + Submitted by [@kitten](https://github.com/kitten) (See [#32](https://github.com/0no-co/gql.tada/pull/32)) +- Add support for `@_unmask` directive on fragments causing the fragment type to not be masked. `FragmentOf<>` will return the full result type of fragments when they’re annotated with `@_unmask` and spreading these unmasked fragments into parent documents will use their full type + Submitted by [@kitten](https://github.com/kitten) (See [#31](https://github.com/0no-co/gql.tada/pull/31)) + +### Patch Changes + +- Format `TadaDocumentNode` output’s third generic differently. The output of fragment definitions will now be more readable (e.g. `{ fragment: 'Name', on: 'Type', masked: true }`) + Submitted by [@kitten](https://github.com/kitten) (See [#31](https://github.com/0no-co/gql.tada/pull/31)) +- Improve performance of selection and variables inference + Submitted by [@kitten](https://github.com/kitten) (See [#35](https://github.com/0no-co/gql.tada/pull/35)) +- Improve performance of GraphQL document parser + Submitted by [@kitten](https://github.com/kitten) (See [#34](https://github.com/0no-co/gql.tada/pull/34)) + ## 1.0.3 ### Patch Changes diff --git a/package.json b/package.json index e5373c8d..a84b1b18 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gql.tada", "description": "The spec-compliant & magical GraphQL query language engine in the TypeScript type system", - "version": "1.0.3", + "version": "1.1.0", "author": "0no.co ", "source": "./src/index.ts", "main": "./dist/gql-tada",