Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

⬆️ Bump mobx-react from 5.4.4 to 6.1.1#105

Merged
tpucci merged 2 commits intomasterfrom
dependabot/npm_and_yarn/mobx-react-6.1.1
Jul 15, 2019
Merged

⬆️ Bump mobx-react from 5.4.4 to 6.1.1#105
tpucci merged 2 commits intomasterfrom
dependabot/npm_and_yarn/mobx-react-6.1.1

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

@dependabot-preview dependabot-preview Bot commented Jun 20, 2019

Bumps mobx-react from 5.4.4 to 6.1.1.

Changelog

Sourced from mobx-react's changelog.

6.1.1

  • Fixed issue where combining @disposeOnUnmount with disposeOnUnmount didn't clean up everything. Fixes #666 trough #671 by @​JabX

6.1.0

  • Restored the classic implementation of observer: class based components are patched again, rather than wrapping them in <Observer>, see #703. Fixes:
    • componentDidUpdate not being triggered after a reactive render #692
    • The appearance of an additional <Observer> component in the component tree, which complicates shallow testing #699
    • Some regressions in disposeOnUnmount #702
    • Note that dev tool support, and other constraints mentioned in the 6.0.0 release notes have not been restored.
  • The function useStaticRendering(value: boolean): void from mobx-react-lite is now exposed

6.0.4

  • Fixed IE 11 compatibility which was accidentally broken. Fixes #698

6.0.3

  • disposeOnUnmount now supports initializing it with an array of disposers. Fixes #637 through #641 by @​Amareis
  • Fixed hoisting of statically declared members. Fixes #678 through #682 by @​meabed

6.0.2

  • Added missing types for MobXProviderContext, useLocalStore and useAsObservableSource. Fixes #679.

6.0.0

Breaking changes

  • The minimal supported version of React is 16.8.0
  • Killed the possibility to directly pass store names to observer. Always use inject instead. (This was deprecated for a long time already). observer(["a", "b"], component) should now be written as inject("a", "b")(component).
  • observer components no longer automatically recover from errors (to prevent potential memory leaks). Instead, this is the responsibility of error boundaries.
  • inject now supports ref forwarding. As such, the .wrappedInstance property has been removed since refs can be used instead. (Fixes #616 (See also #619 by 42shadow42)
  • Changing the set of stores in Provider is no longer supported and while throw a hard error (this was a warning before), as the model of Provider / inject has always been designed to inject final values into the tree. (That is, constanted references, the injected objects themselves can be stateful without problem). If you want to dynamically swap what is provided into the tree, use React.createContext instead of Provider / inject. The suppressChangedStoreWarningflag forProvider` has been dropped.
  • The third argument of custom storesToProps functions passed to inject is no longer available.
  • <Observer> no longer supports the deprecated inject property.
  • Defining shouldComponentUpdate on observer based components is no longer supported
  • propTypes is no longer exposed, use PropTypes instead
  • disposeOnUnmount now only supports direct subclasses of React.Component and React.PureComponent. This prevents several unreliable edge cases that silently leaked memory before. Either only extend React.(Pure)Component when using disposeOnUnmount, or manually clean up stuff in componentWillUnmount.
  • The onError global error handler has been removed. Use error boundaries instead.
  • Improved dev tool names for inject wrapped components, see #472 by SimeonC. Fixes #466
  • Dropped support for a build of mobx-react that doesn't target either react-dom or react-native. mobx-react doesn't need react-dom to be present, but to make sure your build tools don't fail, you might want to stub react-dom as an empty module.
  • The componentWillReact has been dropped
  • The MobX-react devtools (either as package or browser plugin) are no longer supported. Instead, the following tools can be analyzed to analyze your mobx-react application:
    • Visualizing re-rendering of components is now part of the standard React devtools
    • The dependency tree of a compent tree can be inspected by showing the state of the useObserver hook in the React devtools (at the time of this release it displays as just Object, but the next iteration of the React devtools will support those properly)
    • Spying on events can still be done with the MobX-react browser plugin, through the mobx-logger package or manually by using the spy or trace utility from the mobx package.

Improvements

... (truncated)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because it includes a major update to a development dependency.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Jun 20, 2019
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/mobx-react-6.1.1 branch 3 times, most recently from 2998452 to 80e8dda Compare July 14, 2019 07:48
Bumps [mobx-react](https://github.com/mobxjs/mobx-react) from 5.4.4 to 6.1.1.
- [Release notes](https://github.com/mobxjs/mobx-react/releases)
- [Changelog](https://github.com/mobxjs/mobx-react/blob/master/CHANGELOG.md)
- [Commits](mobxjs/mobx-react@5.4.4...6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@tpucci tpucci force-pushed the dependabot/npm_and_yarn/mobx-react-6.1.1 branch from 676ec6d to d1c105b Compare July 15, 2019 07:06
@tpucci tpucci force-pushed the dependabot/npm_and_yarn/mobx-react-6.1.1 branch from d1c105b to 03feed7 Compare July 15, 2019 07:11
@tpucci tpucci merged commit 4b475e9 into master Jul 15, 2019
@tpucci tpucci deleted the dependabot/npm_and_yarn/mobx-react-6.1.1 branch July 15, 2019 07:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant