Skip to content

chore(deps): bump mobx-react-lite from 4.1.1 to 5.1.2 - #2994

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/mobx-react-lite-5.1.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/mobx-react-lite-5.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 3, 2026 •

Copy link
Copy Markdown

Bumps mobx-react-lite from 4.1.1 to 5.1.2.

Release notes

Sourced from mobx-react-lite's releases.

mobx-react-lite@5.1.2

Patch Changes

  • 1442c8bbb04c8aa8073acd6aeb8b7ecb001b44a8 #4754 Thanks @​jzhan-canva! - Remove "type": "commonjs" from the package manifests. The react-native and module entries point at the ESM dist/*.esm.js builds, and the field made bundlers that honour it, such as webpack, Rspack and Re.Pack, parse those files as CommonJS and fail on their import/export statements.

mobx-react-lite@5.1.1

Patch Changes

mobx-react-lite@5.1.0

Minor Changes

  • f78cb1607283e26ddae508b457eabcde295212a2 #4709 Thanks @​kubk! - Clean up reactions from uncommitted observer renders using the existing timed fallback even when native finalization is available. This releases subscriptions retained by suspended renders while preserving reactivity on retry.

    In environments with native finalization, defer cleanup registration to a shared microtask so synchronous subscriptions avoid native registrations and timers.

mobx-react-lite@5.0.3

Patch Changes

  • 6f002b8e543ca39d3ee23681e28848d7f1724fae #4696 Thanks @​gesposito! - perf: add a node export condition that routes Node and Bun to the existing dist/index.js entry, which picks the prebaked development or production CJS build once at require time. importing mobx in Node no longer executes the env-agnostic dist/mobx.mjs with per-call NODE_ENV checks, and mixing import and require in one Node app now yields a single mobx instance.

mobx-react-lite@5.0.2

Patch Changes

  • ec1b708026c1578e1c1f6c7bd90be18b26f7ce85 #4695 Thanks @​gesposito! - perf: evaluate NODE_ENV once at module scope in the env-agnostic esm bundles (dist/<pkg>.esm.js and dist/<pkg>.mjs) instead of at every __DEV__ call site. process.env is an exotic object in Node, so each check performed a real environment lookup on hot paths; consumers that execute these files as-is (Node ESM, vitest, SSR) see roughly 10x faster observable writes in dev mode. All env-set artifacts and bundler output are unchanged.

mobx-react-lite@5.0.1

Patch Changes

  • 043850ed96266f8bea42bf643a65e62245a98b3c #4689 Thanks @​gesposito! - fix: useObserver no longer retains the element tree returned by a component's first render for the component's whole mounted life. subscribe/getSnapshot were created inside useObserver's first invocation and therefore shared that invocation's closure context with the reaction.track callback's captures (render, renderResult); since React's useSyncExternalStore holds subscribe while the component is mounted, the first render result (and every fiber and DOM node reachable from it) could never be garbage collected. The administration object is now created by a module-level factory whose scope contains nothing render-related.

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-lite for function components and mobx-react for class-component support.

    MobX 7

    MobX 7 is a cleanup release focused on the modern runtime and decorator model.

    • MobX now always uses Proxy-backed observable objects and arrays. The ES5/non-proxy fallback has been removed.
    • configure({ useProxies: ... }) is no longer supported.
    • { proxy: false } options for observable, observable.object, and observable.array are no longer supported.
    • Legacy decorators are no longer supported.
    • Namespaced annotation and comparer properties now use named exports to reduce bundle size:

... (truncated)

Commits
  • 4762352 Version Packages (#4755)
  • 1442c8b fix: don't mark the packages as CommonJS (#4754)
  • 509a56b Version Packages (#4753)
  • 2d7d9b6 fix(mobx-react-lite): infer observer props from a ComponentType variable (#4752)
  • 81bde39 Version Packages (#4747)
  • d33f8db feat(eslint-plugin-mobx): remove the missing-make-observable rule (#4750)
  • b060784 fix: warn on adding or deleting observed ObservableMap keys outside actions (...
  • 1bd1235 docs: document the requiresObservable option of autorun and reaction (#4744)
  • 20c2215 fix(types): accept requiresObservable in when options (#4746)
  • bd8f02d Version Packages (#4724)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for mobx-react-lite since your current version.


@dependabot
dependabot Bot requested a review from a team as a code owner November 3, 2026 21:19
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 3, 2026
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: dependabot/npm_and_yarn/mobx-react-lite-5.1.2/4ea125f

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-react-lite-5.1.2 branch from 7f765d3 to b08330c Compare November 3, 2026 21:29
Bumps [mobx-react-lite](https://github.com/mobxjs/mobx) from 4.1.1 to 5.1.2.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Commits](https://github.com/mobxjs/mobx/compare/mobx-react-lite@4.1.1...mobx-react-lite@5.1.2)

---
updated-dependencies:
- dependency-name: mobx-react-lite
  dependency-version: 5.1.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-react-lite-5.1.2 branch from b08330c to 4ea125f Compare November 3, 2026 21:49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants