Releases: prescottprue/react-redux-firebase
Releases · prescottprue/react-redux-firebase
v2.0.3
- feat(config): support
Boolean
andFunction
types as preserve options for config and when emitting actions - fix(firestoreConnect): fix issue with unsetting listeners on unmount - #384 and 51 on
redux-firestore
- @danleavitt0 - feat(docs): query docs updated and formatting simplified
- feat(docs):
Function
capability added to docs aboutpreserve
config parameters
v2.0.2
- fix(firestore): logging in deletes any custom fields on user object - #366
- fix(docs):
scopes
parameter added to auth docs - #380 - fix(core): remove unnecessary
gitbook
dependencies (from docs) - feat(auth): firestore profiles now include all values returned in
authResponse.toJSON()
except for keys provided tokeysToRemoveFromAuth
config option (['appName', 'apiKey', 'authDomain', 'redirectEventId', 'stsTokenManager', 'uid']
by default). - feat(auth): firestore profiles time/date meta fields (i.e.
createdAt
) stored as timestamps instead of strings - feat(core): prettier added with associated eslint config and
format
npm script
v2.0.1
- fix(auth):
signInWithPhoneNumber
method fixed - #374 - feat(auth):
login
supportssignInWithPhoneNumber
by passingphoneNumber
andapplicationVerifier
- feat(examples): material example includes example usage of
login
usingphoneNumber
(multi step process unlike other usage oflogin
) - feat(docs): auth docs updated with
signInWithPhoneNumber
and additions tologin
v2.0.0
Features
- Standard JS Objects used in place of ImmutableJS Maps (means
pathToJS
anddataToJS
helpers no longer needed) - Improved support for
react-native
including support forreact-native-firebase
- Firestore support including HOCs (
firestoreConnect
andwithFirestore
) - HOCs for just attaching instance to props (
withFirebase
andwithFirestore
) - Support for
react
v16.0.0
Changes
Includes all changes previous v2.0.0
pre-release versions. Note that these changes are breaking for v1 - the migration guide must be followed to switch from v1.*.*
to v2.0.0
.
v2.0.0-rc.2
- fix(firestore): profile update with firestore - #360 - @barnomics
- fix(auth):
loginWithCustomToken
supports passingprofile
parameter - #359 - feat(auth): error messages for not logged using same wording for all methods (i.e. “User must be logged in”)
- feat(docs):
loginWithCustomToken
section updated with note about howprofile
is required in certain cases - #359 - feat(docs): roadmap updated to include option for re-rendering HOCs based on auth state change - #367
- feat(docs): link added to sidebar for each of the separate reducers
- feat(docs): note added to FAQ about why
yarn.lock
file is not included - fix(test): extended timeout added to unit tests for
login
to prevent fail on slow connections - feat(docs): note added to reducer docs about how it is multiple slice reducers combined with
combineReducers
- feat(test): unit tests added for auth/query actions not previously covered (
updateEmail
,updateAuth
,orderedFromSnapshot
, etc) - fix(test): tests simplified by moving reused functions to test utils
- fix(test): remove lint warning caused by
mocha.opts
being ignored - update(deps):
prop-types
dependency updated fromv15.5.*
to v15.6.*` - update(deps): tons of dev dependencies updated including
babel-cli
,babel-core
,eslint
,sinon
,mocha
,jsdom
Note
v2.0.0
syntax is now considered stable 🍾 (multiple production applications have switched from v1.5.*
to v2.*.*
following the migration guide, and test coverage is better than for v1.5.*
). Merge conflicts with master
have also been resolved.
All of this means this release will be the final RC released on next
before moving v2.0.0
to the latest
tag on npm (the latest
tag release will include merging to master
).
v2.0.0-rc.1
- feat(HOCs): Removed recompose's
withContext
fromwithFirebase
andwithFirestore
in order to support reactv16.*.*
- #337 - feat(HOCs):
props.dispatch
added towithFirebase
- feat(core): expose
reducer
asreducer
to match common redux panther also seen with other
libraries such asredux-form
- fix(storage):
progress: true
option on upload would cause dispatch ofFILE_UPLOAD_START
to occur twice - feat(tests): drastically simplified tests (mostly removing repeated code) while adding more coverage
- feat(core):
babel-transform-decorators-legacy
removed from dependencies (no longer used in tests) - feat(core):
recompose
is now a dev dependency only (no longer used in HOCs as part of fix for #337)
v2.0.0-beta.19
- feat(firestoreConnect): support
componentWillReceiveProps
infirestoreConnect
(props/query params change) - #354 - @danleavitt0 - feat(docs): actions docs updated with
recompose
examples (for more simple functional components) - fix(docs): profile docs updated with new wording (clarifies usage)
- fix(build):
codecov
npm script updated to fix warning
v2.0.0-beta.18
- feat(populate):
childAlias
for store results of populate on another parameter - #126 - feat(profile): Firestore support for
updateProfile
method - issue 25 on redux-firestore - feat(storage):
progress
option added touploadFile
method - #346 - feat(storage):
uploadFile
default metadata written to DB now includescreatedAt
- feat(core):
redux-firestore
is no longer a dependency - managed by library user directly - fix(examples): Material-ui example updates (including moving
injectTapEventPlugin()
tomain.js
)
v2.0.0-beta.17
- fix(populate): undefined populate child responds unmodified as expected - #310
- fix(auth):
UNLOAD_PROFILE
action type no longer dispatched (did not fix issue) - #301 - feat(populate): support for populating ordered data with multiple populates where one populate child missing
- feat(query): parsed query param added to allow disabling of automatic parsing - #302
- feat(config):
preserveOnLogin
config option added to allow preserving of pieces of state affected byLOGIN
action (called bylogin
action creator) - feat(tests): test added to check profile state consistency on
LOGIN
dispatch - #301 - feat(tests): tests added for
getVal
helper - feat(tests): Unit tests added for populating ordered data
v2.0.0-beta.16
- fix(populate): population still occurs even if all child parameters are not available
- feat(populate):
autoPopulateProfile
config parameter once again supported (to match v1) - feat(docs):
autoPopulateProfile
config parameter notes updated to match v2 support