diff --git a/.changeset/config.json b/.changeset/config.json index 16b99d7..87e5027 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -6,11 +6,5 @@ "access": "public", "baseBranch": "master", "updateInternalDependencies": "patch", - "ignore": [ - "website", - "try-clients", - "scraper", - "beskar", - "integration-tests" - ] + "ignore": ["website", "scraper", "beskar", "integration-tests"] } diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 190ae86..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,58 +0,0 @@ -For new changes see the new changelog built with [Notaku](https://notaku.so) and Notion: https://changelog.genql.dev - -## 6.3.1 - -- Fix array types when array content is nullable, https://github.com/remorses/genql/pull/144. Thanks to @wellguimaraes - -## 6.3.0 - -- Fix custom scalars typed with object types -- Make required top level arguments with defaults non required -- \_\_scalar: true should exclude scalars with required arguments - -## 2.10.0 - -Fixed problem generating interfaces without any implementation - -## 2.9.0 - -Support for more than one : in -S option (by @boredland) - -Fixed declaration files generations for enums (by @DanielRose) - -## 2.8.0 - -Add `as const` on enum objects to not use type object values as strings - -## 2.7.0 - -Added `enumGraphqlEnumName` exports to get access to enum strings - -## 2.6.0 - -- Query any interface on an union, not only the common ones -- Fixed \_\_typename always optional - -## 2.5.0 - -- Do not query falsy values when using \_\_scalar - -## 2.4.0 - -- Ability to query interfaces that a union implements https://github.com/remorses/genql/issues/44 - -## 2.3.3 - -- `genql-cli` package becomes `@genql/cli` -- `genql-runtime` package becomes `@genql/runtime` -- headers can be an async function -- you can now add an operation name to a query using `__name` -- only generate commonjs code by default (using require and module.exports) to prevent people from importing from `index.esm`, use the `--esm` flag if you want to use esm -- response types only include requested fields -- added built in batching (see https://genql.dev/docs/usage/batching-queries) -- `--sort` flag -- generated `types.json` now is `types.js` -- smaller `types.js` and hence smaller bundle size -- made the website page converter to convert from graphql queries to genql code: https://genql.dev/converter -- custom `fetcher` now has type `(operation: GraphqlOperation | GraphqlOperation[], ) => Promise` to support built in batching -- added a `@genql/cli/printer` module to print a graphql query AST to genql code diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 120000 index 0000000..bad6c58 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +cli/CHANGELOG.md \ No newline at end of file diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md new file mode 100644 index 0000000..70f52ec --- /dev/null +++ b/cli/CHANGELOG.md @@ -0,0 +1,64 @@ +# @genql/cli + +## 6.3.3 + +### Patch Changes + +- Deprecate cli options --esm + +## 6.3.1 + +- Fix array types when array content is nullable, https://github.com/remorses/genql/pull/144. Thanks to @wellguimaraes + +## 6.3.0 + +- Fix custom scalars typed with object types +- Make required top level arguments with defaults non required +- \_\_scalar: true should exclude scalars with required arguments + +## 2.10.0 + +Fixed problem generating interfaces without any implementation + +## 2.9.0 + +Support for more than one : in -S option (by @boredland) + +Fixed declaration files generations for enums (by @DanielRose) + +## 2.8.0 + +Add `as const` on enum objects to not use type object values as strings + +## 2.7.0 + +Added `enumGraphqlEnumName` exports to get access to enum strings + +## 2.6.0 + +- Query any interface on an union, not only the common ones +- Fixed \_\_typename always optional + +## 2.5.0 + +- Do not query falsy values when using \_\_scalar + +## 2.4.0 + +- Ability to query interfaces that a union implements https://github.com/remorses/genql/issues/44 + +## 2.3.3 + +- `genql-cli` package becomes `@genql/cli` +- `genql-runtime` package becomes `@genql/runtime` +- headers can be an async function +- you can now add an operation name to a query using `__name` +- only generate commonjs code by default (using require and module.exports) to prevent people from importing from `index.esm`, use the `--esm` flag if you want to use esm +- response types only include requested fields +- added built in batching (see https://genql.dev/docs/usage/batching-queries) +- `--sort` flag +- generated `types.json` now is `types.js` +- smaller `types.js` and hence smaller bundle size +- made the website page converter to convert from graphql queries to genql code: https://genql.dev/converter +- custom `fetcher` now has type `(operation: GraphqlOperation | GraphqlOperation[], ) => Promise` to support built in batching +- added a `@genql/cli/printer` module to print a graphql query AST to genql code diff --git a/cli/package.json b/cli/package.json index 21e17f2..5e34c49 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@genql/cli", - "version": "6.3.2", + "version": "6.3.3", "description": "Generate a TypeScript SDK for any GraphQl API", "main": "dist/index.js", "types": "dist/index.d.ts",