Skip to content

Commit 8e13d1c

Browse files
committed
Merge branch 'develop'
2 parents eba4a3f + 0e48ad3 commit 8e13d1c

File tree

98 files changed

+12593
-1507
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+12593
-1507
lines changed

CHANGELOG.md

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,59 @@
1-
# Reactter by [2devs.io](https://2devs.io)
1+
# Reactter
2+
## 4.0.0
3+
4+
### Enhancements
5+
6+
- **feat(core)**: Add [`Obj`](https://pub.dev/documentation/reactter/4.0.0/core/Obj-class.html).
7+
- **feat(core)**: Add [`Signal`](https://pub.dev/documentation/reactter/4.0.0/core/Obj-class.html).
8+
- **feat(core)**: Add [`ReactterSignalProxy`](https://pub.dev/documentation/reactter/4.0.0/core/ReactterSignalProxy-mixin.html) mixin.
9+
- **feat(core)**: Add [`ReactterNotifyManager`](https://pub.dev/documentation/reactter/4.0.0/core/ReactterNotifyManager-mixin.html) mixin.
10+
- **feat(core)**: Add [`ReactterState`](https://pub.dev/documentation/reactter/4.0.0/core/ReactterState-mixin.html) mixin.
11+
- **refactor(core,hooks)**: Manage event separate from `UseEvent` hook.
12+
- **perf(core)**: Improve to manage instances.
13+
- **perf(core)**: Improve to manage state.
14+
- **perf(widgets,core)**: Improve performance on `ReactterProvider`.
15+
Now there is no need to use `ReactterComponent` or `ReactterBuilder`. The instance can be accessed directly from the context(`BuildContext`) and just the part belonging to the context is re-built.
16+
- **feat(widgets)**: Add [`ReactterWatcher`](https://pub.dev/documentation/reactter_flutter/4.0.0/widgets/ReactterWatcher-class.html).
17+
You can use the `Signal` variable in `ReactterWatcher` and react when it changed for `ReactterWatcher`'s widgets rebuild.
18+
19+
### Breaking
20+
21+
- **refactor(core)**: Remove `typedef` innecesary.
22+
- **refactor(hooks)**: Fix dispose of `UseContext` and `UseEffect`.
23+
- **build(widgets)**: Mark `ReactterScope` as deprecated. Use any Widget that exposes the `BuildContext` like `Build`, `StatelessWidget` or `StatefulWidget` instead.
24+
- **build(widgets)**: Mark `listenHooks` and `listenAllHooks` as deprecated. Use `listenStates` and `listenAll` instead.
25+
- **refactor(widgets)**: Remove `onInit` from `ReactteProvider` and `ReactterComponent`.
26+
- **refactor(widget)**: Add `ReactterContext` argument in `builder` of `ReactterProvider`.
27+
28+
### Fixes
29+
30+
- **fix(core)**: Don't allow increasing listeners count, if event don't exist.
31+
- **fix(widgets)**: Clear previous signals saved.
32+
- **fix(core)**: Remove one callback using off method and was changed how to storage event.
33+
34+
### Internal
35+
36+
- **test**: Refactor test and add event manager test.
37+
- **refactor(test)**: Fix test and add new tests.
38+
- **build(engine)**: Rename some files.
39+
- **refactor(test)**: Fix test and add `ReactterWatcher` test.
40+
- **refactor(examples)**: Improve examples code and add calculator example.
41+
- **doc**: Fix documentation and add new documentation.
42+
- **test(core,hooks)**: Fix dispose on some tests.
43+
- **refactor(examples)**: Do counter more simple.
44+
45+
## 3.2.1-dev.2
46+
47+
### Enhancements
48+
49+
- **refactor(engine)**: Use `ReactterScopeInheritedElement` as mixin on `ReactterProviderInheritedElement`.
50+
- **perf(widget)**: Improve `ReactterBuilder` performance.
251

352
## 3.2.0
453

554
### Enhancements
655

7-
- **feat(hooks)**: Add [`UseReducer`](https://pub.dev/documentation/reactter/3.2.0/reactter/UseReducer-class.html) hook.
56+
- **feat(hooks)**: Add [`UseReducer`](https://pub.dev/documentation/reactter/3.2.0/hooks/UseReducer-class.html) hook.
857

958
### Breaking
1059

0 commit comments

Comments
 (0)