Major
-
Updated Node.js support to
^22.13.0 || ^24.0.0 || >=26.0.0. -
Updated the optional peer dependency
@types/expressto^5.0.0. -
Updated the optional peer dependency
@types/koato^3.0.0. -
Updated the peer dependency
graphqlto^17.0.0. -
Migrated the scalar
GraphQLUploadto thegraphqlv17 scalar method names:parseValue→coerceInputValue.parseLiteral→coerceInputLiteral.serialize→coerceOutputValue.
-
Changed imports from
graphqlto deep imports, for slightly more optimal JavaScript module design. This can be further improved once graphql/graphql-js#4442 is implemented. -
The type
FileUploadis no longer re-exported fromgraphql-upload/GraphQLUpload.mjs. To migrate TypeScript type imports:- import type { FileUpload } from "graphql-upload/GraphQLUpload.mjs"; + import type { FileUpload } from "graphql-upload/processRequest.mjs";
Patch
- Removed the package field
devEnginesas the development and runtime supported Node.js versions are the same again. - Updated package scripts.
- Updated GitHub Actions CI config:
- Improved the triggers.
- Renamed the job
teststotest. - Run tests with the lower and upper bounds of each supported major Node.js version.
- Removed conditionality for Node.js < v22 support.
- Removed no longer necessary polyfills for global
File,Promise.withResolvers, andRequest.prototype.bytesin tests. - Removed no longer necessary Node.js version conditionality in tests.
- Refactored tests from
describeandittosuiteandtest. - Implemented a new test helper function
serverCloseto ensure tests await the proper closing of servers and all connections, speeding up test runs (particularly in older Node.js versions). - Added an end-to-end test.
- Added a
.gitattributesfile to enforce LF line endings. - Sorted config in
.editorconfig. - Edited the changelog for consistency.