MobX v5.9.0 Release Notes

  • ๐Ÿ”‹ Features

    • ๐Ÿ‘ Introduced support for observable sets! Through #1592 by @newraina
    • ๐Ÿ›  observable.box now accepts an equals option, to be able to pass a custom comparision function. Through #1862, #1874 by @fi3ework. Fixes #1580
    • โš  Improved logging of reactions; if an action throws an exception, errors in reactions that react to that are only logged as warnings. Fixes #1836

    ๐Ÿ›  Fixes

    • ๐Ÿ‘€ Improved typings for flow, see #1827 by @xaviergonz
    • ๐Ÿ›  Don't allow subclassing map, fixes #1858
    • ๐Ÿ›  Fixed trace(true) not being able to handle multi-line comments in traced function. Fixes #1850
    • ๐Ÿ”ง @computed now introduces non-configurable properties, to fail fast on incorrect inheritance or property deletion. Fixes #1867
    • ๐Ÿ›  The options enforceActions and isolateGlobalState now work correctly when used together. Fixes #1869