# What changed in valtio

> 5 changes in valtio 2 from its official release notes, upgrade guides and advisories: 1 breaking, 2 deprecations. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/valtio/

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

## valtio 2

### Breaking changes

- The ops callback is disabled by default; call unstable_enableOp(true) from valtio/vanilla to keep the previous behavior. (2.3.0) — [release notes](https://github.com/pmndrs/valtio/releases/tag/v2.3.0)

### Deprecations

- derive is deprecated. (2.3.0) — [release notes](https://github.com/pmndrs/valtio/releases/tag/v2.3.0)
- watch is deprecated. (2.3.0) — [release notes](https://github.com/pmndrs/valtio/releases/tag/v2.3.0)

### Fixes and other changes

- Removed from createSnapshotDefault for Hermes compatibility in React Native. (2.3.2) — [release notes](https://github.com/pmndrs/valtio/releases/tag/v2.3.2)
- Reverted the change made in v2.2.0 that seemed to cause a problem in an edge case. (2.3.1) — [release notes](https://github.com/pmndrs/valtio/releases/tag/v2.3.1)
