blackjackkent / RPThreadTrackerV3.FrontEnd

GNU General Public License v3.0
4 stars 5 forks source link

Bump redux-saga from 0.15.6 to 0.16.2 #61

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps redux-saga from 0.15.6 to 0.16.2.

Release notes *Sourced from [redux-saga's releases](https://github.com/redux-saga/redux-saga/releases).* > ## v0.16.0 > - added `detach` helper - this is used internally now by `spawn` to mark `fork` effect as detached, got exported and might be used in userland, it's useful for creating i.e. detached `takeEvery` > ```js > import { detach } from 'redux-saga' > import { takeEvery } from 'redux-saga/effects' > > // ... > > yield detach(takeEvery(ACTION_A, mightThrowSaga)) > ``` > - typings for `detach` got added thanks to [**aikoven**](https://github.com/aikoven) > - removed `#__PURE__` annotations from the source code, adding them automatically with [annotate-pure-calls babel's plugin](https://github.com/Andarist/babel-plugin-annotate-pure-calls) > - made `sagaStack` property non-enumerable (this is attached sometimes by `redux-saga` to the thrown Errors) > - unified internally error logging > - removed annoying "saga has been cancelled" logs, didn't find a valid use case for them
Changelog *Sourced from [redux-saga's changelog](https://github.com/redux-saga/redux-saga/blob/master/CHANGELOG.md).* > ## Changes from v0.16.0 to v1.0.0 > During work on v1, we made several breaking changes > > ### Breaking changes > - errors thrown during put execution are no longer caught and swallowed, you need to catch them manually > - errors thrown during cancellation process are no longer swallowed, you need to keep `finally` block fail-safe > - removed some deprecated APIs - `takeEvery`, `takeLatest`, `throttle` from the redux-saga entry point (they are and were importable from `redux-saga/effects`). `put.sync` and `takem` were removed. > - removing execution of an array of effects `yield [...]`. use `all` effect instead. > - `delay` became an effect, old `delay` function (not effect!) can be imported from `@redux-saga/delay-p` > - `put.resolve` was changed to `putResolve` > - `take.maybe` was changed to `takeMaybe` > - changed API of runSaga - it no longer accepts subscribe option, you should create a channel (preferably stdChannel), pass it as channel argument to the runSaga API and communicate with through it with `take` and `put` methods > - `task.done` getter was changed to be `task.toPromise` method > - channels private getters (__takers__ and __closed__) got removed > - `{effects, utils}` aren't imported from 'redux-saga' anymore. imports them from `redux-saga/effects`, `redux-saga/utils` > - `is` helper should be imported from `@redux-saga/is`. > - now `race` should be finished if any of effects resolved with `END` (by analogy with all) > - cancel and join cannot receive variadic arguments anymore. so you have to rewrite `cancel(...[tasks])` and `join(...[tasks])` to `cancel([tasks])` and `join([tasks])` respectively. also calling `cancel(...)` returns a cancel-effect (before it may return an `all` effect), and calling `join(...)` returns a join-effect. > - refactor effect structure from `{[IO]: true, [type]: payload }` to `{ [IO]: true, type, payload }` to get rid of dynamic `type` property. Could affect you if implement custom monitor for saga effects. > - channel and actionChannel have default buffer of buffers.expanding() > - eventChannel does no longer accept matcher argument. > - exported util of `arrayOfDeffered` got renamed to the correct `arrayOfDeferred` > > ### New functionality > - multicastChannel - no buffering, notify all pending takers, multicastChannel#take(cb, matcher = matchers.wildcard) > - support for `yield take(multicastChannel, pattern)` > - internal stdChannel got reworked to be a singleton object (it is wrapped multicastChannel's instance'), also it is an exported API to support new runSaga's signature - this should also result in being a small perf boost > - `effectMiddlewares` - useful especially for testing, you can intercept/hijack any effect and resolve it on your own - passing it very redux-style to the next middleware (last being redux-saga itself). How it might be used can be checked here. Many thanks to [**eloytoro**](https://github.com/eloytoro) for this feature > - `takeLeading` helper. It takes "leading" action and ignores all incoming ones of the same type while the "leading" is still handled (useful for things debouncing) > - `retry` helper. Receives a function and executes it (with blocking call). In case of failure will try to make another call after `delayLength` milliseconds, if a number of attempts < `maxTries` parameter > - add `debounce` helper. Spawns a `saga` on an action dispatched to the Store that matches `pattern`. Saga will be called after it stops taking `pattern` actions for `ms` milliseconds. Purpose of this is to prevent calling saga until the actions are settled off.
Commits - [`ffd57bb`](https://github.com/redux-saga/redux-saga/commit/ffd57bb559f39f4e205ce96ebd0d67a67e714bcd) 0.16.2 - [`953deda`](https://github.com/redux-saga/redux-saga/commit/953dedad7a3229fee640993c23719d1b173dd524) Updated rollup - fixes [#1632](https://github-redirect.dependabot.com/redux-saga/redux-saga/issues/1632) - [`4fdb691`](https://github.com/redux-saga/redux-saga/commit/4fdb6914938e9e52db63dff2d2cb90675a0b436a) Add .npmrc ignoring package-lock creation - [`600802f`](https://github.com/redux-saga/redux-saga/commit/600802fe2c91be57c6d0c659424b9844739b5379) 0.16.1 - [`418983c`](https://github.com/redux-saga/redux-saga/commit/418983c6acc6b5cac4fa529ec366bf373f06120c) gitignore dist directory - [`f75dedb`](https://github.com/redux-saga/redux-saga/commit/f75dedbebe66248eb20e08fe9551ee938be2aed7) Remove circular dependency ([#1625](https://github-redirect.dependabot.com/redux-saga/redux-saga/issues/1625)) - [`016daa2`](https://github.com/redux-saga/redux-saga/commit/016daa24a2d391c56b34ae9bf9b44379a37d7705) 0.16.0 - [`807ccb7`](https://github.com/redux-saga/redux-saga/commit/807ccb7c2f233443e3d9ce2618b1408c489f879e) Updated dist files - [`2e6c2f6`](https://github.com/redux-saga/redux-saga/commit/2e6c2f6e2d7858ceba59474e901bcab83c33793e) Reordered release tasks - [`f4b52b0`](https://github.com/redux-saga/redux-saga/commit/f4b52b04eb6bb9094ab07661c98178b55b401a85) Removed "saga has been cancelled" logs - Additional commits viewable in [compare view](https://github.com/redux-saga/redux-saga/compare/v0.15.6...v0.16.2)


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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

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 cancel merge` will cancel a previously requested merge - `@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](https://app.dependabot.com): - 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.
codecov-io commented 5 years ago

Codecov Report

Merging #61 into development will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           development    #61   +/-   ##
==========================================
  Coverage          100%   100%           
==========================================
  Files              267    267           
  Lines             2208   2208           
  Branches           222    222           
==========================================
  Hits              2208   2208

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b2c1876...9d4584a. Read the comment docs.