Skip to content

Tags: mobxjs/mobx-state-tree

Tags

v7.0.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: version bump (#2247)

v7.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump to 7.0.1 and publish docs (#2235)

v7.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Chore/version bump 7.0.0 (#2223)

* docs: update docs for 7.0.0

* docs: publish docs for 7.0.0

v7.0.0-pre.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: version bump for preview release (#2201)

v7.0.0-pre.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Validate state tree instances instead of snapshots in the `SnapshotPr…

…ocessor.is` override (#2182)

* Validate state tree instances instead of snapshots in the SnapshotProcessor.is override

This fixes a bug where within `.is` on models with snapshot processors, we validated against the model snapshot, instead of the model node when given a node. This means that two different models with compatible snapshots would not `.is` instances of each other normally, but once a snapshot processor is added, they would. This adds a failing test capturing this case.

The PR that introduced this behaviour of validating the snapshot was introduced here: #1495, and I think was actually targeting a different use case -- passing *snapshots* to `.is`, not passing instances. The behaviour that PR added was to validate against the __processed__ version of a snapshot if passed a snapshot, which this PR maintains. But, if passed an instance, that PR elected to snapshot it as well, which I don't think is necessary, and breaks the substitutability of snapshot processed instances with their unwrapped counterparts.

* docs: bump JSdocon snapshotProcessor is

* docs: one more link for snapshotProcessor

* chore: version bump to 7.0.0-pre.1

---------

Co-authored-by: Tyler Scott Williams <[email protected]>

v6.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Chore/6.0.1 version bump (#2191)

* chore: bump to version 6.0.1

* chore: bun install

* docs: run docs publish for 6.0.1

v6.0.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: bump to v6.0.0 and build docs (#2179)

* chore: bump to v6.0.0 and build docs

* chore: build docs before 6.0.0 release

v6.0.0-pre.3

chore: version bump to 6.0.0-pre.3

v5.4.2

chore: version bump to 5.4.2

6.0.0-pre.2

chore: version bump