Skip to content

Tags: wrenchingdev/react-redux-firebase

Tags

v1.2.4

Toggle v1.2.4's commit message
Version v1.2.4 (prescottprue#60)

* `populatedDataToJS`: Checks for existence of child objects before checking child parameter   (fixes `param` of `undefined` errors )

v1.2.3

Toggle v1.2.3's commit message
Version v1.2.3 (prescottprue#52)

* Population of list with items containing a child param that is Firebase list (`key: true`) using `populatedDataToJS` (prescottprue#42)
* `populatedDataToJS` supports childParam option (prescottprue#48)
* `populatedDataToJS` returns null for empty lists instead of `undefined` (prescottprue#50)
* Unit tests added to cover all cases within `populatedDataToJS`

v1.2.2

Toggle v1.2.2's commit message
Version v1.2.2 (prescottprue#45)

* Undefined `populatedDataToJS` children handled
* Docs updated with exposure of `auth()`
* Fixes of small errors in docs (spacing/typos)

v1.2.1

Toggle v1.2.1's commit message
Version v1.2.1 (prescottprue#44)

* Single item with iterable child population now supported with `populatedDataToJS`
* `getRedirectResult` no longer calls dispatches `LOGOUT` on null response (fixes refresh issue with redux-auth-wrapper).
* `isLoading` typo corrected to `isInitalizing` in logout reducer case

v1.2.0

Toggle v1.2.0's commit message
Version v1.2.0 (prescottprue#37)

## Breaking Changes
- Data gathered during population is now normalized in redux [following defined redux practice of normalizing](http://redux.js.org/docs/recipes/reducers/NormalizingStateShape.html) (instead of placed directly into nested object). **THIS BREAKS v1.1.5 AND EARLIER IMPLEMENTATIONS OF POPULATE**. Now population will require the usage of `populatedDataToJS`.
- `populatedDataToJS` function added to helpers (returns data populated from normalized state)
- `profileDecorator` config option renamed to `profileFactory` for clarity (`profileDecorator` still supported, but will throw deprecation warning)
- default file metadata written to database includes `downloadURL` instead of `downloadURLs` array
- Meta values (`timestamp`, `requesting`, `requested`) are now stored by string key (keeps invalid keyPath error from showing up)
- `enableRedirectHandling` config param added to enable/disable auth redirect handling (enabled by default, which can cause breakage in none HTTP/HTTPS environments)

## Enhancements
- `once` queries no longer cause `off` error due to unmounting non existent listener (fixes prescottprue#36)
- login with auth redirect no longer returns null  and other redirect handling improvements (prescottprue#33)
- deep set `invalid keyPath` error fixed in data section of reducer (deep list is null first then has value)
- `fileMetadataFactory` config option added to allow control of metadata written to database when using `uploadFile` and `uploadFiles`
- Profile Params Populate now working for both object and string notation
- Config params type validation
- Roadmap updated with `v2.0.0` plans
- `profileDecorator` backwards compatibility is included (with a deprecation warning)
- `CODE_OF_CONDUCT.md` and `PATRONS.md` added
- Docs + Tests updated

v1.2.0-rc.1

Toggle v1.2.0-rc.1's commit message
profileDecorator backward compatibility with deprecation warning.

v1.2.0-beta

Toggle v1.2.0-beta's commit message
Docs updated and published.

v1.2.0-rc.2

Toggle v1.2.0-rc.2's commit message
Version v1.1.5 (prescottprue#30)

* `ref` is now a function in compose (Addresses prescottprue#28)
* test added to confirm that `ref` is exposed correctly
* Peer Dependencies updated to include `react-redux` `^5.0.0` and ` redux` `^3.6.0`

v1.1.5

Toggle v1.1.5's commit message
Version v1.1.5 (prescottprue#30)

* `ref` is now a function in compose (Addresses prescottprue#28)
* test added to confirm that `ref` is exposed correctly
* Peer Dependencies updated to include `react-redux` `^5.0.0` and ` redux` `^3.6.0`

v1.1.4

Toggle v1.1.4's commit message
Version v1.1.4 (prescottprue#26)

* UID Lists with value `true` now supported (from prescottprue#23):
  ```js
  {
    'absdfTGTdd-kV': true,
    'absdfTGTdd-kX': true
  }
  ```
* Handle `equalTo` query with `true` and `false` (fixes prescottprue#25)
* Roadmap updated