graphql-jit
0.10.1 · 18 Nov 2026MIT687.3k / weekRepositoryHomepagenpmAtom feed
Upgrading graphql-jit From 0.0.8 to 0.10.1
46 releases in betweennotes for 11
- 3+
- changes to make
- 0
- advisories fixed
- ?
- new
- 15+
- fixes
Counted from 11 of 46 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.10.0
- Breaking0.10.0
- Breaking0.9.0
Release by release
- Breaking
Removes the
useExperimentalPathBasedSkipIncludecompiler option. Path-based skip/include is now always on, so remove the option fromcompileQuerycalls. - Breaking
- Fixed
Removes
JitFieldNode,serializeObjectPathForSkipIncludeandjoinSkipIncludePathfromsrc/ast.ts. - Fixed
Removes the
parentResponsePathparameter fromcollectFieldsandcollectSubfields. - Fixed
- Fixed
- Breaking
0.9.5nothing new or fixed in the note
- Fixed
fix: correct input value handling for defaults, variables and mutation ordering (#302) by @boopathi — Improves spec compliance for input values and mutations. Fixes #230 and #91.
- Fixed
fix: respect GraphQL version for scalar coercion (#308) by @mcollina —
coerceOutputValue,coerceInputValueandcoerceInputLiteralare now used only on GraphQL 17+. GraphQL 15 and 16 keep usingserialize,parseValueandparseLiteral, even if schema tooling attached the newer methods to the scalar. This makes graphql-jit match thegraphql-jsexecutor on every supported version.
- Fixed
- Fixed
fix: support typesVersions for older projects to upgrade by @boopathi — Adds a
typesVersionsmap topackage.jsonso projects onmoduleResolution: "node"(node10) can resolve types forgraphql-jit/dist/*imports. These imports were restored at runtime in 0.9.2, but TypeScript on legacy resolution couldn't find their declarations. Projects that use them, including through a transitive dependency, can now upgrade. Modern resolvers still use theexportsmap.
- Fixed
- Fixed
fix: restore legacy graphql-jit/dist/* imports for compatibility (#303) by @boopathi — Adds
./dist/*package exports for both CJS and ESM, with their type declarations. Imports such asgraphql-jit/dist/resolve-infoworked in 0.8.x, and 0.9.x had dropped them. Projects that use them, including through a transitive dependency, can now upgrade.
- Fixed
- Fixed
fix: preserve custom scalar class instances (#300) by @boopathi — Custom scalar literals used in query arguments and input objects now keep their parsed class instances (for example
Temporal.PlainDate) instead of being turned into strings. Replaces the magic-string substitutions with type-based serialization and hoists custom scalar values into the compiled code. Fixes #266. - Fixed
fix: SDL literals default values coercion (#297) by @boopathi — Argument and input-field defaults declared in SDL are now applied under GraphQL 17, where
buildSchema()represents them in the{ literal }form. Custom scalars now usecoerceInputValueandcoerceOutputValuewhen they are defined, matchinggraphql-js. Fixes #295 and #296.
- Fixed
- Breaking
The internal
debugcompiler option now requires an object instead of a boolean. Replacedebug: truewithdebug: { enabled: true }. To disable debugging, omitdebugor usedebug: { enabled: false }. See feat: add virtual scripts for debugging compiled code (#290) - Fixed
fix: esm/cjs dual package output (#292) by @boopathi — Publishes ESM and CommonJS builds and their type declarations in separate directories, with matching package exports.
- Fixed
fix: support esm imports of grahpql js (#293) by @boopathi — Removes deep GraphQL imports to avoid mixing module formats and preserves GraphQL 15/16 compatibility.
- Breaking
2 other lines we could not sort, mostly version bumps
- 0.9.1
Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#299) — Adds a top-level
permissions: contents: readblock to the build workflow. - 0.9.1
build(deps): bump dset from 3.1.2 to 3.1.4 (#254) by @dependabot — Includes a fix that prevents
__proto__assignment via an implicit string.
7 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.