what stackpulse tracks
MobX releases from GitHub
StackPulse watches MobX release notes and keeps the original source link close to every summary.
Simple, scalable state management through reactive programming StackPulse turns upstream changelogs into scannable summaries with risky changes, deprecations, migration notes, and source links.
what stackpulse tracks
StackPulse watches MobX release notes and keeps the original source link close to every summary.
upgrade risk
Risky changes are separated from normal feature notes so you can scan upgrade impact before changing production dependencies.
migration notes
Migration steps and recommended actions are only shown when the upstream release notes support them.
This patch release removes dead code and stops exporting internal helpers that are unused outside their modules. It also removes unused dependencies and updates mobx-react-lite to 5.1.3.
Consumers importing the removed internal helpers from mobx-react may need to stop relying on those exports.
This patch fixes state sharing between private observable or computed members with the same name in a class and its subclass by storing private members under distinct keys. Consequently, name-based lookup APIs no longer find private members by their string name, and private-field change events use a symbol for the `name` value. The release also removes unused internal helpers and fields.
Users who look up or observe private MobX members by their `#name` string, or process private-field change-event names as strings, are affected.
Review code that relies on string-based lookup or string event names for private members.
This patch release removes dead code and stops exporting internal helpers that are used only within their own modules. It also removes unused dependencies.
Consumers relying on the removed internal helper exports may be affected; unused dependencies are also removed.
This patch removes dead code and stops exporting internal helpers that are used only within their own module. The release notes do not describe additional behavior changes or upgrade steps.
Consumers relying on the package's internal helpers as exports may be affected; the notes do not specify which helpers were removed.
This patch release removes dead code and stops exporting internal helpers that are not used outside their own modules. No other changes are described in the release notes.
Consumers importing the affected internal helpers may need to stop relying on them; the release notes do not identify the helpers by name.
MobX 7.1.6 includes a performance optimization in `isPlainObject`. It checks for `Object.prototype` first.
Users of MobX may benefit from improved performance when `isPlainObject` is called.
This patch improves transform performance by skipping files that cannot contain components, hooks, or flows without parsing them. The Vite plugin now generates code only when something has changed, and its code generation options are configured through `babel.generatorOpts`.
Users of the MobX React plugin, particularly those using its Vite plugin, may see faster transforms and should update the location of code generation options.
If using the Vite plugin's code generation options, move them to `babel.generatorOpts`.
This patch fixes an “Invalid hook call” and a page reload during the first Vite dev-server start. The plugin now includes `mobx-react-lite` in Vite’s `optimizeDeps.include`, so the dependency scanner can account for the plugin-added `observer` import and avoid late dependency optimization.
Users of the MobX Vite plugin may see fewer startup errors and reloads when launching the dev server.
Upgrade to version 1.0.1 to get the Vite dependency optimization fix.
This release introduces `mobx-react-plugin`, which wraps React components with `observer` and adds the `"use no memo"` directive so the React Compiler leaves observed components to MobX. It also converts `async` methods on observable classes and objects into MobX flows; each feature can be disabled.
MobX users building React applications can use the plugin to integrate observed components with the React Compiler and automatically handle async observable methods as flows.
Review the plugin features and configure which ones to enable or disable.
This patch changes how observable sets interact with running derivations. Calling `add`, `delete`, or `replace` no longer subscribes the derivation to the set, matching observable maps and arrays.
Applications using observable sets may see different derivation subscriptions after `add`, `delete`, or `replace` operations.
This patch release updates `observe` change events for boxed observables, observable object properties, and observable map entries to include `observableKind` and `debugObjectName`, matching the documented `IValueDidChange` type. Error messages now use MobX 7 export names for annotations instead of removed `action.bound`-style names.
Consumers of `observe` receive the additional change-event fields, and users encountering annotation errors see updated MobX 7 export names.
The `exhaustive-make-observable` rule now recognizes additional MobX 7 decorators, avoiding false reports that classes lack annotations. It also checks undecorated members in classes that contain decorated members and reports `makeObservable` calls without annotations, which throw in MobX 7.
Users of `eslint-plugin-mobx` with MobX 7 decorators or mixed decorated and undecorated classes receive more accurate `exhaustive-make-observable` diagnostics.
This patch fixes `super` reads of a 2022.3 `@computed` getter. When a subclass override had not yet been read on the instance, the read now returns the subclass override.
The fix affects MobX users relying on 2022.3 `@computed` getters and subclass overrides accessed through `super`.
This patch removes the `"type": "commonjs"` package-manifest field because it caused some bundlers to interpret the ESM builds as CommonJS and fail to parse their `import` and `export` statements. The release also updates the dependency `mobx-react-lite` to 5.1.2.
Users bundling mobx-react with webpack, Rspack, Re.Pack, or other tools that honor the package `type` field may benefit from correct handling of the ESM builds.
This patch removes the "type": "commonjs" field from package manifests. That field caused bundlers to treat the ESM builds referenced by the `react-native` and `module` entries as CommonJS, resulting in failures when parsing their `import` and `export` statements.
Users bundling MobX's ESM builds through the `react-native` or `module` entries with webpack, Rspack, Re.Pack, or other bundlers honoring the package field are affected.
This patch removes the `"type": "commonjs"` field from package manifests. That field caused bundlers to treat the ESM builds referenced by the `react-native` and `module` entries as CommonJS, resulting in failures on `import` and `export` statements.
Users bundling mobx-react-lite with webpack, Rspack, Re.Pack, or other bundlers that honor the package `type` field may be affected.
This patch fixes a TypeScript typing issue in `observer`. When its result is assigned to a variable typed `React.ComponentType<P>`, the component props are now typed correctly.
TypeScript users assigning an `observer` result to a `React.ComponentType<P>` variable are affected.
This patch release improves `enforceActions` warnings for `ObservableMap` keys observed through `get(key)` or `has(key)`: additions and deletions outside an action are now detected. It also adds the already-supported `requiresObservable` option to the TypeScript definition for `IWhenOptions`.
MobX users relying on `enforceActions` for reactions observing `ObservableMap` keys, and TypeScript users passing `requiresObservable` to `when`, are affected.
This release removes the `missing-make-observable` ESLint rule and adds `mobx@^7.0.0` as a peer dependency. The rule no longer applies because MobX 7 supports only 2022.3 decorators, which do not require `makeObservable(this)`.
Users of the ESLint plugin are affected by the removed rule; MobX 6 users with legacy decorators should continue using the 0.1.x series.
If you use MobX 6 with legacy decorators, stay on `eslint-plugin-mobx` 0.1.x.
This release includes fixes for the `missing-make-observable` and `missing-observer` rules in the MobX ESLint plugin.
Developers using the MobX ESLint plugin with derived classes or components wrapped with `observer` may be affected.
Update to version 0.1.1 to benefit from the fixes.