# What changed in local-replica

> 9 changes in local-replica 0.0 to 0.4 from its official release notes, upgrade guides and advisories: 5 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/local-replica/

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

## local-replica 0.4

### New APIs and options

- Adds a built-in zustand driver, so a replica no longer needs a fetching library. (0.4.0) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.4.0)

### Fixes and other changes

- useSync callers subscribe to isValidating and error only when those values are read. (0.4.1) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.4.1)

## local-replica 0.3

### New APIs and options

- Adds a driver for TanStack Query v5. (0.3.0) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.3.0)

## local-replica 0.2

### New APIs and options

- Adds createReplica. (0.2.0) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.2.0)
- Adds a store-less useReplica hook. (0.2.0) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.2.0)

### Fixes and other changes

- Accepts SWR's mutate as is. (0.2.0) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.2.0)
- Infers the store from get / set. (0.2.0) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.2.0)

## local-replica 0.1

### Fixes and other changes

- A useSync request that lands after params turn null is settled. (0.1.1) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.1.1)

## local-replica 0.0

### New APIs and options

- Adds an effect that runs for every successful response. (0.0.4) — [release notes](https://github.com/lobehub/local-replica/releases/tag/v0.0.4)
