Skip to content

chore(deps): bump mobx from 6.16.1 to 7.1.3 - #2993

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps mobx from 6.16.1 to 7.1.3.

Release notes

Sourced from mobx's releases.

mobx@7.1.3

Patch Changes

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

Patch Changes

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.

... (truncated)

Commits
  • f855874 Version Packages (#4757)
  • 78f3fa5 fix(mobx): create overridden @​computed eagerly so super reads get the parent ...
  • 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)
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 3, 2026 21:18
@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-7.1.3/f035e6c

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/mobx-7.1.3 branch 3 times, most recently from 2493fc9 to 113d7c8 Compare November 4, 2026 21:31
Bumps [mobx](https://github.com/mobxjs/mobx) from 6.16.1 to 7.1.3.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Commits](https://github.com/mobxjs/mobx/compare/mobx@6.16.1...mobx@7.1.3)

---
updated-dependencies:
- dependency-name: mobx
  dependency-version: 7.1.3
  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.3 branch from 113d7c8 to f035e6c Compare November 4, 2026 23:33

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