Update dependency mobx to v6#31
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.2.0->^6.0.0Release Notes
mobxjs/mobx
v6.7.0Compare Source
Minor Changes
8cf4784f#3559 Thanks @urugator! - Proxied observable arrays can now safely read/write out of bound indices. See https://togithub.com/mobxjs/mobx/discussions/3537223e3688#3551 Thanks @deadbeef84! - Added new optionsignaltowhen(), to support abortion using an AbortSignal / AbortController.Patch Changes
fe25cfed#3566 Thanks @upsuper! - Make return value of reportObserved match invoke of onBecomeObservedv6.6.2Compare Source
Patch Changes
b375535c#3344 Thanks @Nokel81! - Allow readonly tuples as part of IObservableMapInitialValues7260cd41#3516 Thanks @urugator! - fix regression #3514: LegacyObservableArray compat with Safari 9.*78d1aa23#3458 Thanks @egilll! - A slight revamp of the README, wording, and clearer linksv6.6.1Compare Source
Patch Changes
63698d06#3427 Thanks @RyanCavanaugh! - Apply 'object' constraint where requiredv6.6.0Compare Source
Minor Changes
8e204c7b#3409 Thanks @Nokel81! - Remove observable.box type inconsistancyv6.5.0Compare Source
Minor Changes
767baff0#3338 Thanks @kubk! - Replace any with a generic in Set methodsv6.4.2Compare Source
Patch Changes
2caf7e1a#3316 Thanks @urugator! -requiresObservablealways takes precedence over globalreactionRequiresObservablev6.4.1Compare Source
Patch Changes
d6fa9a19#3306 Thanks @urugator! - fix missing type inferrence ofobserveandinterceptfor arraysv6.4.0Compare Source
Minor Changes
6b926833#3287 Thanks @kubk! - Remove any from 'merge' and 'replace' methods of ObservableMapPatch Changes
dee35be4#3300 Thanks @kubk! - Make the error message about Object.freeze more informativev6.3.13Compare Source
Patch Changes
23803202#3273 Thanks @urugator! - fixflow.bound#3271v6.3.12Compare Source
Patch Changes
654a2013#3257 Thanks @urugator! - fix: observable map initialization violatesenforceActions: "always"v6.3.11Compare Source
Patch Changes
bf5da6ba#3239 Thanks @bernardobelchior! - ImprovedtoJSjsdocv6.3.10Compare Source
Patch Changes
2d70798e#3233 Thanks @anderlaw! -eq.tsfix comparer logicv6.3.9Compare Source
Patch Changes
87e5a037#3214 Thanks @urugator! -requiresReactionalways takes precedence over globalcomputedRequiresReaction9b90e25c#3198 Thanks @urugator! - fixisPlainObjectimpl (fixes #3197)v6.3.8Compare Source
Patch Changes
9d5e65cb#3193 Thanks @ChocolateLoverRaj! - MakeIAtom['reportObserved']returnboolean55508af6#3189 Thanks @RvanderLaan! - Fix for RangeError in ObservableArray.replace for large arraysv6.3.7Compare Source
Patch Changes
3a7dee6f#3180 Thanks @kubk! - Fix type inference of observe functionv6.3.6Compare Source
Patch Changes
49468204#3162 Thanks @upsuper! - Have cancelled when reject with an error rather than a string4afb1ec2#3154 Thanks @urugator! -makeObservablethrows when mixing @decorator syntax with annotationsv6.3.5Compare Source
Patch Changes
4ac6b454#3146 Thanks @urugator! - fix #3109: spy: computed shouldn't report update unless the value changedv6.3.4Compare Source
Patch Changes
0dbf3eb6#3141 Thanks @urugator! - spy: bound actions report correct objectv6.3.3Compare Source
Patch Changes
d78a1592#2902 Thanks @z3rog! - chore: observable use internal constantsdb21d85f#2998 Thanks @urugator! -trace(): log when computed becomes suspendedrequiresReactionwarns instead of throwingb9fa119c#3056 Thanks @upsuper! - Create WHEN_TIMEOUT error earlier to capture useful stack99491ec2#2972 Thanks @kk-gjyang! - PolyfillObject.isfor old/unsupported browsers0d28db8a#2927 Thanks @upsuper! - Give proper typing to opts.equals of reactionc6dc925c#2985 Thanks @fecqs! - Remove duplicate global property checkv6.3.2Compare Source
Patch Changes
4011b378#2949 Thanks @urugator! - fix #2948: flow ignoresautoBindoptionv6.3.1Compare Source
Patch Changes
d678ebd7#2944 Thanks @urugator! - Fix #2941 - flow.bound replaces method on proto with bound functionv6.3.0Compare Source
Minor Changes
035bf409#2906 Thanks @urugator! - Provideflow.boundannotation/decoratorPatch Changes
3dedb4d4#2904 Thanks @ahoisl! - Make toJS work with computed value propsv6.2.0Compare Source
Release job failed. See https://github.com/mobxjs/mobx/pull/2842 for release notes
v6.1.8Compare Source
Patch Changes
ca4914f9#2836 Thanks @urugator! - Fix #2832 - annotation cache ignores overridesv6.1.7Compare Source
Patch Changes
5640aa77#2799 Thanks @urugator! - - fix: user provided debug names are not preserved on productionobservable(primitive, options)ignoresoptionsgetDebugName(action)throws[MobX] Cannot obtain atom from undefinedunsafe: truev6.1.6Compare Source
Patch Changes
9b195b17#2780 Thanks @iChenLei! - The overall memory usage of MobX has been reduced in production builds by skipping the generation of debug identifiers. The internalmapid_field of Reaction has been removed as part of the change.v6.1.5Compare Source
Patch Changes
3979bee3#2773 Thanks @urugator! - Decorators optimization7820e5ea#2769 Thanks @iChenLei! - add warn for extending builtinsa7c15171#2775 Thanks @pkit! - use globalThis in global detection5d41b646#2774 Thanks @urugator! - Fix:makeAutoObservablenow working properly with symbolic keysFix:
isComputedPropandgetAtomsecond arg type is incompatible with Symbolsv6.1.4Compare Source
Patch Changes
0677c0e7#2766 Thanks @urugator! - Fix: Inherited annotated fields are not assignablev6.1.3Compare Source
Patch Changes
d2a2a52e#2763 Thanks @vkrol! - AddsafeDescriptorstoconfigureoptions typev6.1.2Compare Source
Patch Changes
ca09f2f5#2761 Thanks @urugator! -configure({ safeDescriptors: false })now forces all props of observable objects to be writable and configurablev6.1.1Compare Source
Patch Changes
39eca50d#2757 Thanks @urugator! - Fix error stringification on minified buildFix
isObservablePropnot supportingSymbolsFix
makeAutoObservablenot ignoringinferredAnnotationsSymbolv6.1.0Compare Source
This release fixes a plethora of bugs related to sub-classing and reflecting / iterating on observable objects.
The behavior of MobX is in many edge cases much more explicitly defined now.
A new annotation was introduced:
@override/overrideto support re-defining actions and computed values(!) on sub classses.For idiomatic MobX usage this release should have little impact, but if you are using a lot of sub-classing, reflection APIs or direct object manipulations like
defineProperty,this release might introduce previously unseen errors for cases that silently failed before, or even worked successfully even though the correct behavior wasn't specified earlier.
If you are migrating from MobX 4/5 we strongly recommend to go to 6.1 in one go, and skip 6.0.*, as some buggy behavior compared to the previous majors has been corrected.
As always, our libraries come as-is and are maintained by volunteers. Upgrades are at own risk and voluntary. Bug reports require a minimal reproductions and a correctly filled out issue template.
Support the ongoing maintenance at: https://opencollective.com/mobx
Minor Changes
28f8a11d#2641 Thanks @urugator!action,computed,flowdefined on prototype can be overriden by subclass viaoverrideannotation/decorator. Previously broken.this) is not supported and should throw. Previously partially possible or broken.Object.defineProperty. Previously unsupported/broken.extendObservable/makeObservable/definePropertynotifies observers/listeners/interceptors about added props. Previously inconsistent.keys/values/entriesworks likeObject.keys/values/entries. Previously included only observables.hasworks likein. Previously reportedtrueonly for existing own observable props.setno longer transforms existing non-observable prop to observable prop, but simply sets the value.remove/deleteworks with non-observable and computed props. Previously unsupported/broken.optionstoobservable/extendObservable/makeObservablethrows if the object is already observable . Previously passed options were mostly ignored.autoBindoption is now sticky - same asdeepandnameoption.observable/extendObservablenow also picks non-enumerable keys (same asmake[Auto]Observable).action.bound("name")ReflectAPI. Previously throwing instead of returning booleans.v6.0.5Compare Source
Patch Changes
6b304232#2644 Thanks @rokoroku! - Fix broken error reference in errors.ts83b84fd3#2740 Thanks @iChenLei! - Infer optional / promiseactionargs type correctly65c7b73b#2717 Thanks @ahoisl! - The TypeScript typeCreateObservableOptionsis now exported.989390d4#2594 Thanks @urugator! - Fixed #2579 -observabledoes not ignore class instancesdea1cf18#2726 Thanks @mweststrate! - fix:onBecomeObservedwas not triggered correctly for computed dependencies of computeds. Fixes #2686, #2667592e6e99#2743 Thanks @vkrol! - RemovesideEffectssection inmobx-react-litepackage.jsonv6.0.4Compare Source
Patch Changes
79a09f49#2615 Thanks @urugator! - Fix #2614 -makeObservabledoes not respectoptions.namev6.0.3Compare Source
Patch Changes
d0e6778d- Create ESM bundles with NODE_ENV correctly replaced so it can be used in browser (#2564)v6.0.2Compare Source
Patch Changes
b5d64d19#2548 Thanks @urugator! - Fixed 2542, makeAutoObservable not respecting deep option @urugatorf4c22925#2582 Thanks @tomenden! - Support running in a web-workerv6.0.1Compare Source
v6.0.0Compare Source
v5.15.7Compare Source
v5.15.6Compare Source
v5.15.5Compare Source
v5.15.4Compare Source
v5.15.3Compare Source
v5.15.2Compare Source
v5.15.1Compare Source
v5.15.0Compare Source
v5.14.2Compare Source
v5.14.1Compare Source
v5.14.0Compare Source
v5.13.1Compare Source
v5.13.0Compare Source
v5.11.0Compare Source
v5.10.1Compare Source
v5.10.0Compare Source
v5.9.4Compare Source
v5.9.0Compare Source
v5.8.0Compare Source
v5.7.0Compare Source
v5.6.0Compare Source
v5.5.2Compare Source
v5.5.1Compare Source
v5.5.0Compare Source
v5.1.2Compare Source
v5.1.1Compare Source
v5.1.0Compare Source
v5.0.5Compare Source
v5.0.4Compare Source
v5.0.3Compare Source
v5.0.2Compare Source
v5.0.0Compare Source
v4.15.7Compare Source
v4.15.6Compare Source
v4.15.5Compare Source
v4.15.4Compare Source
v4.15.3Compare Source
v4.15.2Compare Source
v4.15.1Compare Source
v4.15.0Compare Source
v4.14.1Compare Source
v4.14.0Compare Source
v4.13.1Compare Source
v4.13.0Compare Source
v4.12.0Compare Source
v4.11.0Compare Source
v4.10.0Compare Source
v4.9.4Compare Source
v4.9.3Compare Source
v4.9.2Compare Source
v4.9.1Compare Source
v4.9.0Compare Source
v4.8.0Compare Source
v4.7.0Compare Source
v4.6.0Compare Source
v4.5.2Compare Source
v4.5.1Compare Source
v4.5.0Compare Source
v4.4.2Compare Source
v4.4.1Compare Source
v4.4.0Compare Source
v4.3.2Compare Source
v4.3.1Compare Source
v4.3.0Compare Source
v4.2.1Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.