Skip to Content
GraphQL Tools

@graphql-tools/code-file-loader

8.1.32

Patch Changes

8.1.31

Patch Changes

8.1.30

Patch Changes

8.1.29

Patch Changes

8.1.28

Patch Changes

8.1.27

Patch Changes

8.1.26

Patch Changes

8.1.25

Patch Changes

8.1.24

Patch Changes

8.1.23

Patch Changes

8.1.22

Patch Changes

8.1.21

Patch Changes

8.1.20

Patch Changes

8.1.19

Patch Changes

8.1.18

Patch Changes

8.1.17

Patch Changes

8.1.16

Patch Changes

8.1.15

Patch Changes

8.1.14

Patch Changes

8.1.13

Patch Changes

8.1.12

Patch Changes

8.1.11

Patch Changes

8.1.10

Patch Changes

8.1.9

Patch Changes

8.1.8

Patch Changes

8.1.7

Patch Changes

8.1.6

Patch Changes

8.1.5

Patch Changes

8.1.4

Patch Changes

8.1.3

Patch Changes

8.1.2

Patch Changes

8.1.1

Patch Changes

8.1.0

Minor Changes

Patch Changes

8.0.3

Patch Changes

8.0.2

Patch Changes

8.0.1

Patch Changes

8.0.0

Major Changes

Patch Changes

7.3.23

Patch Changes

7.3.22

Patch Changes

7.3.21

Patch Changes

7.3.20

Patch Changes

7.3.19

Patch Changes

7.3.18

Patch Changes

7.3.17

Patch Changes

  • #5005 02e3f149 Thanks @Solo-steven! - # Fix CodeFile Loader’s Bug

    Original CodeFileLoader’s mergeOption method only does shadow copy, but option.pluckConfig is an object, shadow copy method would cause the coming option to overwrite the old option (pass when object construct).So we should change mergeOption to Deep copy, which would not cause overwrite.

7.3.16

Patch Changes

7.3.15

Patch Changes

7.3.14

Patch Changes

7.3.13

Patch Changes

7.3.12

Patch Changes

7.3.11

Patch Changes

7.3.10

Patch Changes

7.3.9

Patch Changes

7.3.8

Patch Changes

7.3.7

Patch Changes

7.3.6

Patch Changes

7.3.5

Patch Changes

7.3.4

Patch Changes

7.3.3

Patch Changes

7.3.2

Patch Changes

7.3.1

Patch Changes

7.3.0

Minor Changes

  • d76a299c: Support TypeScript module resolution.

Patch Changes

7.2.19

Patch Changes

7.2.18

Patch Changes

7.2.17

Patch Changes

7.2.16

Patch Changes

7.2.15

Patch Changes

7.2.14

Patch Changes

7.2.13

Patch Changes

7.2.12

Patch Changes

7.2.11

Patch Changes

7.2.10

Patch Changes

7.2.9

Patch Changes

7.2.8

Patch Changes

7.2.7

Patch Changes

7.2.6

Patch Changes

7.2.5

Patch Changes

  • 0c0c6857: fix - align versions
  • Updated dependencies [0c0c6857]

7.2.4

Patch Changes

7.2.3

Patch Changes

  • 5fb1f11b: fix(code-file-loader): do not swallow stack traces

7.2.2

Patch Changes

7.2.1

Patch Changes

  • 58262be7: enhance: show more clear error messages for aggregated error
  • Updated dependencies [58262be7]

7.2.0

Minor Changes

  • 00d06c2c: feat(loader): provide noSilentErrors option to allow raising errors during loader resolution

7.1.0

Minor Changes

  • c5b0719c: feat: GraphQL v16 support

Patch Changes

  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]
  • Updated dependencies [c5b0719c]

7.0.7

Patch Changes

  • c8c13ed1: enhance(load): handle multiple errors correctly
  • Updated dependencies [c8c13ed1]

7.0.6

Patch Changes

  • b64ff64d: fix(code-file-loader): return multiple sources for each plucked SDL block

7.0.5

Patch Changes

  • e50852e6: use version ranges instead of a fixed version for the graphql-tools package versions
  • Updated dependencies [e50852e6]

7.0.4

Patch Changes

7.0.3

Patch Changes

  • de38619b: “@graphql-tools/code-file-loader” no more returns multiple sources for each plucked GraphQL SDL. This breaks other tools such as GraphQL Code Generator.
  • Updated dependencies [b9684631]
  • Updated dependencies [9ede806a]
  • Updated dependencies [67691b78]

7.0.2

Patch Changes

7.0.1

Patch Changes

7.0.0

Major Changes

  • af9a78de: BREAKING CHANGE

    • Now each loader handles glob patterns internally and returns an array of Source object instead of single Source

    • GraphQL Tag Pluck now respects code locations and returns graphql-js Source objects for each found code block

    • Thanks to the one above, CodeFileLoader now returns different Source objects for each found SDL code block.

  • c5342de7: Loader.canLoad and Loader.canLoadSync can only handle file paths not glob patterns

Minor Changes

  • af9a78de: include rawSDL in Source of plucked files
  • bbb5746f: allow supplying config via constructor

Patch Changes

  • a31f9593: enhance(code-file-loader): remove extra work on loader level
  • Updated dependencies [af9a78de]
  • Updated dependencies [9c26b847]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [dae6dc7b]
  • Updated dependencies [6877b913]
  • Updated dependencies [c42e811d]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [8c8d4fc0]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [f1d7b3c2]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [74581cf3]
  • Updated dependencies [c0ca3190]
  • Updated dependencies [34c31de0]
  • Updated dependencies [982c8f53]
  • Updated dependencies [7d3e3006]
  • Updated dependencies [7d3e3006]

6.3.1

Patch Changes

  • f80ce4f4: Added support for loading tags from babel-plugin-relay/macro as well
  • Updated dependencies [f80ce4f4]

6.3.0

Minor Changes

  • 619c2143: Bump code-file loader to use latest graphql-tag-pluck

6.2.6

Patch Changes

  • eacf0dc3: Replace fs-extra with native methods

6.2.5

Patch Changes

6.2.4

Patch Changes

  • 533d6d53: Bump all packages to allow adjustments
  • Updated dependencies [32c3c4f8]
  • Updated dependencies [533d6d53]