# What changed in yjs

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

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

## yjs 13

### Breaking changes

- newValue was removed from YEvent. (13.6.28) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.28)

### Fixes and other changes

- Deep events now have currentTarget set right before observers are called. (13.6.33) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.33)
- Fixes UndoManager clearing the destroy handler. (13.6.32) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.32)
- Fixes undoing setAttribute combined with delete corrupting remote state. (13.6.31) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.31)
- Fixes mutation of DeleteItem during sortAndMergeDeleteSet. (13.6.30) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.30)
- Errors in deep event handlers are caught. (13.6.29) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.29)
- Cloning yxmlElement now properly handles attributes that are not strings. (13.6.28) — [release notes](https://github.com/yjs/yjs/releases/tag/v13.6.28)
