Skip to content

Releases: zalando-incubator/graphql-jit

v0.8.7

21 Oct 21:02
114943d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.6...v0.8.7

v0.8.6

20 Mar 13:29
ce2342d
Compare
Choose a tag to compare

Notable changes

Full Changelog: v0.8.5...v0.8.6

v0.8.5

18 Mar 07:58
5dadec9
Compare
Choose a tag to compare

Notable changes

  • fix: non-null field returning null sometimes triggers TypeError by @bbnjmn in #209
  • feat: output both esm and cjs; upgrade dependencies by @boopathi in #226

New Contributors

Full Changelog: v0.8.4...v0.8.5

v0.8.4

04 Jul 10:36
9b2ef20
Compare
Choose a tag to compare

Improvements:

  • Remove memoization for collectSubFields to reduce memory pressure and gc (#214)

v0.8.3

29 Jun 10:10
d6368f6
Compare
Choose a tag to compare

Fixes:

  • Move the initialization of __internalShouldIncludePath behind the option useExperimentalPathBasedSkipInclude to avoid unnecessary object generation and increased garbage collection runs when the feature is not in use #210

The option introduced in the release https://github.com/zalando-incubator/graphql-jit/releases/tag/v0.8.1 will now be used to control initialization of field node metadata. This is to avoid increased garbage collection runs observed in the previous release.

Dependency updates:

  • upgrade jest from v27.0.3 to v29.5.2 (#206)
  • upgrade @graphql-typed-document-node/core from 3.1.1 to 3.1.2 (#198)
  • upgrade fast-json-stringify to ^5.7.0 (#203)
  • upgrade @graphql-typed-document-node/core from 3.1.2 to 3.2.0 (#207)

v0.8.2

27 Apr 13:34
9f177dd
Compare
Choose a tag to compare

Fixes:

  • fix: improve event loop lag of compilation - use the option(useExperimentalPathBasedSkipInclude) to compute path based skip/include (#200)

The option introduced in the previous release https://github.com/zalando-incubator/graphql-jit/releases/tag/v0.8.1 will now be used in the computation of the skip include compiled code as well. This is to avoid high event-loop-lag observed in the previous release.

v0.8.1

30 Mar 14:57
5645871
Compare
Choose a tag to compare

Bug Fixes:

  • fix: skip include logic handling multiple paths to same node (PR: #197) (Issue: #166)

This release introduces a new CompilerOption useExperimentalPathBasedSkipInclude. If you have multiple "fragment spreads" pointing to the same fragment and use skip include inside the fragment, it is recommended to use this option to avoid a bug. In future releases, this option will be removed when it becomes the default.

For example,

const compiledQuery = compileQuery(
  schema, ast, operationName,
  {
    useExperimentalPathBasedSkipInclude: true
  }
);

v0.8.0

30 Jan 11:07
1952ef6
Compare
Choose a tag to compare

What's Changed

Breaking Changes:

  • Drop build for Node 12, add 18 (#188)

Bug fixes:

  • fix: validation for skip/include with default values (#193)
  • fix: field expansion - fill only relevant fields while traversing abstract types (#180)
  • fix: update deprecated API in GraphQL JS to new API (#179)

Version updates:

  • Bump minimatch from 3.0.4 to 3.1.2 (#192)
  • Bump decode-uri-component from 0.2.0 to 0.2.2 (#186)
  • Bump json5 from 1.0.1 to 1.0.2 (#187)

Other changes:

  • Add test case to json.test.ts (#191)

Full Changelog: v0.7.4...v0.8.0

v0.7.4

24 May 15:58
0324974
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.3...v0.7.4

v0.7.3

15 Feb 13:39
7e9409f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.2...v0.7.3