unstale

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 init

@unstale/cli on npm

graphql-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.

    2.0.0release notes

  • Support for Node.js 20 is dropped.

    2.0.0release notes

Performance 1

  • Regex parsing now matches in linear time while accepting exactly the same values.

    2.0.1release notes

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.

    1.26.0release notes