Releases: graphql-hive/graphql-eslint
November 19, 2024
@graphql-eslint/[email protected]
Minor Changes
- #2719
57d6edf
Thanks @dimaMachina! - check for deprecated arguments and object
field nodes in graphql operations inno-deprecated
rule
November 17, 2024
@graphql-eslint/[email protected]
Patch Changes
-
#2711
b15df66
Thanks @dimaMachina! - Reenable running
require-id-when-available
onFragmentDefinition
-
#2713
8b6d46b
Thanks @dimaMachina! -naming-convention
rule should not fail
when aliasing underscore fields
November 17, 2024
@graphql-eslint/[email protected]
Major Changes
- #2281
c53cb4e
Thanks @maciesielka! - Add new config option
ignoredFieldSelectors
tono-unused-fields
rule to ignore all the relay pagination fields for
every connection exposed in schema for example
November 16, 2024
@graphql-eslint/[email protected]
Major Changes
- #2319
b3c73dc
Thanks @maciesielka! - Enforcerequire-selections
on
FragmentSpread
s withinGraphQLUnionType
s
November 16, 2024
@graphql-eslint/[email protected]
Patch Changes
- #2277
3b35bae
Thanks @yoavain-sundaysky! - fix false positive cases for
require-import-fragment
on Windows, whengraphql-config
'sdocuments
key contained glob
pattern => source file path of document contained always forward slashes
November 16, 2024
@graphql-eslint/[email protected]
Minor Changes
November 13, 2024
@graphql-eslint/[email protected]
Major Changes
-
#2598
e771499
Thanks @bmulholland! - 1. graphql plugin can now we be specified
asplugins: { - '@graphql-eslint': { - graphqlPlugin.rules - } + '@graphql-eslint': graphqlPlugin }
-
Config rules should now be accessed through the
rules
propertyrules: { - ...graphqlESLint.configs['flat/operations-recommended'] + ...graphqlESLint.configs['flat/operations-recommended'].rules
-
processor can now be specified with accessing
processor
property- processor: graphql.processors.graphql + processor: graphqlPlugin.processor
-
The plugin can now be imported using a default import
- import * as graphql from '@graphql-eslint/eslint-plugin' + import graphqlPlugin from '@graphql-eslint/eslint-plugin'
-
Patch Changes
- #2692
dcf4e35
Thanks @dimaMachina! - fix some issues on Windows by running
tests with matrix on github CI
October 18, 2024
@graphql-eslint/[email protected]
Patch Changes
-
#2616
c0f1b07
Thanks @fcortes! - The import attribute syntax (with { type: "json"
}) is still experimental so warnings showed up when using the library as it was being used to
import the package.json file to extract the package versionAs an alternative, the current version will be injected on build time through tsup configuration.
October 09, 2024
@graphql-eslint/[email protected]
Patch Changes
- #2605
2ae64e1
Thanks @dimaMachina! - fix types exports by
@arethetypeswrong/cli
package
August 09, 2024
@graphql-eslint/[email protected]
Patch Changes
- #2483
d52585a
Thanks @dimaMachina! - fix compatibility with Node.js v22