npm / graphql-scalars
graphql-scalars
What changed in graphql-scalars 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
2 breaking1 performance1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initgraphql-scalars 23 changes
Breaking changes 2
Support for graphql-js versions below 16.0.0 is dropped; the peer dependency range is now ^16.0.0 || ^17.0.0.
Support for Node.js 20 is dropped.
Performance 1
Regex parsing now matches in linear time while accepting exactly the same values.
graphql-scalars 11 changes
Behavior and default changes 1
The peer dependency range now includes graphql ^17.0.0, allowing the package to be used with that version.