Version Packages#4656
Merged
Merged
Conversation
c4e5f25 to
c0bd464
Compare
96547f6 to
313177e
Compare
313177e to
14fd664
Compare
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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
mobx@6.16.0
Minor Changes
6b3fb0ee725c0521bbaf7ba901a30261472a0e71#4639 Thanks @ashishkr96! - feat(mobx): make the 2022.3@computeddecorator lazy.ComputedValueis now created on first read of the decorated getter rather than eagerly during instance construction, avoiding wasted allocations for getters that are never used. On a 50k-instance × 10-getter class with one read per instance this cuts construction heap by ~50% and construction time by ~25%; the steady-state read path is unchanged. Closes @computed decorator should be lazy #4616.f0c68749428fd4d3bba48e9685e44fd1ddbbee76#4658 Thanks @ashishkr96! - feat(mobx): make the 2022.3@observable accessordecorator lazy.ObservableValueis now created on first read/write/observe of the decorated accessor rather than eagerly during instance construction, avoiding wasted allocations for fields that are never touched. On a 50k-instance × 10-field class with sparse access (1 of 10 fields read per instance), this cuts construction heap by ~82% and construction time by ~86% versus the eager path. Follow-up to feat(mobx): make 2022.3 @computed decorator lazy #4639.Patch Changes
7eb54418b16fb9b415c04c5b8e05779790dd74ed#4659 Thanks @kubk! - Fix regression from feat(mobx): make 2022.3 @computed decorator lazy #4639 where isComputedProp returned false for lazy @computed properties before first readc22b4b705447a4ccdce93473255f4beb170613f3#4657 Thanks @kubk! - AddgetOrInsertandgetOrInsertComputedtoObservableMapfor compatibility with ESNextMaptypings.mobx-undecorate@1.3.1
Patch Changes
0e8fbd6947350e4318d3cf83b69ee58b4b839c25#4646 Thanks @kubk! - Fix CLI resolution of the bundled jscodeshift binary when dependencies are hoisted by npm workspaces.