Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency mobx to v6 #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update dependency mobx to v6 #51

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 1, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mobx (source) 5.15.4 -> 6.1.5 age adoption passing confidence

Release Notes

mobxjs/mobx

v6.1.5

Compare Source

Patch Changes

v6.1.4

Compare Source

Patch Changes

v6.1.3

Compare Source

Patch Changes

v6.1.2

Compare Source

Patch Changes
  • ca09f2f5 #​2761 Thanks @​urugator! - configure({ safeDescriptors: false }) now forces all props of observable objects to be writable and configurable

v6.1.1

Compare Source

Patch Changes
  • 39eca50d #​2757 Thanks @​urugator! - Fix error stringification on minified build
    Fix isObservableProp not supporting Symbols
    Fix makeAutoObservable not ignoring inferredAnnotationsSymbol

v6.1.0

Compare Source

This release fixes a plethora of bugs related to sub-classing and reflecting / iterating on observable objects.
The behavior of MobX is in many edge cases much more explicitly defined now.

A new annotation was introduced: @override / override to support re-defining actions and computed values(!) on sub classses.

For idiomatic MobX usage this release should have little impact, but if you are using a lot of sub-classing, reflection APIs or direct object manipulations like defineProperty,
this release might introduce previously unseen errors for cases that silently failed before, or even worked successfully even though the correct behavior wasn't specified earlier.

If you are migrating from MobX 4/5 we strongly recommend to go to 6.1 in one go, and skip 6.0.*, as some buggy behavior compared to the previous majors has been corrected.

As always, our libraries come as-is and are maintained by volunteers. Upgrades are at own risk and voluntary. Bug reports require a minimal reproductions and a correctly filled out issue template.

Support the ongoing maintenance at: https://opencollective.com/mobx

Minor Changes

28f8a11d #​2641 Thanks @​urugator!

  • action, computed, flow defined on prototype can be overriden by subclass via override annotation/decorator. Previously broken.
  • Overriding anything defined on instance itself (this) is not supported and should throw. Previously partially possible or broken.
  • Attempt to re-annotate property always throws. Previously mostly undefined outcome.
  • All annotated and non-observable props (action/flow) are non-writable. Previously writable.
  • All annotated props of non-plain object are non-configurable. Previously configurable.
  • Observable object should now work more reliably in various (edge) cases.
  • Proxied objects now support Object.defineProperty. Previously unsupported/broken.
  • extendObservable/makeObservable/defineProperty notifies observers/listeners/interceptors about added props. Previously inconsistent.
  • keys/values/entries works like Object.keys/values/entries. Previously included only observables.
  • has works like in. Previously reported true only for existing own observable props.
  • set no longer transforms existing non-observable prop to observable prop, but simply sets the value.
  • remove/delete works with non-observable and computed props. Previously unsupported/broken.
  • Passing options to observable/extendObservable/makeObservable throws if the object is already observable . Previously passed options were mostly ignored.
  • autoBind option is now sticky - same as deep and name option.
  • observable/extendObservable now also picks non-enumerable keys (same as make[Auto]Observable).
  • Removed deprecated action.bound("name")
  • Proxied objects should be compatible with Reflect API. Previously throwing instead of returning booleans.

v6.0.5

Compare Source

Patch Changes

🚨🚨🚨 If you are upgrading from V4/V5, please follow the migration guide.

v6.0.4

Compare Source

v6.0.3

Compare Source

Patch Changes
  • d0e6778d - Create ESM bundles with NODE_ENV correctly replaced so it can be used in browser (#​2564)

v6.0.2

Compare Source

Patch Changes

v6.0.1

Compare Source

v6.0.0

Compare Source

v5.15.7

Compare Source

v5.15.6

Compare Source

v5.15.5

Compare Source


Renovate configuration

📅 Schedule: "before 3am on the first day of the month" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/mobx-6.x branch 4 times, most recently from 7a22c57 to 48ea191 Compare November 3, 2020 23:26
@renovate renovate bot force-pushed the renovate/mobx-6.x branch from 48ea191 to 7664a21 Compare November 12, 2020 16:19
@renovate renovate bot force-pushed the renovate/mobx-6.x branch 2 times, most recently from 6b689e8 to 82c59b3 Compare January 30, 2021 20:58
@renovate renovate bot force-pushed the renovate/mobx-6.x branch from 82c59b3 to 50bb62b Compare February 9, 2021 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant