Skip to content

chore(deps): bump mobx from 6.16.1 to 7.1.0 - #2958

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

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/mobx-7.1.0

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps mobx from 6.16.1 to 7.1.0.

Release notes

Sourced from mobx's releases.

mobx@7.1.0

Minor Changes

  • 457ea8f952f0d37681dbe4033670eea7f25a7c4d #4728 Thanks @​kubk! - computed(fn) without a set option now returns IComputedValue<T> with only get(), so calling .set() on it is a type error instead of a runtime throw. computed(fn, { set }) returns the new IWritableComputedValue<T>, which also has set().

Patch Changes

  • 129a01f8581d3b30d5722e7685a639541b7b929f #4743 Thanks @​APX403! - Fix makeAutoObservable(this, overrides), observable(object, annotations) and extendObservable throwing "Invalid annotation" when the object has a member that also exists on Object.prototype, such as a toString() method. Only own keys of the overrides or annotations object are used as annotations now, as makeObservable already does.

  • 01e299b9f811de46df78ddcd6f044b396ba9bd09 #4738 Thanks @​lavrton! - getAtom checks for observable objects first: it is faster on them and no longer subscribes the running derivation to the internal set/map marker keys.

  • 51c51658ce63895d40dc60a5e0eb0d5b7ac5ec2c #4723 Thanks @​giaBaoJS! - Release the internal key subscriptions of observable objects once they are no longer observed. Reading a missing property or checking key in obj inside a reaction created an entry that was kept for the lifetime of the object, so objects used as dynamic dictionaries grew with every key ever looked up. ObservableMap already cleaned up its equivalent has entries.

  • ef270d16ff49e19ebd34fac5724efbaf5c4bb18d #4726 Thanks @​sergioperezcheco! - Fix ObservableSet.delete (and therefore clear/replace) bypassing the enforceActions action diagnostics. Deleting observed values outside an action now warns/throws just like insertion already does, instead of silently allowing the mutation.

  • c71198629959cacbfa3582a72a43dc51294360cb #4741 Thanks @​Om-singhaI! - toJS now includes fields declared with @observable accessor. These fields live on the prototype, so they are neither own nor enumerable properties, and toJS returned an object without them (often just {}). Computed values are still left out. Spread, Object.keys and JSON.stringify are unchanged.

mobx@7.0.6

Patch Changes

  • 4b1c8d3ea2b3de1a2ae852fd5631e33d28a82b15 #4721 Thanks @​giaBaoJS! - fix: assigning length on an observable array now respects intercept. A cancelled or modified splice used to be overridden by a direct write to the backing array, which truncated it without notifying observers and made the next mutation throw "Modification exception". A non-integer length now throws "Out of range" before touching the array.

  • 60be47cab0926d12f22449ec6c809fb5ec6601c4 #4716 Thanks @​AcEKaycgR! - fix: observable.box(array) no longer warns under observableRequiresReaction when a spy is active. The create spy event now reports newValue as the value itself rather than a string, matching the declared IBoxDidChange type. Previously the constructor stringified the value, and stringifying an observable array reads its length, which counted as an observable read outside a reactive context. Spy listeners that relied on newValue being a string for create events will now receive the raw value.

  • 3551aeb051ff922717b03c4fbc04a6b98f7f3b3e #4717 Thanks @​breken-ai! - Remove the signal abort listener when a reaction disposes itself (r.dispose() or a resolved when), so long-lived AbortSignals no longer accumulate listeners that keep disposed reactions in memory

  • 7e4e27dbfbf0b56770a11e9cba913e5d49c0c6f8 #4718 Thanks @​breken-ai! - observe/spy add events of an observable Set now report the value that was actually stored (e.g. the observable copy of a plain object), matching ObservableMap and observable arrays, so set.has(change.newValue) holds

mobx@7.0.5

Patch Changes

  • 105d66d73529812a8eddc0847891e7f0c574e129 #4713 Thanks @​xaviergonz! - perf: reduce memory used by large, mostly unobserved state. intercept / observe handler arrays are allocated at their exact size, an observable's internal observers Set is released once its last observer leaves, observable objects created with the same deep / autoBind options share one default annotation instead of allocating their own, and endBatch() skips the unobservation pass when nothing is pending.

mobx@7.0.4

Patch Changes

mobx@7.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@7.0.2

Patch Changes

... (truncated)

Commits
  • bd8f02d Version Packages (#4724)
  • c711986 fix: include @observable accessor fields in toJS (#4741)
  • 01e299b perf: check for observable objects first in getAtom (#4738)
  • 129a01f fix: only use own keys of overrides and annotations (#4743)
  • c7038b9 fix(eslint-plugin): avoid unsafe subclass constructor autofix (#4740)
  • 6081468 Docs: remove duplicate inheritance section from actions, rename Subclassing p...
  • bdfcf7a docs: don't scroll when clicking a tab (#4736)
  • c19d19b Fix test warnings (#4730)
  • 48d64ff [Decorators][Docs] Clarify that modern decorator usage will increase TypeScri...
  • 139a8bd docs: don't use reaction in the domain store example (#4733)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 27, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner October 27, 2026 21:17
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Oct 27, 2026
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: dependabot/npm_and_yarn/mobx-7.1.0/e33b024

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-7.1.0 branch 5 times, most recently from 5fc4e8c to cb33abf Compare October 30, 2026 01:01
Bumps [mobx](https://github.com/mobxjs/mobx) from 6.16.1 to 7.1.0.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Commits](https://github.com/mobxjs/mobx/compare/mobx@6.16.1...mobx@7.1.0)

---
updated-dependencies:
- dependency-name: mobx
  dependency-version: 7.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-7.1.0 branch from cb33abf to e33b024 Compare October 30, 2026 21:26
@dependabot @github

dependabot Bot commented on behalf of github Nov 2, 2026

Copy link
Copy Markdown
Author

Superseded by #2980.

@dependabot dependabot Bot closed this Nov 2, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/mobx-7.1.0 branch November 2, 2026 21:20
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