Releases: n6g7/redux-saga-firebase
Releases Β· n6g7/redux-saga-firebase
v0.15.0
Redux-Saga v1.0.0 support!
Updates
firestore.channel(pathOrRef, type, buffer, snapshotListenOptions)
now accepts a fourth, optional parameter:snapshotListenOptions
. A SnapshotListenOptions object to control the circumstances when the channel will emit events. Thanks @ted-aux! π (#135)- Improved TS typing. (#155)
Additions
- An error message is now logged to the console when an error arises in any synchronisation method and no
failureActionCreator
were given. (#156)
v0.14.1
Updates
- babel was upgraded to v7.0.0-beta.56 and
@babel/preset-stage-3
has been removed. @babel/runtime
is now a direct dependency to avoid conflicts with any user-installed version (see issue #130).
Additions
*auth.deleteProfile()
: deletes and signs out the user. Thanks, @sarovin! π
v0.14.0
Redux-Saga v1.0.0-beta support!
This release includes several breaking changes.
Updates
- (breaking) The library is now transpiled using babel v7. The outputed files are very close to what v6 generated and no bug was detected during testing, however this is still considered a potentially breaking change. Thanks, @sarovin! π
- (breaking) Redux-saga has been moved from a regular dependency to a peer dependency. This will ensure we use the client's redux-saga installation and enable support for support for redux-saga v1.0.0-beta.
database.channel(path, event, buffer)
now accepts an optional third argument,buffer
, which defaults tobuffers.none()
. Thanks @ryansully! πfirestore.channel(pathOrRef, type, buffer)
now accepts an optional third argument,buffer
, which defaults tobuffers.none()
. Thanks @ryansully! π
Additions
*auth.updateProfile(credential)
: updates the userβs basic profile information. Thanks, @elco45! π- The npm package now includes typescript types.
v0.13.0
v0.12.0
Changes
- The constructor
new ReduxSagaFirebase(firebaseApp)
now only accepts a firebase app. There is no need to pass afirebase.firestore()
object anymore, as RSF now uses the built-in firestore instance (and, BTW, it's a bad idea to usefirebase.firestore()
).
v0.11.0
Updates
*functions.call(functionName, queryParams, init)
now accepts URLs as first parameter. This is to allow running functions locally.
For more information see issue #97 and the docs.
v0.10.0
Updates
*functions.call(functionName, queryParams, init)
now takes a third optionalinit
argument which can be used to specify any custom settings that you want to apply to the request. It's identical tofetch
'sinit
argument.
For more information see issue #95.
v0.9.0
Additions
*auth.linkWithPopup(authProvider)
: links the authenticated provider to the user account using a pop-up based OAuth flow. Thanks @hhorne! π*auth.linkWithRedirect(authProvider)
: links the authenticated provider to the user account using a full-page redirect flow. Thanks @hhorne! π*auth.unlink(authProvider)
: unlinks a provider from a user account. Thanks @hhorne! π
v0.8.0
Updates
*database.sync(path, options, event)
now takes a third optionalevent
argument which defines the type of event to listen for. See the list of supported events in theReference.on
docs.
This new argument is optional and it defaults tovalue
, which was the default until now, so this isn't a breaking change.
For more information see issue #84.