Skip to content

chore(deps): bump mobx-react-lite from 4.1.1 to 5.1.0 - #2932

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 22, 2026 •

Copy link
Copy Markdown

Bumps mobx-react-lite from 4.1.1 to 5.1.0.

Release notes

Sourced from mobx-react-lite's releases.

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:
    Removed API Replacement
    observable.ref observableRef
    observable.shallow observableShallow
    observable.deep observableDeep
    observable.struct observableStruct
    computed.struct computedStruct
    action.bound actionBound
    flow.bound flowBound

... (truncated)

Commits
  • d9f7449 Version Packages (#4711)
  • f78cb16 Clean up reactions from suspended observer render (#4709)
  • e72c530 Version Packages (#4701)
  • 7d85a68 feat: Extend IReactionDisposer with Disposable (#4592)
  • f7af259 refactor(eslint-plugin-mobx): rewrite in TypeScript and type flat/legacy conf...
  • 6e0a03e Remove local NoInfer alias (#4710)
  • 01211a6 Fix ComputedValue fails to trigger onBecomeObservable when used in action -> ...
  • 5dbb04a Version Packages (#4698)
  • 6f002b8 perf: route Node ESM imports to the env-switched CJS entry via a node export ...
  • f719c63 Version Packages (#4697)
  • 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 October 22, 2026 21:16
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 22, 2026
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: dependabot/npm_and_yarn/mobx-react-lite-5.1.0/e677abd

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-react-lite-5.1.0 branch 9 times, most recently from e0c8036 to 52f3066 Compare October 29, 2026 21:25
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-react-lite-5.1.0 branch 3 times, most recently from dcaf9a3 to 95f0a8a Compare October 30, 2026 21:26
Bumps [mobx-react-lite](https://github.com/mobxjs/mobx) from 4.1.1 to 5.1.0.
- [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.0)

---
updated-dependencies:
- dependency-name: mobx-react-lite
  dependency-version: 5.1.0
  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.0 branch from 95f0a8a to e677abd Compare November 2, 2026 21:32
@dependabot @github

dependabot Bot commented on behalf of github Nov 3, 2026

Copy link
Copy Markdown
Author

Superseded by #2994.

@dependabot dependabot Bot closed this Nov 3, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/mobx-react-lite-5.1.0 branch November 3, 2026 21:19
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