|
1 | 1 | # Reactter by [2devs.io](https://2devs.io)
|
2 | 2 |
|
| 3 | +## 3.1.2 |
| 4 | + |
| 5 | +### Fixes |
| 6 | + |
| 7 | +- **fix(core)**: Add ref on `Reactter.create`. |
| 8 | + |
| 9 | +### Internal |
| 10 | + |
| 11 | +- **docs**: Fix some documentation. |
| 12 | + |
3 | 13 | ## 3.1.1
|
4 | 14 |
|
| 15 | +### Fixes |
| 16 | + |
5 | 17 | - **fix(widgets)**: Fix `child` and `builder` of `ReactterProvider` is not required when use `ReactterProviders`.
|
6 | 18 |
|
7 | 19 | ## 3.1.0
|
8 | 20 |
|
9 |
| -### Breacking |
| 21 | +### Breaking |
10 | 22 |
|
11 |
| -- **refactor(core)**: Change `Reactter.delete` named argument to positional argument. |
12 | 23 | - **refactor(core)**: Remove selector aspect from `ReactterProvider.of`.
|
13 | 24 |
|
14 |
| -### Changed |
| 25 | +### Fixes |
15 | 26 |
|
16 | 27 | - **fix(core)**: Fix `ReactterInstanceManager`'s get method create instance when instance didn't created yet.
|
17 |
| -- **docs**: Fix README documentation. |
18 | 28 | - **refactor(engine, widgets)**: Add validations about `child` and `builder` properties.
|
19 | 29 |
|
20 |
| -### Added |
| 30 | +### Enhancements |
| 31 | + |
| 32 | +- **refactor(core)**: Change `Reactter.delete` named argument to positional argument. |
21 | 33 |
|
| 34 | +### Internal |
| 35 | + |
| 36 | +- **docs**: Fix README documentation. |
22 | 37 | - **refactor(tests)**: Add test coverage of 100%.
|
23 | 38 |
|
24 | 39 | ## 3.0.0
|
25 | 40 |
|
26 |
| -### Breacking |
| 41 | +### Breaking |
27 | 42 |
|
28 | 43 | - **build**: Change structure folder. Now the package was separated into two packages, one for dart only([`reactter`](https://pub.dev/packages/reactter)) and one for flutter([`flutter_reactter`](https://pub.dev/packages/flutter_reactter)).
|
29 | 44 | - **refactor(hooks)**: Type return on [`UseAsyncState.when`](https://pub.dev/documentation/reactter/3.0.0/reactter/UseAsyncState/when.html).
|
|
34 | 49 | - **refactor(core)**: Replace [`ReactterSubscribersManager`](https://pub.dev/documentation/reactter/2.3.3/reactter/ReactterSubscribersManager-class.html) to [`UseEvent`](https://pub.dev/documentation/reactter/3.0.0/hooks/UseEvent-class.html).
|
35 | 50 | - **refactor(core)**: Replace [`BuildContext.read`](https://pub.dev/documentation/reactter/2.3.3/reactter/ReactterBuildContextExtension/read.html) and [`BuildContext.readId`](https://pub.dev/documentation/reactter/2.3.3/reactter/ReactterBuildContextExtension/readId.html) to [`BuildContext.use`](https://pub.dev/documentation/flutter_reactter/3.0.0/widgets/ReactterBuildContextExtension/use.html).
|
36 | 51 |
|
37 |
| -### Changed |
| 52 | +### Enhancements |
38 | 53 |
|
39 | 54 | - **feat(widgets)**: Improve finding [`ReactterContext`](https://pub.dev/documentation/flutter_reactter/3.0.0/hooks/ReactterContext-class.html) in the widget tree via the [`BuildContext`](https://pub.dev/documentation/flutter_reactter/3.0.0/widgets/ReactterBuildContextExtension.html). Now the operation of finding `ReactterContext` is O(1) and `ReactterContext` using id is O(2).
|
40 |
| - |
41 |
| -### Added |
42 |
| - |
43 | 55 | - **refactor(hooks)**: Add more [`Lifecycle`](https://pub.dev/documentation/reactter/3.0.0/core/Lifecycle.html) events(`Lifecycle.registered`,`Lifecycle.unregistered`,`Lifecycle.registered` and `Lifecycle.destroyed`)
|
44 | 56 | - **feat(hooks)**: Add [`UseContext`](https://pub.dev/documentation/reactter/3.0.0/hooks/UseContext-class.html) hook.
|
45 | 57 | - **feat(hooks)**: Add [`UseEvent`](https://pub.dev/documentation/reactter/3.0.0/hooks/UseEvent-class.html) hook.
|
|
48 | 60 |
|
49 | 61 | ## 2.3.3
|
50 | 62 |
|
51 |
| -### Changed |
| 63 | +### Enhancements |
52 | 64 |
|
53 | 65 | - **refactor(core,widget)**: Remove life cycle class and move it to reactter_context.
|
54 |
| -- **docs**: Remove assets and change README. |
55 |
| -- **reactor(example)**: Move buttons and fix typo on tree example. |
56 |
| -- **docs(example)**: Change description of some examples. |
57 | 66 |
|
58 |
| -### Added |
| 67 | +### Internal |
59 | 68 |
|
| 69 | +- **reactor(example)**: Move buttons and fix typo on tree example. |
| 70 | +- **docs(example)**: Change description of some examples. |
| 71 | +- **docs**: Remove assets and change README. |
60 | 72 | - **docs**: Add README to example.
|
61 | 73 |
|
62 | 74 | ## 2.3.2
|
63 | 75 |
|
64 |
| -### Changed |
| 76 | +### Fixes |
65 | 77 |
|
66 | 78 | - **fix**: format reactter.dart and remove an unnecesary dart file
|
67 | 79 |
|
68 | 80 | ## 2.3.1
|
69 | 81 |
|
70 |
| -### Changed |
| 82 | +### Internal |
71 | 83 |
|
72 | 84 | - **fix(example)**: Fix typo on counter example button.
|
73 | 85 | - **fix(example)**: Add implement tags on animation example.
|
74 | 86 |
|
75 | 87 | ## 2.3.0
|
76 | 88 |
|
77 |
| -### Changed |
| 89 | +### Breaking |
78 | 90 |
|
79 | 91 | - **refactor**: Rename `context.of` to `context.watch`.
|
80 | 92 | - **refactor**: Rename `context.ofId` to `context.watchId`.
|
81 | 93 | - **refactor**: Rename `context.ofStatic` to `context.read`.
|
82 | 94 | - **refactor**: Rename `context.ofIdStatic` to `context.readId`.
|
83 | 95 | - **refactor**: Move subscribe and publish pattern to `ReactterSubscribersManager` class. Can use subscribe and publish pattern with enum type specified.
|
84 |
| -- **refactor(core,hooks)**: Remove innecesary code. |
85 |
| -- **fix(hooks,widgets)**: Delete instances of `UseContext` when dispatch updated event on `ReactterProvider`, for prevent has instances duplicated. |
86 | 96 | - **refactor(widgets)**: Use `ReactterInheritedProvider` as scope on `ReactterBuilder`.
|
87 |
| -- **refactor(engine)**: Remove props innecesary on `ReactterInheritedProvider`. |
88 |
| -- **refactor(core)**: Improve performance how instances manager on `ReactterFactory`. |
89 | 97 | - **refactor(widgets)**: Add `ReactterBuilder` as scope when doesn't has builder on `ReactterComponent`.
|
90 |
| -- **refactor(hooks)**: Clear code and do code simple on `UseAsyncState`. |
91 |
| -- **refactor(core)**: Remove context property as public on `ReactterHook`. |
92 |
| -- **docs**: Fix some documentation. |
93 |
| -- **feat(engine)**: Remove dependencies when `ReactterProvider` unmount. |
94 |
| -- **refactor(core)**: Remove unneccesaries event listeners from `ReactterContext`. |
95 | 98 | - **refactor(core)**: `HookManager` subscribe to `willUpdate` and `didUpdate` event.
|
96 | 99 | - **refactor(core)**: `WillUpdate` and `DidUpdate` event trigger when its `ReactterHook` update.
|
97 | 100 | - **refactor(engine)**: Manage dependencies of `ReactterPubSub` and `lifecycle` of `ReactterContext`.
|
98 | 101 | - **refactor(widget)**: Performance as the instance of `context` is listen to mark need build.
|
99 |
| -- **refacor(widget)**: Fix `ReactterBuilder`. |
100 |
| -- **refactor(core)**: Improve `UseEffect`. Now the return of callback execute when a hook was change or `willUnmount` event was invoke. |
101 |
| -- **refactor(core)**: Improve `lifecycle` events. Now it use as subscription. |
102 | 102 | - **refactor(hooks, widgets)** - Rename `UseProvide` to `ReactterProvider`.
|
103 | 103 |
|
104 |
| -### Added |
| 104 | +### Fixes |
| 105 | + |
| 106 | +- **fix(hooks,widgets)**: Delete instances of `UseContext` when dispatch updated event on `ReactterProvider`, for prevent has instances duplicated. |
| 107 | +- **refacor(widget)**: Fix `ReactterBuilder`. |
| 108 | + |
| 109 | +### Enhancements |
105 | 110 |
|
106 |
| -- **feat(example)**: Add more example with animation |
107 |
| -- **feat(example)**: Add new examples. |
108 |
| -- **docs**: Add badgets, reorder topic, fix examples and improve redacty redaction on README. |
109 | 111 | - **feat(widgets)**: Send `id` for find `ReactterContext` on `ReactterComponent`.
|
110 |
| -- **docs**: Add more documentation. |
111 |
| -- **tests**: Add tests for `hooks` and `Widgets`. |
112 | 112 | - **feat(widget)**: Add type on `listenerHooks` of `ReactterBuilder`.
|
113 | 113 | - **feat(hooks)**: Add argument to `resolve` method of `UseAsyncState`.
|
114 | 114 | - **feat(hooks)**: Add `lifecycle` `willUpdate` and `didUpdate`.
|
115 | 115 | - **feat(widget)**: Add `onInit` to `UseContext`.
|
116 | 116 | - **feat(hooks)**: `UseEffect` has lifecycle control of the context.
|
117 | 117 | - **feat(hook)** `UseContext` works with unique ids to create unique instances.
|
118 | 118 | - **feat(widget)**: Add `ReactterComponent`.
|
119 |
| - |
120 |
| -## 2.3.0-dev.3 |
121 |
| - |
122 |
| -### Changed |
123 |
| - |
124 |
| -- **refactor**: Rename `context.of` to `context.watch`. |
125 |
| -- **refactor**: Rename `context.ofId` to `context.watchId`. |
126 |
| -- **refactor**: Rename `context.ofStatic` to `context.read`. |
127 |
| -- **refactor**: Rename `context.ofIdStatic` to `context.readId`. |
128 |
| - |
129 |
| -### Added |
130 |
| - |
131 |
| -- **feat(example)**: Add more example with animation |
132 |
| - |
133 |
| -## 2.2.0-dev.1 |
134 |
| - |
135 |
| -### Changed |
136 |
| - |
137 |
| -- **refactor**: Move subscribe and publish pattern to `ReactterSubscribersManager` class. Can use subscribe and publish pattern with enum type specified. |
| 119 | +- **refactor(core)**: Remove context property as public on `ReactterHook`. |
| 120 | +- **feat(engine)**: Remove dependencies when `ReactterProvider` unmount. |
| 121 | +- **refactor(core)**: Remove unneccesaries event listeners from `ReactterContext`. |
138 | 122 | - **refactor(core,hooks)**: Remove innecesary code.
|
139 |
| -- **fix(hooks,widgets)**: Delete instances of `UseContext` when dispatch updated event on `ReactterProvider`, for prevent has instances duplicated. |
140 |
| -- **refactor(widgets)**: Use `ReactterInheritedProvider` as scope on `ReactterBuilder`. |
141 | 123 | - **refactor(engine)**: Remove props innecesary on `ReactterInheritedProvider`.
|
142 |
| -- **refactor(core)**: Improve performance how instances manager on `ReactterFactory`. |
143 |
| -- **refactor(widgets)**: Add `ReactterBuilder` as scope when doesn't has builder on `ReactterComponent`. |
144 | 124 | - **refactor(hooks)**: Clear code and do code simple on `UseAsyncState`.
|
145 |
| -- **refactor(core)**: Remove context property as public on `ReactterHook`. |
146 |
| - |
147 |
| -### Added |
148 |
| - |
149 |
| -- **feat(example)**: add new examples. |
150 |
| -- **docs**: Add badgets, reorder topic, fix examples and improve redacty redaction on README. |
151 |
| - |
152 |
| -## 2.1.0-dev.2 |
| 125 | +- **refactor(core)**: Improve performance how instances manager on `ReactterFactory`. |
| 126 | +- **refactor(core)**: Improve `UseEffect`. Now the return of callback execute when a hook was change or `willUnmount` event was invoke. |
| 127 | +- **refactor(core)**: Improve `lifecycle` events. Now it use as subscription. |
153 | 128 |
|
154 |
| -### Changed |
| 129 | +### Internal |
155 | 130 |
|
156 | 131 | - **docs**: Fix some documentation.
|
157 |
| - |
158 |
| -## 2.1.0-dev |
159 |
| - |
160 |
| -### Changed |
161 |
| - |
162 |
| -- **feat(engine)**: Remove dependencies when `ReactterProvider` unmount. |
163 |
| -- **refactor(core)**: Remove unneccesaries event listeners from `ReactterContext`. |
164 |
| -- **refactor(core)**: `HookManager` subscribe to `willUpdate` and `didUpdate` event. |
165 |
| -- **refactor(core)**: `WillUpdate` and `DidUpdate` event trigger when its `ReactterHook` update. |
166 |
| -- **refactor(engine)**: Manage dependencies of `ReactterPubSub` |
167 |
| -and `lifecycle` of `ReactterContext`. |
168 |
| -- **refactor(widget)**: Performance as the instance of `context` is listen to mark need build. |
169 |
| -- **refacor(widget)**: Fix `ReactterBuilder`. |
170 |
| -- **refactor(core)**: Improve `UseEffect` |
171 |
| -now the return of callback execute when a hook was change |
172 |
| -or `willUnmount` event was invoke. |
173 |
| -- **refactor(core)**: Improve `lifecycle` events |
174 |
| -now it use as subscription. |
175 |
| -- **refactor(hooks, widgets)** - Rename `UseProvide` to `ReactterProvider`. |
176 |
| - |
177 |
| -### Added |
178 |
| - |
179 |
| -- **feat(widgets)**: Send `id` for find `ReactterContext` on `ReactterComponent`. |
| 132 | +- **feat(example)**: Add more example with animation. |
| 133 | +- **feat(example)**: Add new examples. |
| 134 | +- **docs**: Add badgets, reorder topic, fix examples and improve redacty redaction on README. |
180 | 135 | - **docs**: Add more documentation.
|
181 | 136 | - **tests**: Add tests for `hooks` and `Widgets`.
|
182 |
| -- **feat(widget)**: Add type on `listenerHooks` of `ReactterBuilder`. |
183 |
| -- **feat(hooks)**: Add argument to `resolve` method of `UseAsyncState`. |
184 |
| -- **feat(hooks)**: Add `lifecycle` `willUpdate` and `didUpdate`. |
185 |
| -- **feat(widget)**: Add `onInit` to `UseContext`. |
186 |
| - |
187 |
| -## 2.0.0-dev.1 |
188 |
| - |
189 |
| -### Changed |
190 |
| - |
191 |
| -- Fix some documentation. |
192 |
| -- `UseEffect` has lifecycle control of the context. |
193 |
| -- `UseContext` works with unique ids to create unique instances. |
194 |
| -- Removed equatable from **#Roadmap**. |
195 |
| - |
196 |
| -### Added |
197 |
| - |
198 |
| -- Tests. |
199 |
| -- `ReactterComponent`. |
200 | 137 |
|
201 | 138 | ## 1.0.1
|
202 | 139 |
|
203 |
| -### Changed |
204 |
| - |
205 |
| -- Fix some documentation. |
206 |
| -- Removed Utils folder from library. |
207 |
| - |
208 |
| -### Added |
| 140 | +### Enhancements |
209 | 141 |
|
210 | 142 | - Improve performance with primitive loops in functions.
|
211 | 143 |
|
212 |
| -## 1.0.0 |
213 |
| - |
214 |
| -### Changed |
| 144 | +### Internal |
215 | 145 |
|
216 | 146 | - Fix some documentation.
|
217 |
| -- Package description (was too short). |
218 |
| -- Remove unused imports in library. |
219 |
| - |
220 |
| -### Added |
221 |
| - |
222 |
| -- Documentation |
223 |
| -- 130 points in pub.dev. |
| 147 | +- Removed Utils folder from library. |
224 | 148 |
|
225 |
| -## 1.0.0-dev |
| 149 | +## 1.0.0 |
226 | 150 |
|
227 |
| -### Changed |
| 151 | +### Enhancements |
228 | 152 |
|
229 | 153 | - **No need package dependencies**: We decided to remove all dependencies and create a new state management from scratch.
|
230 | 154 | - **Controller now is Context**: `ReactterController` has been replaced by `ReactterContext`, which are the classes that going to manage our states.
|
231 | 155 |
|
232 |
| - ```dart |
233 |
| - class AppContext extends ReactterContext {} |
234 |
| - ``` |
235 |
| - |
236 |
| -### Added |
237 |
| - |
238 | 156 | - **Two ways to manage state**: You can control the listeners from context like this:
|
239 | 157 |
|
240 | 158 | ```dart
|
@@ -377,6 +295,28 @@ now it use as subscription.
|
377 | 295 |
|
378 | 296 | ```
|
379 | 297 |
|
| 298 | +### Internal |
| 299 | +
|
| 300 | +- Fix some documentation. |
| 301 | +- Package description (was too short). |
| 302 | +- Remove unused imports in library. |
| 303 | +- Documentation |
| 304 | +- 130 points in pub.dev. |
| 305 | +
|
| 306 | +## 1.0.0-dev |
| 307 | +
|
| 308 | +### Enhancements |
| 309 | +
|
| 310 | +- **Controller now is Context**: `ReactterController` has been replaced by `ReactterContext`, which are the classes that going to manage our states. |
| 311 | +
|
| 312 | + ```dart |
| 313 | + class AppContext extends ReactterContext {} |
| 314 | + ``` |
| 315 | + |
| 316 | +### Internal |
| 317 | + |
| 318 | +- **No need package dependencies**: We decided to remove all dependencies and create a new state management from scratch. |
| 319 | + |
380 | 320 | ## 0.0.1-dev.4
|
381 | 321 |
|
382 | 322 | ### Added
|
|
0 commit comments