You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixes “process is not defined” on React Native ([#525](https://github.com/rackt/redux/issues/525), [#526](https://github.com/rackt/redux/pull/526))
9
+
* Removes dependencies on `invariant` and `warning` ([#528](https://github.com/rackt/redux/pull/528))
10
+
* Fixes TodoMVC example ([#524](https://github.com/rackt/redux/issues/524), [#529](https://github.com/rackt/redux/pull/529))
* If `dispatch` is attempted while reducer is executing, an error is thrown. Note that you can dispatch from lifecycle hooks just fine. It's only reducers that are not allowed to dispatch. (https://github.com/rackt/redux/issues/368)
17
+
18
+
### New Home
19
+
20
+
We moved under [rackt](https://github.com/rackt) Github org. This won't affect you, but the new official URL is https://github.com/rackt/redux. We did this because we share values, and we want to collaborate on creating better tools, libraries, documentation, and examples. Redux stays independent of React, but we will work closely with React Router community to figure out a better integration.
21
+
22
+
### Docs!
23
+
24
+
[We have real docs now.](http://rackt.github.io/redux/) There are a few missing pieces, but it's a terrific effort, so thanks to everybody who contributed in the past month to get this shipped. Thanks to [Gitbook](https://github.com/GitbookIO/gitbook) for providing great tooling, too.
25
+
26
+
### Examples!
27
+
28
+
There's been no shortage of great examples in [Awesome Redux](https://github.com/xgrommx/awesome-redux), but we're shipping two new built-in examples in 1.0. One of them is a [very simple async application](https://github.com/rackt/redux/tree/master/examples/async). Creating it is covered in [async tutorial](http://rackt.github.io/redux/docs/advanced/AsyncActions.html). Another example we ship is a [“real-world” example](https://github.com/rackt/redux/tree/master/examples/real-world). It's a port of somewhat well-known [flux-react-router-example](https://github.com/gaearon/flux-react-router-example) to Redux, and shows advanced techniques such as caching, data normalization, custom API middleware, and pagination. Hopefully this example will help answer some commonly asked questions.
29
+
30
+
### Other Improvements
31
+
32
+
* Unsubscribing during a dispatch is now fixed: https://github.com/rackt/redux/pull/462
33
+
*`bindActionCreators` now can also accept a function as the first argument: https://github.com/rackt/redux/pull/352
34
+
* Dispatching from iframe now works: https://github.com/rackt/redux/issues/304
35
+
* Symbols can be used as action types: https://github.com/rackt/redux/pull/295 (Note: we don't recommend you to do this, because they're not serializable, so you can't record/replay user sessions.)
* “Stateless Stores” are now called reducers. (https://github.com/rackt/redux/issues/137#issuecomment-114178411)
61
+
* The “Redux instance” is now called “The Store”. (https://github.com/rackt/redux/issues/137#issuecomment-113252359)
62
+
* The dispatcher is removed completely. (https://github.com/rackt/redux/pull/166#issue-90113962)
63
+
64
+
### API changes
65
+
66
+
* <s>`composeStores`</s> is now `composeReducers`.
67
+
* <s>`createDispatcher`</s> is gone.
68
+
* <s>`createRedux`</s> is now `createStore`.
69
+
*`<Provider>` now accepts `store` prop instead of <s>`redux`</s>.
70
+
* The new `createStore` signature is `createStore(reducer: Function | Object, initialState: any, middlewares: Array | ({ getState, dispatch }) => Array)`.
71
+
* If the first argument to `createStore` is an object, `composeReducers` is automatically applied to it.
72
+
* The “smart” middleware signature changed. It now accepts an object instead of a single `getState` function. The `dispatch` function lets you “recurse” the middleware chain and is useful for async: #113 (comment).
73
+
74
+
### Correctness changes
75
+
76
+
* The `dispatch` provided by the default thunk middleware now walks the whole middleware chain.
77
+
* It is enforced now that raw Actions at the end of the middleware chain have to be plain objects.
78
+
* Nested dispatches are now handled gracefully. (#110, #119)
79
+
80
+
### Internal changes
81
+
82
+
* The object in React context is renamed from <s>`redux`</s> to `store`.
83
+
* Some tests are rewritten for clarity, focus and edge cases.
84
+
* Redux in examples is now aliased to the source code for easier work on master.
85
+
86
+
**Read the [detailed upgrade notes on the release page.](https://github.com/rackt/redux/releases/tag/v1.0.0-alpha)**
*`Connector` now throws if `select` returns something other than a plain object (https://github.com/gaearon/redux/pull/85)
47
-
* The custom dispatcher API is tweaked so `setState` now returns the state that was actually set. This makes custom dispatchers more composable. (https://github.com/gaearon/redux/pull/77)
126
+
*`Connector` now throws if `select` returns something other than a plain object (https://github.com/rackt/redux/pull/85)
127
+
* The custom dispatcher API is tweaked so `setState` now returns the state that was actually set. This makes custom dispatchers more composable. (https://github.com/rackt/redux/pull/77)
48
128
49
129
Happy reducing!
50
130
51
131
## [0.10.0] - 2015/06/13
52
132
### Middleware
53
133
54
-
Redux 1.0 is within striking distance! Can you believe how quickly Redux has matured? @gaearon made the first commit only [14 days ago](https://github.com/gaearon/redux/commit/8bc14659780c044baac1432845fe1e4ca5123a8d).
134
+
Redux 1.0 is within striking distance! Can you believe how quickly Redux has matured? @rackt made the first commit only [14 days ago](https://github.com/rackt/redux/commit/8bc14659780c044baac1432845fe1e4ca5123a8d).
55
135
56
136
The 0.10 release is a follow-up to 0.9, with a focus on what we're calling (at least for now) **middleware**.
57
137
58
-
You can read all about middleware [here](https://github.com/gaearon/redux/blob/master/docs/middleware.md). We plan to release some official middleware soon, but of course we'd also love to see middleware created by the community.
138
+
You can read all about middleware [here](https://github.com/rackt/redux/blob/master/docs/middleware.md). We plan to release some official middleware soon, but of course we'd also love to see middleware created by the community.
59
139
60
140
### Breaking changes
61
141
62
-
Just a small one: Redux includes a feature that enables you to return a function from an action creator to perform asynchronous dispatches. The function receives a callback and `getState()` as parameters. This has behavior has been re-implemented as middleware and moved into a separate module called [`thunkMiddleware()`](https://github.com/gaearon/redux/blob/master/src/middleware/thunk.js). It is included automatically when using the `createRedux(stores)` shortcut, but not when using `createDispatcher()`.
142
+
Just a small one: Redux includes a feature that enables you to return a function from an action creator to perform asynchronous dispatches. The function receives a callback and `getState()` as parameters. This has behavior has been re-implemented as middleware and moved into a separate module called [`thunkMiddleware()`](https://github.com/rackt/redux/blob/master/src/middleware/thunk.js). It is included automatically when using the `createRedux(stores)` shortcut, but not when using `createDispatcher()`.
63
143
64
144
### Tests
65
145
@@ -190,7 +270,7 @@ New:
190
270
* Fine-grained subscriptions via the new `<Connector select={fn}>` prop
191
271
* Less surprising, more consistent API
192
272
193
-
Read the discussion: https://github.com/gaearon/redux/pull/46
273
+
Read the discussion: https://github.com/rackt/redux/pull/46
194
274
195
275
## [0.7.0] - 2015/06/06
196
276
* Change second parameter in callback-style action creator from `state` to `read: (Store) => state` (#44)
@@ -244,7 +324,7 @@ It also now accepts a second `transformProps` argument to be just as expressive
244
324
* Add a few early invariants
245
325
246
326
## [0.5.0] - 2015/06/03
247
-
* Store function names are no longer significant, but you have to pass an object with all your Stores to the `root` (or `Root`). Fixes https://github.com/gaearon/redux/issues/16
327
+
* Store function names are no longer significant, but you have to pass an object with all your Stores to the `root` (or `Root`). Fixes https://github.com/rackt/redux/issues/16
248
328
249
329
```js
250
330
import { root } from'redux';
@@ -265,10 +345,10 @@ export default class TodoApp {
265
345
```
266
346
267
347
## [0.4.0] - 2015/06/03
268
-
* Bring decorators back, now on top of the lower-level container components (https://github.com/gaearon/redux/pull/15, thanks Florent)
348
+
* Bring decorators back, now on top of the lower-level container components (https://github.com/rackt/redux/pull/15, thanks Florent)
269
349
* Require `stores` passed to `Container` to be an array
270
-
* Fix build on Windows (https://github.com/gaearon/redux/pull/11, thanks Mike)
0 commit comments