Skip to content

Releases: prescottprue/react-redux-firebase

v2.0.3

31 Jan 08:59
9ca0d91
Compare
Choose a tag to compare
  • feat(config): support Boolean and Function 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 about preserve config parameters

v2.0.2

21 Jan 10:43
3e41c91
Compare
Choose a tag to compare
  • 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 to keysToRemoveFromAuth 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

16 Jan 09:08
5e39750
Compare
Choose a tag to compare
  • fix(auth): signInWithPhoneNumber method fixed - #374
  • feat(auth): login supports signInWithPhoneNumber by passing phoneNumber and applicationVerifier
  • feat(examples): material example includes example usage of login using phoneNumber (multi step process unlike other usage of login)
  • feat(docs): auth docs updated with signInWithPhoneNumber and additions to login

v2.0.0

01 Jan 00:14
9458028
Compare
Choose a tag to compare

Features

  • Standard JS Objects used in place of ImmutableJS Maps (means pathToJS and dataToJS helpers no longer needed)
  • Improved support for react-native including support for react-native-firebase
  • Firestore support including HOCs (firestoreConnect and withFirestore)
  • HOCs for just attaching instance to props (withFirebase and withFirestore)
  • 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

28 Dec 10:48
989d299
Compare
Choose a tag to compare
v2.0.0-rc.2 Pre-release
Pre-release
  • fix(firestore): profile update with firestore - #360 - @barnomics
  • fix(auth): loginWithCustomToken supports passing profile 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 how profile 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 from v15.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

17 Dec 07:00
44fc5ab
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release
  • feat(HOCs): Removed recompose's withContext from withFirebase and withFirestore in order to support react v16.*.* - #337
  • feat(HOCs): props.dispatch added to withFirebase
  • feat(core): expose reducer as reducer to match common redux panther also seen with other
    libraries such as redux-form
  • fix(storage): progress: true option on upload would cause dispatch of FILE_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

10 Dec 18:45
78b14d7
Compare
Choose a tag to compare
v2.0.0-beta.19 Pre-release
Pre-release
  • feat(firestoreConnect): support componentWillReceiveProps in firestoreConnect (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

03 Dec 23:09
f70e74e
Compare
Choose a tag to compare
v2.0.0-beta.18 Pre-release
Pre-release
  • 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 to uploadFile method - #346
  • feat(storage): uploadFile default metadata written to DB now includes createdAt
  • feat(core): redux-firestore is no longer a dependency - managed by library user directly
  • fix(examples): Material-ui example updates (including moving injectTapEventPlugin() to main.js)

v2.0.0-beta.17

12 Nov 14:27
11ee53a
Compare
Choose a tag to compare
v2.0.0-beta.17 Pre-release
Pre-release
  • 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 by LOGIN action (called by login 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

09 Nov 05:26
db2f1ff
Compare
Choose a tag to compare
v2.0.0-beta.16 Pre-release
Pre-release
  • 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