All Versions
Latest Version
Avg Release Cycle
27 days
Latest Release
560 days ago

Changelog History
Page 6

  • v4.11.0 Changes


    🔒 Reverted the support of Symbols in general in MobX 4, as it gives to many potential build errors and increases the system requirements for MobX 4 (which was an oversight in 4.10.0). Apologies for the breaking change (lack of new major version numbers). If lock files are properly used however, no harm should be caused by this change.

    • ⏪ Reverted Symbol support in observable maps and objects. Reverts #1944 through #1988. Fixes #1986, #1987
  • v4.9.3 Changes

    • 👀 Fixed observable.set compatibility with IE 11, see #1917 by kalmi
  • v4.9.2 Changes

    • 🛠 Fixed regression #1878, accidental use of Symbol breaking Internet Explorer / React Native compatibility.
  • v4.9.1 Changes

    • 🛠 Fixed regression in toJS: observable maps were not properly serialized. Fixes #1875
  • v4.3.2 Changes

    • 🛠 Fixed #1685: expose IAutorunOptions
    • decorate now can apply multiple decorators, by accepting an array and applying them right to left: decorate(Todo, { title: [serializable(primitive), persist('object'), observable] }). By @ramybenaroya through #1691 and #1686
    • Improved typings of flow so that it accepts async generators. By @dannsam through #1656 and #1655
    • 🛠 keys() now also supports arrays. Fixes #1600 through #1601 by @nunocastromartins
  • v4.3.1 Changes

  • v4.3.0 Changes

    • Introduced the entries(observable) API, by @samjacobclift through #1536
    • 👀 Fixed #1535: Change in nested computed value was not propagated if read outside action context when there is a pending reaction. For more details see the exact test case.
    • ⚠ Illegal property access through prototypes is now a warning instead of an error. Fixes #1506. By @AmazingTurtle through #1529
    • 🛠 Fixed issue where providing a custom setter to @computed({ set: ... }) wasn't picked up
    • 🛠 Fixed #1545: Actions properties where not re-assignable when using TypeScript
    • ⚠ Illegal Access checks are now a warning instead of an error. Fix
  • v4.2.1 Changes

    • 🔧 Fixed flow typings for mobx.configure #1521 by @andrew--r
    • 🛠 Improved typings for mobx.flow, fixes #1527
    • Throw error when using @observable in combination with a getter. #1511 by @quanganhtran
    • toJS now uses Map internally, for faster detection of cycles. #1517 by @loatheb
    • 🛠 Fixed #1512: observe hooks not being triggered when using mobx.set, Fixed in #1514 by @quanganhtran
    • ✅ Several minor improvements, additional tests and doc improvements.
  • v4.2.0 Changes

    • 👀 Introduced configure({ enforceActions: "strict" }), which is more strict then enforceActions: true, as it will also throw on non-observed changes to observables. See also #1473
    • 🛠 Fixed #1480: Exceptions in the effect handler of reaction where not properly picked up by the global reaction system
    • ⚡️ Fixed a bug where computed values updated their cached value, even when the comparer considered the new value equal to the previous one. Thanks @kuitos for finding this and fixing it! #1499
    • 🗄 Undeprecated ObservableMap, fixes #1496
    • 🛠 Observable arrays now support Symbol.toStringTag (if available / polyfilled). This allows libraries like Ramda to detect automatically that observable arrays are arrays. Fixes #1490. Note that Array.isArray will keep returning false for the entire MobX 4 range.
    • 🔧 Actions are now always configurable and writable, like in MobX 3. Fixes #1477
    • 🔀 Merged several improvements to the flow typings. #1501 by @quanganhtran
    • 🛠 Fixed several accidental usages of the global fail, by @mtaran-google through #1483 and #1482
  • v4.1.1 Changes

    • 0️⃣ Import default from MobX will no longer throw, but only warn instead. This fixes some issues with tools that reflect on the default export of a module
    • 🛠 Disposing a spy listener inside a spy handler no longer causes an exception. Fixes #1459 through #1460 by farwayer
    • Added a missing runInAction overload in the flow typings. #1451 by AMilassin
    • 👀 Improved the typings of decorate. See #1450 by makepost