MobX v4.2.0 Release Notes

    • ๐Ÿ‘€ 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