# What changed in graphql-scalars

> 4 changes in graphql-scalars 1 to 2 from its official release notes, upgrade guides and advisories: 2 breaking. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/graphql-scalars/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## graphql-scalars 2

### Breaking changes

- 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.0) — [release notes](https://github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.0)
- Support for Node.js 20 is dropped. (2.0.0) — [release notes](https://github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.0)

### Performance

- Regex parsing now matches in linear time while accepting exactly the same values. (2.0.1) — [release notes](https://github.com/graphql-hive/graphql-scalars/releases/tag/v2.0.1)

## graphql-scalars 1

### Behavior and default changes

- The peer dependency range now includes graphql ^17.0.0, allowing the package to be used with that version. (1.26.0) — [release notes](https://github.com/graphql-hive/graphql-scalars/releases/tag/v1.26.0)
