Skip to content

Conversation

@dependabot-preview
Copy link

Bumps mobx-state-tree from 2.0.5 to 3.16.0.

Changelog

Sourced from mobx-state-tree's changelog.

3.16.0

  • Added search field to the docs
  • Custom types can now receive environments as second argument of the fromSnapshot option. #1410 by @k-g-a
  • Added option maxHistoryLength to the UndoManager, implements #1417 through #1426 by @tibotiber.
  • Improved TypeScript typings of flow, fixes #1378 through #1409 by @nulladdict
  • Fixed that calling createObservableInstanceIfNeeded would execute an action, even if the function immediately returned. (significant since the extraneous actions would pollute the mobx dev-tools on mere accesses, eg. by ComplexType.prototype.getValue) Fixes #1421 trough #1422 by @Venryx
  • Fix issue where snapshotProcessor.is does not correctly handle model instances. Fixes #1494 through #1495 by @KevinSjoberg
  • Make sure that MST no longer requires setImmediate to be present, but fallback to other solutions. #1501 by @isaachinman

3.15.0

  • Fix for flow typings. This means that now using flows requires at least TypeScript v3.6 and that castFlowReturn becomes deprecated.
  • Fix for empty models / models with all properties set to optional being able to take any value in TypeScript through #1269 by @xaviergonz.

3.14.1

  • Made it possible to force full run-time type-checking (for better error messages) in production builds by setting ENABLE_TYPE_CHECK=true as environment variable. Fixes #1332 through #1337 by @OverseePublic
  • Fixed an issue where Type.is doesn't behave correctly for types that has snapshot processors. Fixes #1321 through #1323 by @Tucker-Eric
  • Changed the implementation of the internal STNValue type, to fix TS 3.5.3 compatibility. If somebody notices regressions in the TypeScript integration, please report. Fixes #1343, #1307
  • Added acceptsUndefined as option for safeReference so it is more suitable to be used inside arrays/maps, through #1245 by @xaviergonz.

3.14.0

  • Fixed a regression with atomic middleware with async flows #1250.
  • Added filter function to recordActions to filter out recording some actions. Also added recording and resume methods.
  • Added getRunningActionContext() to get the currently executing MST action context (if any). Also added the action context helper functions isActionContextChildOf() and isActionContextThisOrChildOf.
  • Reduced type nesting to avoid Typescript 3.4 errors about infinite types. Sadly due to this change types.create is no longer smart enough in TS to know if skipping the snapshot parameter is valid or not. Through #1251 by @xaviergonz.

3.13.0

  • Fixed Instance<typeof variable> not giving the proper type in Typescript when the type included both objects and primitives.
  • Through PR #1196 by @xaviergonz
    • Added createActionTrackerMiddleware2, a more easy to use version of the first one, which makes creating middlewares for both sync and async actions more universal.
    • Added an optional filter to recordPatches to be able to skip recording certain patches.
    • atomic now uses the new createActionTrackerMiddleware2.
    • UndoManager fixes and improvements:
      • Uses the new createActionTrackerMiddleware2.
      • Added clearUndo and clearRedo to only clear those.
      • Added undoLevels and redoLevels to know how many undo/redo actions are available.
      • Made undo manager actions atomic, so they won't actually do any partial changes if for some reason they fail.
      • Fix for withoutUndo so it will only skip recording what is inside, not the whole action - fixes #1195.

3.12.2

  • Added more output formats for the library (common-js minified version and umd minified version). Note that now the umd version will be the development version while the new umd.min version will be the production version. This change is to keep it in sync with the parent mobx package. Also the npm package is now leaner since it mistakenly included separatedly compiled js files and source maps.

3.12.1

  • Fixed a regression with getEnv sometimes not returning the proper environment.
... (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 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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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)
  • 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)

Bumps [mobx-state-tree](https://github.com/mobxjs/mobx-state-tree) from 2.0.5 to 3.16.0.
- [Release notes](https://github.com/mobxjs/mobx-state-tree/releases)
- [Changelog](https://github.com/mobxjs/mobx-state-tree/blob/master/changelog.md)
- [Commits](mobxjs/mobx-state-tree@v2.0.5...v3.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 20, 2020
@dependabot-preview
Copy link
Author

Superseded by #61.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/dependencie/update/mobx-state-tree-3.16.0 branch July 13, 2020 13:06
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant