Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#6622)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Sep 7, 2021
1 parent 3e38de3 commit 1af50a2
Show file tree
Hide file tree
Showing 20 changed files with 110 additions and 93 deletions.
50 changes: 0 additions & 50 deletions .changeset/clean-beds-dance.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-ligers-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-tables-float.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-insects-kick.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/quick-candles-suffer.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stupid-actors-kneel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-items-film.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/graphql-cli-codegen-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @graphql-cli/codegen

## 2.1.2

### Patch Changes

- Updated dependencies [3e38de399]
- Updated dependencies [3e38de399]
- @graphql-codegen/cli@2.2.0

## 2.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql-cli-codegen-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-cli/codegen",
"version": "2.1.1",
"version": "2.1.2",
"description": "GraphQL Code Generator's GraphQL CLI plugin. GraphQL Code Generator is a tool that generates code from your GraphQL schema and documents for your backend or frontend with flexible support for custom plugins and templates.",
"license": "MIT",
"keywords": [
Expand All @@ -26,7 +26,7 @@
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-codegen/cli": "2.1.1",
"@graphql-codegen/cli": "2.2.0",
"@graphql-cli/common": "4.1.0"
},
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/graphql-codegen-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @graphql-codegen/cli

## 2.2.0

### Minor Changes

- 3e38de399: feat: sort the schema if "sort" option is provided

### Patch Changes

- 3e38de399: fix: handle convertExtensions properly with schema definitions

## 2.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-codegen-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/cli",
"version": "2.1.1",
"version": "2.2.0",
"license": "MIT",
"bin": {
"gql-gen": "dist/bin.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/plugins/other/schema-ast/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphql-codegen/schema-ast

## 2.2.0

### Minor Changes

- 3e38de399: feat: sort the schema if "sort" option is provided

## 2.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/other/schema-ast/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/schema-ast",
"version": "2.1.0",
"version": "2.2.0",
"description": "GraphQL Code Generator plugin for generating a .graphql file from a given schema",
"repository": {
"type": "git",
Expand Down
61 changes: 61 additions & 0 deletions packages/plugins/typescript/react-query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# @graphql-codegen/typescript-react-query

## 3.0.0

### Major Changes

- 545c47039: Change `fetchParams` configuration option from object to string.The string will be inserted 1:1 into the generated code. This is a breaking change!

This allows more flexibility for customization. Here are some examples:

**Use an imported object for configuration**

```yaml
schema: MY_SCHEMA_PATH
documents: './src/**/*.graphql'
generates:
./generates.ts:
plugins:
- add:
content: "import { endpointUrl, fetchParams } from './my-config';"
- typescript
- typescript-operations
- typescript-react-query
config:
fetcher:
endpoint: 'endpointUrl'
fetchParams: 'fetchParams'
```
**Use environment variables for configuration**
```yaml
schema: MY_SCHEMA_PATH
documents: './src/**/*.graphql'
generates:
./generates.ts:
plugins:
- typescript
- typescript-operations
- typescript-react-query
config:
fetcher:
endpoint: 'endpointUrl'
# Multiline string
fetchParams: >
{
headers: {
apiKey: process.env.APIKEY,
somethingElse: process.env.SOMETHING,
},
}
```
- 5dc59c86f: Queries without variables will no longer have an undefined entry in their query key
### Minor Changes
- 99af5063e: Allow passing `headers` to `graphql-request`.

### Patch Changes

- ec2cba5e0: [typescript-react-query] Pass dataSource as argument to fetcher

## 2.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/typescript/react-query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/typescript-react-query",
"version": "2.1.3",
"version": "3.0.0",
"description": "GraphQL Code Generator plugin for generating a ready-to-use React-Query Hooks based on GraphQL operations",
"repository": {
"type": "git",
Expand Down
6 changes: 6 additions & 0 deletions packages/plugins/typescript/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @graphql-codegen/typescript

## 2.2.1

### Patch Changes

- cfa0a8f80: Apply missing namingConvention when numericEnums is used

## 2.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/typescript/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/typescript",
"version": "2.2.0",
"version": "2.2.1",
"description": "GraphQL Code Generator plugin for generating TypeScript types",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/presets/gql-tag-operations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @graphql-codegen/gql-tag-operations-preset

## 1.1.4

### Patch Changes

- Updated dependencies [cfa0a8f80]
- @graphql-codegen/typescript@2.2.1

## 1.1.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/presets/gql-tag-operations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-codegen/gql-tag-operations-preset",
"version": "1.1.3",
"version": "1.1.4",
"description": "GraphQL Code Generator preset for gql magic.",
"repository": {
"type": "git",
Expand All @@ -19,7 +19,7 @@
"dependencies": {
"@graphql-codegen/add": "3.1.0",
"@graphql-codegen/typed-document-node": "2.1.3",
"@graphql-codegen/typescript": "2.2.0",
"@graphql-codegen/typescript": "2.2.1",
"@graphql-codegen/typescript-operations": "2.1.3",
"@graphql-codegen/gql-tag-operations": "1.1.3",
"tslib": "2.3.1"
Expand Down
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@graphql-codegen/add": "3.1.0",
"@graphql-codegen/c-sharp": "4.1.3",
"@graphql-codegen/c-sharp-operations": "2.1.3",
"@graphql-codegen/cli": "2.1.1",
"@graphql-codegen/cli": "2.2.0",
"@graphql-codegen/flow": "2.1.3",
"@graphql-codegen/flow-operations": "2.1.3",
"@graphql-codegen/flow-resolvers": "2.1.3",
Expand All @@ -41,10 +41,10 @@
"@graphql-codegen/java-resolvers": "2.1.3",
"@graphql-codegen/jsdoc": "2.1.3",
"@graphql-codegen/near-operation-file-preset": "2.1.3",
"@graphql-codegen/schema-ast": "2.1.0",
"@graphql-codegen/schema-ast": "2.2.0",
"@graphql-codegen/time": "3.1.0",
"react-markdown": "7.0.1",
"@graphql-codegen/typescript": "2.2.0",
"@graphql-codegen/typescript": "2.2.1",
"@graphql-codegen/typed-document-node": "2.1.3",
"@graphql-codegen/typescript-apollo-angular": "3.1.3",
"@graphql-codegen/typescript-generic-sdk": "2.1.3",
Expand All @@ -53,7 +53,7 @@
"@graphql-codegen/typescript-mongodb": "2.1.3",
"@graphql-codegen/typescript-operations": "2.1.3",
"@graphql-codegen/typescript-react-apollo": "3.1.3",
"@graphql-codegen/typescript-react-query": "2.1.3",
"@graphql-codegen/typescript-react-query": "3.0.0",
"@graphql-codegen/typescript-rtk-query": "2.1.3",
"@graphql-codegen/typescript-resolvers": "2.2.0",
"@graphql-codegen/typescript-stencil-apollo": "2.1.3",
Expand Down

0 comments on commit 1af50a2

Please sign in to comment.