UNPKG

6.51 kBMarkdownView Raw
1# Change Log
2
3## 0.5.1
4
5### Bug Fixes
6
7 * [#217] Fix warn message `createElement` to `createElementWithContext`
8
9## 0.5.0
10
11### Features
12
13 * [#147] `connectToStores` and `provideContext` can now be used as decorators
14
15### Deprecations
16
17 * [#202] Addons were moved to a separate package ([fluxible-addons-react](https://github.com/yahoo/fluxible-addons-react)) to support other view libraries like React Native. A warning will be displayed when requiring the addons from this package. They will be removed in the next breaking change version.
18 * `connectToStores`'s `getStateFromStores` signature has changed to `(context, props)`.
19
20## 0.4.12
21
22### Bug Fixes
23
24 * [#197] Fixed issue where plugins were called with undefined during rehydration
25
26## 0.4.11
27
28### Bug Fixes
29
30 * [#195] Fixed undefined error with rehydrating with an empty state object
31
32### Features
33
34 * [#196] Added `getStore` method to `FluxibleContext` class
35
36## 0.4.10
37
38### Bug Fixes
39
40 * [#174] `MockActionContext.executeAction` now returns the result of the action properly - @ross-pfahler
41 * [#175] Better protection for plugin's `plugContext` method returning undefined - @cesarandreu
42 * [#176] Non-react specific statics on components will now be hoisted to the higher-order component wrappers
43
44## 0.4.9
45
46### Features
47
48 * [#165] Export `fluxible/utils/MockActionContext` and `fluxible/utils/MockComponentContext` classes
49 to make it easier to extend the classes for testing custom plugin functionality.
50
51### Bug Fixes
52
53* [#164] Fixed the `connectToStores` functionality in minified environments as long as users specify a `storeName` static property.
54
55## 0.4.8
56
57### Bug Fixes
58
59 * [#162] Fixed issue with 'catch' usage in IE<9
60
61## 0.4.7
62
63### Bug Fixes
64
65 * [#156] Fixed issue with connectToStores calling setState after componentWillUnmount has been called
66
67## 0.4.6
68
69### Bug Fixes
70
71 * [#144] Fixed issue with context prop not being provided to child of `FluxibleComponent`
72
73## 0.4.5
74
75### Bug Fixes
76
77 * Fix undefined error on first `executeAction` in context
78
79## 0.4.4
80
81### Bug Fixes
82
83 * [#141] Fixed `executeAction` not behaving asynchronously - @bruderstein
84 * [#142] Fixed issue with `FluxibleComponent` double rendering - @antonklava
85
86## 0.4.3
87
88### Features
89
90 * [#117] Add option to pass function to connectToStores which receives access to all stores
91
92### Bug Fixes
93
94 * [#120] Fixed component action handler errors being swallowed - @cesarandreu
95
96## 0.4.2
97
98### Bug Fixes
99
100 * [#115] Moved factory warning to context.createElement since it's only relevant when using this method
101
102## 0.4.1
103
104### Bug Fixes
105
106 * Fixed context plugin rehydration throwing undefined error
107
108## 0.4.0
109
110### New Features
111
112 * [#69] `executeAction` and plugins now support Promises: returns Promise and allows Promise to be returned from action
113 * [#70] `connectToStores` higher order component for listening to state changes
114 * [#107] `provideContext` higher order component for setting child context on top level component
115 * New `require('utils/createMockActionContext')` with simpler API to replace `MockActionContext`
116 * New `require('utils/createMockComponentContext')` with simpler API to replace `MockComponentContext`
117
118### Breaking Changes
119
120 * removed `require('fluxible').Mixin`
121 * removed `require('fluxible/utils/MockActionContext')`
122 * removed `require('fluxible/utils/MockComponentContext')`
123
124### Deprecations
125
126 * [#100] It is no longer necessary to pass component factories to Fluxible constructor, instead just pass the component class
127 * `require('fluxible').FluxibleComponent` has moved to `require('fluxible/addons/FluxibleComponent')`
128 * `require('fluxible').FluxibleMixin` has moved to `require('fluxible/addons/FluxibleMixin')`
129
130### Documentation
131
132 * Moved addons to their own document and added recommendations on which ones to use when there are options
133
134### Internals
135
136 * Updated to dispatchr 0.3.x
137 * Tests now use Babel instead of node-jsx
138
139## 0.3.3
140
141### Bug Fixes
142
143 * [#89] Fixed unintentional payload coercion in `executeAction`
144
145## 0.3.2
146
147### Features
148
149 * [#93] Allow context plugins' rehydrate method to be asynchronous
150
151## 0.3.1
152
153### Features
154
155 * `React.createFactory` no longer needs to be called on your component before passing it in to Fluxible
156
157## 0.3.0
158
159### Features
160
161 * `FluxibleContext.createElement()` now wraps component with `FluxibleComponent` to provide child context correctly
162
163### Breaking Changes
164
165 * React dependency pinned to 0.13
166
167### Deprecations
168
169 * `require('fluxible').Mixin` deprecated, moved to `require('fluxible').FluxibleMixin`
170 * `require('fluxible/utils/BaseStore')` deprecated, moved to `require('fluxible/addons/BaseStore')`
171 * `require('fluxible/utils/createStore')` deprecated, moved to `require('fluxible/addons/createStore')`
172
173## 0.2.10
174
175### Features
176
177 * [#93] Allow context plugins' rehydrate method to be asynchronous
178
179## 0.2.9
180
181### Features
182
183 * [#63] Added `FluxibleComponent` for wrapping app level component to provide child context
184
185## 0.2.8
186
187### Features
188
189 * [#62] Support for React 0.13
190
191## 0.2.6 - 0.2.7
192
193### Features
194
195 * [#58] Add ability to provide a component action handler in case errors get passed all the way up the action change
196
197## 0.2.5
198
199### Deprecations
200
201 * `appComponent` renamed to `component` in Fluxible constructor
202
203## 0.2.4
204
205### Features
206
207 * [#53] Use `action.displayName` if specified in debug logs (for debugging minified code)
208
209## 0.2.3
210
211### Features
212
213 * [#52] `FluxibleMixin` now specifies `childContextTypes` and `getChildContext` in preparation for React 0.13 which will deprecate `React.withContext`
214
215### Internals
216
217 * [#47] devDependency upgrades
218
219## 0.2.2
220
221### Bug Fixes
222
223 * Fix `MockComponentContext` not working with React context
224
225## 0.2.1
226
227### Features
228
229 * Add `import {FluxibleMixin} from 'fluxible';` for better ES6 support instead of `import {Mixin} from 'fluxible';`
230
231## 0.2.0
232
233### Features
234
235 * Full support for using React's context instead of passing `context` prop to all components
236
237### Breaking Changes
238
239 * `require('fluxible').StoreMixin` renamed to `require('fluxible').Mixin` since it includes more than just store listening
240
241## 0.1.5
242
243### Bug Fixes
244
245 * [#22] Pass a `MockActionContext` to `MockComponentAction.executeAction` calls
246
247## 0.1.4
248
249### Bug Fixes
250
251 * [#21] Pass noop to `MockActionContext.executeAction` to prevent `undefined is not a function` errors
252
253## 0.1.3
254
255### Internals
256
257 * Update dependencies
258
259## 0.1.2
260
261### Internals
262
263 * Update dependencies
264
265## 0.1.1
266
267### Bug Fixes
268
269 * Fixed invalid require in `MockActionContext`
270
271## 0.1.0
272
273First version.
274
\No newline at end of file