Update dependency mobx to v4.15.4 #18
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.3.1->4.15.4Release Notes
mobxjs/mobx
v4.15.4Compare Source
v4.15.3Compare Source
v4.15.2Compare Source
extendObservable: can be used existing properties again. Fixes #2250 through #2252 by @davefeuchtv4.15.1Compare Source
_allowStateReadsStart&_allowStateReadsEnd. This is low level stuff you shouldn't need that's mostly useful for library creators. #2233observableRequiresReactionand updating observable during reaction #2195action#2213 (see detailed explanation)v4.15.0Compare Source
v4.14.1Compare Source
comparer.shallowfor shallow object/array comparisons #1561.v4.14.0Compare Source
reactionRequiresObservable&observableRequiresReactionconfig #2079, DocsrequiresObservableconfig toreaction,autorun&whenoptions #2079, Docsv4.13.1Compare Source
globalandselfkeywords unless defined. Fixes #2070._startActionand_endActionto be able to start and action and finish it without needing a code block. This is low level stuff you shouldn't need that's mostly useful for library creators.v4.13.0Compare Source
v4.12.0Compare Source
computedConfigurableconfig #2011, #2013v4.11.0Compare Source
BREAKING CHANGE
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.
Symbolsupport in observable maps and objects. Reverts #1944 through #1988. Fixes #1986, #1987v4.10.0Compare Source
setsupport forobservable.set, see #1945 by xaviergonzv4.9.4Compare Source
ObservableMap, see #1930 by pimterrytoStringTagfor Maps and Sets, see #1929 by lennerdv4.9.3Compare Source
observable.setcompatibility with IE 11, see #1917 by kalmiv4.9.2Compare Source
Symbolbreaking Internet Explorer / React Native compatibility.v4.9.1Compare Source
toJS: observable maps were not properly serialized. Fixes #1875v4.9.0Compare Source
Features
observable.boxnow accepts anequalsoption, to be able to pass a custom comparision function. Through #1862, #1874 by @fi3ework. Fixes #1580Fixes
flow, see #1827 by @xaviergonztrace(true)not being able to handle multi-line comments in traced function. Fixes #1850@computednow introduces non-configurable properties, to fail fast on incorrect inheritance or property deletion. Fixes #1867enforceActionsandisolateGlobalStatenow work correctly when used together. Fixes #1869v4.8.0Compare Source
flowin TypeScript 3. Fixes #1816 through #1825 by ismailhabibIGNORE_MOBX_MINIFIY_WARNING=trueto skip the built-in minification warning. See #1835 by fi3eworkv4.7.0Compare Source
@computedon a React component. The MobX 5 behavior here has been reverted to the MobX 4 behavior.v4.6.0Compare Source
keepAlivehas become smarter and won't recomputed computed values that are kept alive, as long as they aren't read. Implements #1534undefinedwas undetectedv4.5.2Compare Source
toJSnot handlingnullvalues correctly. Fixes #1557 through #1783 by @wangyiz4262v4.5.1Compare Source
toJSnow has arecurseEverythingeverything option, that even detects and converts observable objects that are "behind" non-observable objects. See #1699 by wangyiz4262comparer, see #1751 by pdongv4.5.0Compare Source
(Minor version of
5was bumped significantly to make the number better correlate together :-))extendObservablein a class constructor caused errors to be throwndelete-ing a property was not always picked up by the reactivity systemremove()-ing a property was not always picked up by thehas()andget()utilitieshasnow returnstruefor computed fieldsgetnow returns a value for computed fields_allowStateChangeInsideComputed. Don't use it :-).v4.4.2Compare Source
toStringdoes not behave correctly.v4.4.1Compare Source
decorate, see #1711 by makepostv4.4.0Compare Source
configure({ isolateGlobalState: true }). Note that this means that observables from the different MobX instances won't cooperate. Fixes #1681, #1082enforceActionsoptions now supports the values:"never","observed"and"always"to make the behavior more clear. Fixes #1680, #1473v4.3.2Compare Source
IAutorunOptionsdecoratenow 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 #1686flowso that it accepts async generators. By @dannsam through #1656 and #1655keys()now also supports arrays. Fixes #1600 through #1601 by @nunocastromartinsRenovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.