Version Packages - #4678
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
June 25, 2026 07:32
482664d to
cf8f05f
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 10, 2026 06:34
cf8f05f to
437a7d6
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 20, 2026 03:54
437a7d6 to
2295b55
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
July 30, 2026 19:16
b2a1424 to
39fa40b
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
July 30, 2026 19:20
39fa40b to
f4721aa
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@7.0.0
Major Changes
1926c69f53168619d688f348aa587e8f3ae579ae#4671 Thanks @kubk! - Release MobX 7, mobx-react-lite 5, and mobx-react 10.Bundle sizes are down: ESM prod 17.02 KiB gzip -> 13.96 KiB gzip; a minimal tree-shaken example is 10.32 KiB gzip now.
It removes long-deprecated compatibility paths and keeps the React bindings split between
mobx-react-litefor function components andmobx-reactfor class-component support.MobX 7
MobX 7 is a cleanup release focused on the modern runtime and decorator model.
configure({ useProxies: ... })is no longer supported.{ proxy: false }options forobservable,observable.object, andobservable.arrayare no longer supported.observable.refobservableRefobservable.shallowobservableShallowobservable.deepobservableDeepobservable.structobservableStructcomputed.structcomputedStructaction.boundactionBoundflow.boundflowBoundcomparer.identitycompareIdentitycomparer.defaultcompareDefaultcomparer.structuralcompareStructuralcomparer.shallowcompareShallowtraceAPI and its related runtime support have been removed. UsetoJS,getDependencyTree,getObserverTree,spyormobx-logpackage for debugging.mobx-react-lite 5 and mobx-react 10
mobx-react-lite 5 and mobx-react 10 require MobX 7 and React 18 or later.
mobx-react-literemains the function-component package.mobx-reactremains a thin wrapper aroundmobx-react-litethat adds class component and Stage 3@observerclass decorator support.mobx-react-liteif you do not need class component support.mobx-reactwhen you need class components or@observerclass decorators.mobx-react-litesupports function components andforwardRef;mobx-reactdelegates function components tomobx-react-liteand handles classes itself.The recommended public React binding surface for both packages is:
observerObserveruseLocalObservableenableStaticRenderingisUsingStaticRenderingThe following APIs have been removed from the React binding packages:
Provider,inject, andMobXProviderContext; useReact.createContextdirectly.disposeOnUnmount; dispose reactions incomponentWillUnmountor return cleanup functions fromuseEffect.PropTypes; use TypeScript or the regularprop-typespackage.useObserver; wrap components withobserveror use<Observer>.useLocalStore; useuseLocalObservable.useAsObservableSource; synchronize values from props into local observable state explicitly.useStaticRendering; useenableStaticRendering.observerBatching,isObserverBatched,batchingForReactDom,batchingOptOut, andbatchingForReactNative; remove these imports because React 18+ renderers handle batching.observer(fn, { forwardRef: true }); pass an already-createdReact.forwardRef(...)component toobserverinstead.contextTypeshandling.Patch Changes
979d267d569734dc3cb969ed1880ed68bb79f1b5#4677 Thanks @kubk! - Shorten minified error URL to reduce production bundle size.mobx-react@10.0.0
Major Changes
1926c69f53168619d688f348aa587e8f3ae579ae#4671 Thanks @kubk! - Release MobX 7, mobx-react-lite 5, and mobx-react 10.Bundle sizes are down: ESM prod 17.02 KiB gzip -> 13.96 KiB gzip; a minimal tree-shaken example is 10.32 KiB gzip now.
It removes long-deprecated compatibility paths and keeps the React bindings split between
mobx-react-litefor function components andmobx-reactfor class-component support.MobX 7
MobX 7 is a cleanup release focused on the modern runtime and decorator model.
configure({ useProxies: ... })is no longer supported.{ proxy: false }options forobservable,observable.object, andobservable.arrayare no longer supported.observable.refobservableRefobservable.shallowobservableShallowobservable.deepobservableDeepobservable.structobservableStructcomputed.structcomputedStructaction.boundactionBoundflow.boundflowBoundcomparer.identitycompareIdentitycomparer.defaultcompareDefaultcomparer.structuralcompareStructuralcomparer.shallowcompareShallowtraceAPI and its related runtime support have been removed. UsetoJS,getDependencyTree,getObserverTree,spyormobx-logpackage for debugging.mobx-react-lite 5 and mobx-react 10
mobx-react-lite 5 and mobx-react 10 require MobX 7 and React 18 or later.
mobx-react-literemains the function-component package.mobx-reactremains a thin wrapper aroundmobx-react-litethat adds class component and Stage 3@observerclass decorator support.mobx-react-liteif you do not need class component support.mobx-reactwhen you need class components or@observerclass decorators.mobx-react-litesupports function components andforwardRef;mobx-reactdelegates function components tomobx-react-liteand handles classes itself.The recommended public React binding surface for both packages is:
observerObserveruseLocalObservableenableStaticRenderingisUsingStaticRenderingThe following APIs have been removed from the React binding packages:
Provider,inject, andMobXProviderContext; useReact.createContextdirectly.disposeOnUnmount; dispose reactions incomponentWillUnmountor return cleanup functions fromuseEffect.PropTypes; use TypeScript or the regularprop-typespackage.useObserver; wrap components withobserveror use<Observer>.useLocalStore; useuseLocalObservable.useAsObservableSource; synchronize values from props into local observable state explicitly.useStaticRendering; useenableStaticRendering.observerBatching,isObserverBatched,batchingForReactDom,batchingOptOut, andbatchingForReactNative; remove these imports because React 18+ renderers handle batching.observer(fn, { forwardRef: true }); pass an already-createdReact.forwardRef(...)component toobserverinstead.contextTypeshandling.Patch Changes
1926c69f53168619d688f348aa587e8f3ae579ae]:mobx-react-lite@5.0.0
Major Changes
1926c69f53168619d688f348aa587e8f3ae579ae#4671 Thanks @kubk! - Release MobX 7, mobx-react-lite 5, and mobx-react 10.Bundle sizes are down: ESM prod 17.02 KiB gzip -> 13.96 KiB gzip; a minimal tree-shaken example is 10.32 KiB gzip now.
It removes long-deprecated compatibility paths and keeps the React bindings split between
mobx-react-litefor function components andmobx-reactfor class-component support.MobX 7
MobX 7 is a cleanup release focused on the modern runtime and decorator model.
configure({ useProxies: ... })is no longer supported.{ proxy: false }options forobservable,observable.object, andobservable.arrayare no longer supported.observable.refobservableRefobservable.shallowobservableShallowobservable.deepobservableDeepobservable.structobservableStructcomputed.structcomputedStructaction.boundactionBoundflow.boundflowBoundcomparer.identitycompareIdentitycomparer.defaultcompareDefaultcomparer.structuralcompareStructuralcomparer.shallowcompareShallowtraceAPI and its related runtime support have been removed. UsetoJS,getDependencyTree,getObserverTree,spyormobx-logpackage for debugging.mobx-react-lite 5 and mobx-react 10
mobx-react-lite 5 and mobx-react 10 require MobX 7 and React 18 or later.
mobx-react-literemains the function-component package.mobx-reactremains a thin wrapper aroundmobx-react-litethat adds class component and Stage 3@observerclass decorator support.mobx-react-liteif you do not need class component support.mobx-reactwhen you need class components or@observerclass decorators.mobx-react-litesupports function components andforwardRef;mobx-reactdelegates function components tomobx-react-liteand handles classes itself.The recommended public React binding surface for both packages is:
observerObserveruseLocalObservableenableStaticRenderingisUsingStaticRenderingThe following APIs have been removed from the React binding packages:
Provider,inject, andMobXProviderContext; useReact.createContextdirectly.disposeOnUnmount; dispose reactions incomponentWillUnmountor return cleanup functions fromuseEffect.PropTypes; use TypeScript or the regularprop-typespackage.useObserver; wrap components withobserveror use<Observer>.useLocalStore; useuseLocalObservable.useAsObservableSource; synchronize values from props into local observable state explicitly.useStaticRendering; useenableStaticRendering.observerBatching,isObserverBatched,batchingForReactDom,batchingOptOut, andbatchingForReactNative; remove these imports because React 18+ renderers handle batching.observer(fn, { forwardRef: true }); pass an already-createdReact.forwardRef(...)component toobserverinstead.contextTypeshandling.