Update dependency redux-saga to v1 - #151
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/redux-saga-1.x
branch
from
June 4, 2019 22:37
4c6b803 to
a506427
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.16.0->^1.0.0Release Notes
redux-saga/redux-saga
v1.2.3Compare Source
Patch Changes
#2372
2cccf48Thanks @neurosnap! - Added achannelproperty to theSagaMiddlewareOptionsto reflect its runtime support.Updated dependencies [
2cccf48]:v1.2.2Compare Source
Patch Changes
#2340
345b828Thanks @neurosnap! - throttle now accepts a channel as originally intendedUpdated dependencies [
345b828]:v1.2.1Compare Source
Patch Changes
#2324
2466c79Thanks @neurosnap! - Add LICENSE fileUpdated dependencies [
2466c79]:v1.2.0Compare Source
Minor Changes
#2295
bed4458Thanks @lourd! - Adds type inference for result of task returned from runSaga and SagaMiddleware.run#2296
612cae8Thanks @lourd! - Updates Channel type to eliminate void-emitting pitfall#2308
8207e33Thanks @Andarist, @neurosnap! -exportsfield has been added to thepackage.jsonmanifest. It limits what files can be imported from a package but we've tried our best to allow importing all the files that were considered to be a part of the public API.This should fix the compatibility with Node.js ESM support.
Patch Changes
#2261
5ae6578Thanks @neurosnap! - RequireCpsCallbackin all functions passed to thecpseffect creator. This fixes a regression caused by TS 4.0 changing the behavior around spreadingneverinto tuple types#2004
20f22a8Thanks @gilbsgilbs! - A generic type has been added to theTaskinterface and that should be preferred over using a generic parameter inTask#resultandTask#toPromise.#2068
586179cThanks @mikabytes! - Added warnings when usingtake(channelOrPattern)incorrectly with more than one parameter. It helps to surface problem withtake(ACTION_A, ACTION_B)being used instead oftake([ACTION_A, ACTION_B]).Updated dependencies [
bed4458,612cae8,5ae6578,979b8b4,20f22a8,586179c]:v1.1.3Compare Source
Patch Changes
2466c79Thanks @neurosnap! - Add LICENSE filev1.1.2Compare Source
v1.1.1Compare Source
Fixes resolving TS types for
redux-saga/effectsv1.1.0Compare Source
This release is bringing improved TS typings - allowed by TS@3.6. Thanks, @gilbsgilbs for working on this 👍
For more on this please read https://github.com/redux-saga/redux-saga/pull/1892#issue-297396449
v1.0.5Compare Source
v1.0.4Compare Source
v1.0.3Compare Source
v1.0.2Compare Source
v1.0.1Compare Source
v1.0.0Compare Source
During work on v1, we made several breaking changes
Breaking changes
finallyblock fail-safetakeEvery,takeLatest,throttlefrom the redux-saga entry point (they are and were importable fromredux-saga/effects).put.syncandtakemwere removed.yield [...]. usealleffect instead.delaybecame an effect, olddelayfunction (not effect!) can be imported from@redux-saga/delay-pput.resolvewas changed toputResolvetake.maybewas changed totakeMaybetakeandputmethodstask.donegetter was changed to betask.toPromisemethodonErrordoesn't extenderrorwith additional fieldsagaStack, but pass it as a property of second argument. before:onError: (e: Error), after:onError(e: Error, { sagaStack })Effectshape, yielded to redux-saga middleware, is stabilized and declared now as a plain JavaScript object{effects, utils}aren't imported from 'redux-saga' anymore. imports them fromredux-saga/effects,redux-saga/utilsishelper should be imported from@redux-saga/is.createMockTask,cloneableGeneratorshould be imported from@redux-saga/testing-utilsraceshould be finished if any of effects resolved withEND(by analogy with all)cancel(...[tasks])andjoin(...[tasks])tocancel([tasks])andjoin([tasks])respectively. also callingcancel(...)returns a cancel-effect (before it may return analleffect), and callingjoin(...)returns a join-effect.{[IO]: true, [type]: payload }to{ [IO]: true, type, payload }to get rid of dynamictypeproperty. Could affect you if implement custom monitor for saga effects.arrayOfDefferedgot renamed to the correctarrayOfDeferredNew functionality
yield take(multicastChannel, pattern)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 for this featuretakeLeadinghelper. It takes "leading" action and ignores all incoming ones of the same type while the "leading" is still handled (useful for things debouncing)retryhelper. Receives a function and executes it (with blocking call). In case of failure will try to make another call afterdelayLengthmilliseconds, if a number of attempts <maxTriesparameterdebouncehelper. Spawns asagaon an action dispatched to the Store that matchespattern. Saga will be called after it stops takingpatternactions formsmilliseconds. Purpose of this is to prevent calling saga until the actions are settled off.v0.16.2Compare Source
v0.16.1Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.