diff --git a/.changeset/hot-worms-unite.md b/.changeset/hot-worms-unite.md deleted file mode 100644 index e76c291609d..00000000000 --- a/.changeset/hot-worms-unite.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': minor ---- - -Improve `parseForESLint` API and allow to pass context schema as inline string. - -You can now use it this way: - -```ts -parseForESLint(code, { schemaSdl: 'type Query { foo: String }', filePath: 'test.graphql' }); -``` diff --git a/.changeset/lovely-dryers-notice.md b/.changeset/lovely-dryers-notice.md deleted file mode 100644 index 9a7be120948..00000000000 --- a/.changeset/lovely-dryers-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': patch ---- - -add `"./*"` to `exports` field in `package.json` diff --git a/.changeset/polite-impalas-float.md b/.changeset/polite-impalas-float.md deleted file mode 100644 index 2d1f25f70ba..00000000000 --- a/.changeset/polite-impalas-float.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@graphql-eslint/eslint-plugin': minor ---- - -- allow to config `naming-convention` for Relay fragment convention `_` - via `requiredPattern` option - -- replace `requiredPatterns: RegEx[]` by `requiredPattern: RegEx` option diff --git a/examples/graphql-config/package.json b/examples/graphql-config/package.json index 81676b5ba95..6191d76181c 100644 --- a/examples/graphql-config/package.json +++ b/examples/graphql-config/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "@eslint/js": "9.22.0", - "@graphql-eslint/eslint-plugin": "4.3.0", + "@graphql-eslint/eslint-plugin": "4.4.0", "eslint": "9.22.0" } } diff --git a/packages/plugin/CHANGELOG.md b/packages/plugin/CHANGELOG.md index 519e2ef02c3..c50f9e07d90 100644 --- a/packages/plugin/CHANGELOG.md +++ b/packages/plugin/CHANGELOG.md @@ -1,5 +1,34 @@ # @graphql-eslint/eslint-plugin +## 4.4.0 + +### Minor Changes + +- [#2902](https://github.com/graphql-hive/graphql-eslint/pull/2902) + [`86af780`](https://github.com/graphql-hive/graphql-eslint/commit/86af780138b3e238d842a8e37ac5fdb5486f763d) + Thanks [@dotansimha](https://github.com/dotansimha)! - Improve `parseForESLint` API and allow to + pass context schema as inline string. + + You can now use it this way: + + ```ts + parseForESLint(code, { schemaSdl: 'type Query { foo: String }', filePath: 'test.graphql' }) + ``` + +- [#2838](https://github.com/graphql-hive/graphql-eslint/pull/2838) + [`10b9975`](https://github.com/graphql-hive/graphql-eslint/commit/10b9975147e031717f955f2be747924bb800f237) + Thanks [@dimaMachina](https://github.com/dimaMachina)! - - allow to config `naming-convention` for + Relay fragment convention `_` via `requiredPattern` option + + - replace `requiredPatterns: RegEx[]` by `requiredPattern: RegEx` option + +### Patch Changes + +- [#2845](https://github.com/graphql-hive/graphql-eslint/pull/2845) + [`00b4617`](https://github.com/graphql-hive/graphql-eslint/commit/00b46173910663f1ce6d4e7b02d41fe3875edf86) + Thanks [@dimaMachina](https://github.com/dimaMachina)! - add `"./*"` to `exports` field in + `package.json` + ## 4.3.0 ### Minor Changes diff --git a/packages/plugin/package.json b/packages/plugin/package.json index 61e0e23d8bd..8277dce0f81 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-eslint/eslint-plugin", - "version": "4.3.0", + "version": "4.4.0", "type": "module", "description": "GraphQL plugin for ESLint", "repository": "https://github.com/dimaMachina/graphql-eslint",