Skip to content

chore(deps): bump mobx from 6.16.1 to 7.1.1 - #2980

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps mobx from 6.16.1 to 7.1.1.

Release notes

Sourced from mobx's releases.

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.

mobx@7.0.4

Patch Changes

mobx@7.0.3

... (truncated)

Commits
  • 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)
  • 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)
  • Additional commits viewable in compare view

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

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: dependabot/npm_and_yarn/mobx-7.1.1/1aaa481

Bumps [mobx](https://github.com/mobxjs/mobx) from 6.16.1 to 7.1.1.
- [Release notes](https://github.com/mobxjs/mobx/releases)
- [Commits](https://github.com/mobxjs/mobx/compare/mobx@6.16.1...mobx@7.1.1)

---
updated-dependencies:
- dependency-name: mobx
  dependency-version: 7.1.1
  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.1 branch from 6274d21 to 1aaa481 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 #2993.

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