UNPKG

8.86 kBMarkdownView Raw
1# Change Log
2
3All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
5## [2.1.1](https://github.com/faceyspacey/redux-first-router/compare/v2.1.0...v2.1.1) (2018-11-06)
6
7* Fix(scrolling): fixes exported updateScroll function if set to manual
8
9* docs(connectRoutes): Improve doc
10
11Move doc about the bag option from docs/migration to docs/connectRoutes.
12Improve options order based on priority and runtime order.
13
14* docs(low-level-api): Improve doc
15
16Add missing doc about strict option.
17Fix wrong doc about NavLink component.
18
19* docs(react-native): Fix removed history argument
20
21Remove history arg as argument as it's handled internally since RFR v2.
22
23* docs(low-level-api): Fix grammar
24
25* docs(low-level-api): Improve strict option description
26
27* docs(connectRoutes): Fix description of location and title options
28
29
30
31<a name="2.0.5"></a>
32## [2.0.5](https://github.com/faceyspacey/redux-first-router/compare/v2.0.4...v2.0.5) (2018-10-12)
33
34* docs(badges): Fixed min node version badge
35
36* fix(babelrc): Fixing babel configs
37
38Configuring env middleware correctly. Making sure build passes and tests pass.
39
40<a name="2.0.4"></a>
41## [2.0.4](https://github.com/faceyspacey/redux-first-router/compare/v2.0.2...v2.0.4) (2018-10-12)
42
43
44
45<a name="2.0.3"></a>
46## [2.0.3](https://github.com/faceyspacey/redux-first-router/compare/v2.0.2...v2.0.3) (2018-10-12)
47
48
49* **docs(readme):** Migration documentation
50
51Small content block describing how to move from v1 to v2
52
53* **docs:** Adding node badge to readme
54
55badge and engine set to indeicate min version of Node 8 required
56
57* **docs(migration)**: Moved migration notes to docs/migration.md
58
59To prevent the Readme getting longer, ive moved migration docs to their own markdown file. Added
60additional notes about the `bag` option which is another breaking change
61
62
63<a name="2.0.2"></a>
64## [2.0.2](https://github.com/faceyspacey/redux-first-router/compare/v2.0.0...v2.0.2) (2018-10-12)
65
66
67### Bug Fixes
68
69* **middlewareCreateAction:** Error logging ([#303](https://github.com/faceyspacey/redux-first-router/issues/303)) ([6e214fc](https://github.com/faceyspacey/redux-first-router/commit/6e214fc))
70
71
72
73<a name="2.0.1"></a>
74## [2.0.1](https://github.com/faceyspacey/redux-first-router/compare/rudy...v2.0.1) (2018-10-05)
75
76### Bug fixes
77
78- **$middleware:** Fix location access bug of NotFoundAction ([28d0ebc](https://github.com/faceyspacey/redux-first-router/commit/28d0ebc))
79- **$readme:** add release update 9/16 ([10c2063](https://github.com/faceyspacey/redux-first-router/commit/10c2063))
80- **$readme:** release createHistory ([75b0f95](https://github.com/faceyspacey/redux-first-router/commit/75b0f95))
81- **$readme:** release update about to/fromPath now transforming even numbers ([4e7de03](https://github.com/faceyspacey/redux-first-router/commit/4e7de03))
82- **flow types export:** fixes export of types by adding flow annotation to index file ([89eca12](https://github.com/faceyspacey/redux-first-router/commit/89eca12)), closes [#115](https://github.com/faceyspacey/redux-first-router/issues/115)
83- **location reducer:** Call thunk when action kind is push to allow refreshes on same route ([4bc6485](https://github.com/faceyspacey/redux-first-router/commit/4bc6485)), closes [#276](https://github.com/faceyspacey/redux-first-router/issues/276)
84- Ensure that the `querySerializer` option is used for the initial action ([508af4f](https://github.com/faceyspacey/redux-first-router/commit/508af4ff149090d0613d5a3a88809ece66a0e1fe)) (Closes [#265](https://github.com/faceyspacey/redux-first-router/issues/265))
85- Ensure `thunk` is called when refreshing the initial route ([#288](https://github.com/faceyspacey/redux-first-router/pull/288)) (fixes [#276](https://github.com/faceyspacey/redux-first-router/issues/276))
86- Fix crash in `canGoBack` and `canGoForward` ([#291](https://github.com/faceyspacey/redux-first-router/pull/291)) (fixes [#285](https://github.com/faceyspacey/redux-first-router/issues/285))
87
88### Features
89
90- Add `coerceNumbers` flag to allow disabling integer coersion before `fromPath` ([#
91294](https://github.com/faceyspacey/redux-first-router/pull/294)) (fixes [#292](https://github.com/faceyspacey/redux-first-router/issues/292))
92- Pre-release fixes ([d72a899](https://github.com/faceyspacey/redux-first-router/commit/d72a899))
93
94### Performance Improvements
95
96* object entires over object keys ([067b3fb](https://github.com/faceyspacey/redux-first-router/commit/067b3fb))
97
98<a name="0.0.9-rudy"></a>
99## [0.0.9-rudy](https://github.com/faceyspacey/redux-first-router/compare/next...9c3822a) (2018-03-19)
100
101### Bug fixes
102
103- **fix:** ignore auto-generated OSX .DS_Store files ([bf502ba](https://github.com/faceyspacey/redux-first-router/commit/bf502ba))
104- **$readme:** add notes about confirmLeave in [@next](https://github.com/next) on NPM ([4c33c88](https://github.com/faceyspacey/redux-first-router/commit/4c33c88))
105- **$readme:** optional params [@next](https://github.com/next) release ([a466374](https://github.com/faceyspacey/redux-first-router/commit/a466374))
106- **$deps:** upgrade flow to v0.54.1 ([7b91afe](https://github.com/faceyspacey/redux-first-router/commit/7b91afe))
107- **$thunks:** Skip `onAfterChange` when route thunks dispatch a redirect ([2dff758](https://github.com/faceyspacey/redux-first-router/commit/2dff758)), closes [#96](https://github.com/faceyspacey/redux-first-router/issues/96)
108- **$compile:** fixes linting errors in `isRedirectAction` ([e74d36e](https://github.com/faceyspacey/redux-first-router/commit/e74d36e))
109- **$readme:** release notes for updates to [@next](https://github.com/next) branch ([012dbfa](https://github.com/faceyspacey/redux-first-router/commit/012dbfa))
110- **$basename:** + first rudy pre-release ([1252884](https://github.com/faceyspacey/redux-first-router/commit/1252884))
111- **$from/toPath:** do no custom transformation if to/fromPath route options provided ([1a1b1ec](https://github.com/faceyspacey/redux-first-router/commit/1a1b1ec))
112- **$NOT_FOUND:** finally fix issue [#175](https://github.com/faceyspacey/redux-first-router/issues/175) --custom place for the location reducer in NOT_FOUND actions ([a870a0a](https://github.com/faceyspacey/redux-first-router/commit/a870a0a))
113- check typeof window in `getDocument()` ([869f2fc](https://github.com/faceyspacey/redux-first-router/commit/869f2fcccc76bbf45edf341ce75ba2329a2dd22d))
114- make sure hex params are not treated as numbers ([d27ff9e](https://github.com/faceyspacey/redux-first-router/commit/d27ff9ef42f323ea3854d95485c5a64bd4b08a58))
115- honor returns from dispatch in redirectAwareDispatch ([9c3822a](https://github.com/faceyspacey/redux-first-router/commit/9c3822a2c224752b1aae3e66c6525f6d56aec25f))
116
117### Features
118
119- **options.createHistory:** add createHistory option so you can use memoryHistory + your forks/impl ([1ccc5a8](https://github.com/faceyspacey/redux-first-router/commit/1ccc5a8))
120- **$deps:** upgrade jest ([b14cd8c](https://github.com/faceyspacey/redux-first-router/commit/b14cd8c))
121- **$routeMap:** Accept meta information in routesMap ([869c78c](https://github.com/faceyspacey/redux-first-router/commit/869c78c))
122
123### BREAKING CHANGES
124
125- `connectRoutes` no longer accepts the `history` object as an argument, instead it is created internally ([0c2ec39](https://github.com/faceyspacey/redux-first-router/commit/0c2ec39))
126
127<a name="0.0.20-next"></a>
128## [0.0.20-next](https://github.com/faceyspacey/redux-first-router/compare/v1.9.19...next) (2017-09-11)
129
130### Bug fixes
131
132- **$confirmLeave:** insure confirmLeaves on first page with SSR ([6d8ed89](https://github.com/faceyspacey/redux-first-router/commit/6d8ed89))
133
134### Features
135
136- **$splitting:** addRoutes ([d3679df](https://github.com/faceyspacey/redux-first-router/commit/d3679df))\
137- **$confirmLeave:** add confirmLeave route option and displayConfirmLeave option ([69c7c80](https://github.com/faceyspacey/redux-first-router/commit/69c7c80))
138- **$advancedPathFeatures:** add advanced path features like optional params + fix double dispatch o ([d4f4482](https://github.com/faceyspacey/redux-first-router/commit/d4f4482))
139- **pathlessRoutes:** you can now have routes with paths for the of a formalized thunk contract + ca ([06f3f84](https://github.com/faceyspacey/redux-first-router/commit/06f3f84))
140- **$addRoutes:** merge back in addRoutes ([a8d5d6a](https://github.com/faceyspacey/redux-first-router/commit/a8d5d6a))
141
142### BREAKING CHANGES
143
144- **$bag:** add 3rd "bag" argument to all callbacks, which includes action + extra keys, replacing the previous `action` argument to `onBeforeChange` and `onAfterChange` ([c11306a](https://github.com/faceyspacey/redux-first-router/commit/c11306a))
145
146<a name="1.9.19"></a>
147## 1.9.19 (2017-08-24)
148
149Changes prior to this version were not recorded. See the commit log.