redux_saga 3.1.0 copy "redux_saga: ^3.1.0" to clipboard
redux_saga: ^3.1.0 copied to clipboard

redux_saga is a library that aims to make application side effects easier to manage, more efficient to execute, easy to test, and better at handling failures.

Change Log #

All notable changes to this project will be documented in this file.

1.0.5 #

  • Initial version

No changes yet.

1.0.6 #

  • CloneableGenerator and MockTask implementations completed.

1.0.7 #

  • Effect combinators fixed.

1.0.8 #

  • Beginner tutorial is available now.

1.0.9 #

  • Migration guide is available now.

1.1.8 #

  • Advanced docs avaliable now.

1.1.9 #

  • Saga monitor update.

1.1.10 #

  • Saga monitor test fix.

1.1.14 #

  • Code formatting fix.

1.1.15 #

  • Documentation fix.

1.1.16 #

  • Effect helpers action parameter can be dynamic or strict typed

2.0.0 #

  • Flutter web build errors fixed. After minification the function closures are changing. In order to avoid dart mirrors usage (also not avaliable) some changes are made. Codes are written at previous versions of the library must be migrated to this version. Please use the following instructions;
  1. If you use one of the effects Debounce, TakeEvery, TakeLatest, TakeLeading or Throttle then you must add named action parameter to the saga. Otherwise a parameter mismatch error may occured like the following;

Dynamic call with unexpected named argument 'action'.

Proper usage example :

fetchUser({dynamic action}) sync* { //add `{dynamic action}` as parameter
    //...
}

mySaga() sync* {
  yield TakeEvery(fetchUser, pattern: UserFetchRequested);
}
  1. Catch saga of Try effect must have error and stackTrace arguments. Otherwise a parameter mismatch error may occured like the following;

Dynamic call with too many arguments. Receiver: Instance of '() => Iterable

Proper usage example :

  //...

  yield Try(() sync* {

  }, Catch: (e, s) sync* {  //add e and s parameters to saga

  });

  //...

2.0.1 #

  • Fixed deprecated usages

2.0.2 #

  • Readme changed. ci badge added

2.1.0 #

  • Redux 5.0.0 and version upgrades.

3.0.3 #

  • Updated to null safety

3.0.5 #

  • pub.dev fixes

3.0.6 #

  • pub.dev fixes and update

3.1.0 #

  • removed unnecessary type checks
31
likes
150
pub points
79%
popularity

Publisher

unverified uploader

redux_saga is a library that aims to make application side effects easier to manage, more efficient to execute, easy to test, and better at handling failures.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

redux

More

Packages that depend on redux_saga