Releases: 2devs-team/reactter
Releases · 2devs-team/reactter
v5.1.2
Fixes
- refactor(hooks): Add const to
ReactterAction
andReactterActionCallable
.
Internal
- doc: Change ROADMAP.
- refactor(example): Improve code and fix some issues.
- refactor(example): Remove
const
keyword for zapp compatibility.
Full Changelog: v5.1.1...v5.1.2
v5.1.1
Fixes
- fix(hooks): Don't attach instance when
UseEffect
doesn't havecontext
.
Full Changelog: v5.1.0...v5.1.1
v5.1.0
Enhancements
- feat(framework): Implement hook register.
- Add hook register logic for attaching
ReactterState
defined intoReactterHook
. - Refactor hooks to implement hook register.
- Add hook register logic for attaching
- feat(framework): Add
lazy
method and makeisInstanceBuilding
variable as public. - feat(extensions): Add
ReactterStateListExtension
withwhen
method. - feat(hooks): Add
UseCompute
hook. - feat(widget, test): Add
ReactterConsumer
widget.
Internal
- build(example): Use
reactter_lint
. - build(widgets): Remove unnecesary import.
- doc: Fix
ReactterInstanceNotFoundException
documentation. - refactor(framework): Export
ReactterInstance
. - doc(example): Add and remove some concepts from main.
- refactor(example): Remove late keyword form some hooks.
- refactor(example): Implement play and stop animation.
- refactor(framework): Rename
_RegisterHook
toHookRegister
. - test: Add
ReactterStateListExtension
test and other adjustments. - refactor(widgets): Make
ReactterConsumer.builder
required. - fix(framework): Add instance attached validation before
UseCompute
is disponsed. - refactor(extensions): Use
UseCompute
type onwhen
method. - test: Add
UseCompute
test and other adjustments. - build(example): Change folder structure.
- build: Change folder structure for
flutter_reactter
package.- Move all files to
src
. - Rename
ReactterTypes
totypes
. engine
was separated intoextensions
,framework
andtypes
.- Change folder structure of
test
.
- Move all files to
- build: Change folder structure for
reactter
package.- Move all files to
src
. - Rename
ReactterTypes
totypes
. core
was separated intoframework
,objs
,signals
,lifecycle
,types
.- Change folder structure of
test
.
- Move all files to
- refactor(core, widgets): Implement Reactter event to Signal generic.
- Remove
ReactterSignalProxy
. - Move
Obj
,Signal
to other folder. - Refactor
ReactterWatcher
to the new changes.
- Remove
- refactor(core): Remove
ReactterNotifyManager
.ReactterNotifyManager
is no longer used, all its methods were moved toReactterState
.Lifecycle
enum was move to new file(lifecycle.dart
).
Full Changelog: v5.0.1...v5.1.0
v5.0.1
Internal
- fix(test): Change dependencies for test coverage.
- fix(test): Fix some info about code validator.
Full Changelog: v5.0.0...v5.0.1
v5.0.0
Breaking
- refactor(engine, widgets, core, hooks, test): Delete
ReactterContext
andReactterHookManager
and remove all about it. - refactor(widgets, test): Replace
ReactterContextNotFoundException
toReactterInstanceNotFoundException
. - refactor(widgets, test): Remove
listenAllHooks
property fromReactterComponent
, uselistenAll
. - refactor(widgets, test): Remove
listenHooks
property fromReactterComponent
andReactterProvider.contextOf
, uselistenStates
. - refactor(hooks, test): Remove
context
property fromUseAsyncState
,UseContext
,UseEvent
,UseReducer
andUseState
. - refactor(hooks, test): Remove type
ReactterAction
,type
is String. - refactor(core, widgets, test): Delete
ReactterBuilder
andReactterScope
, replace tobuild
,StatelessWidget
,StatefulWidget
or any Widget that exposeBuildContext
.
Enhancements
- feat(core): Add
attachTo
,detachTo
andcreateState
methods toReactterState
.
Fixes
- refactor(core): Fix
hasListener
no depend ofReactterNotifyManager
.
Internal
- refactor, doc(example): Adjust to new changes.
- doc: Change documentation to better readability and adjust to new changes.
Full Changelog: v4.1.2...v5.0.0
v4.1.2
Internal
- build: Move
examples
folder topackages/flutter_reactter/example
.
Full Changelog: v4.1.1...v4.1.2
v4.1.1
Fixes
- fix(core): Fix predispose all hook states.
Internal
- refactor(example): Minor changes in some examples.
- refactor(example): Improve code and design of tree example.
- refactor(example): Improve code of calculator example.
- refactor(example): Improve code of animation example.
- doc: Add link to examples using zapp
Full Changelog: v4.1.0...v4.1.1
v4.1.0
Enhancements
- perf(core): Improve performance for changing states.
- perf(engine): Improve management for context dependencies.
Fixes
- fix(core): Remove the callbacks of one events when the instance will be disposed.
Internal
- refactor(example): Improve examples and fix some bugs.
- doc: Fix documentation.
Full Changelog: v4.0.0...v4.1.0
v4.0.0
Enhancements
- feat(core): Add
Obj
. - feat(core): Add
Signal
. - feat(core): Add
ReactterSignalProxy
mixin. - feat(core): Add
ReactterNotifyManager
mixin. - feat(core): Add
ReactterState
mixin. - refactor(core,hooks): Manage event separate from
UseEvent
hook. - perf(core): Improve to manage instances.
- perf(core): Improve to manage state.
- perf(widgets,core): Improve performance on
ReactterProvider
.
Now there is no need to useReactterComponent
orReactterBuilder
. The instance can be accessed directly from the context(BuildContext
) and just the part belonging to the context is re-built. - feat(widgets): Add
ReactterWatcher
.
You can use theSignal
variable inReactterWatcher
and react when it changed forReactterWatcher
's widgets rebuild.
Breaking
- refactor(core): Remove
typedef
innecesary. - refactor(hooks): Fix dispose of
UseContext
andUseEffect
. - build(widgets): Mark
ReactterScope
as deprecated. Use any Widget that exposes theBuildContext
likeBuild
,StatelessWidget
orStatefulWidget
instead. - build(widgets): Mark
listenHooks
andlistenAllHooks
as deprecated. UselistenStates
andlistenAll
instead. - refactor(widgets): Remove
onInit
fromReactteProvider
andReactterComponent
. - refactor(widget): Add
ReactterContext
argument inbuilder
ofReactterProvider
.
Fixes
- fix(core): Don't allow increasing listeners count, if event don't exist.
- fix(widgets): Clear previous signals saved.
- fix(core): Remove one callback using off method and was changed how to storage event.
Internal
- test: Refactor test and add event manager test.
- refactor(test): Fix test and add new tests.
- build(engine): Rename some files.
- refactor(test): Fix test and add
ReactterWatcher
test. - refactor(examples): Improve examples code and add calculator example.
- doc: Fix documentation and add new documentation.
- test(core,hooks): Fix dispose on some tests.
- refactor(examples): Do counter more simple.
Full Changelog: v3.2.0...v4.0.0
v3.2.0
Enhancements
- feat(hooks): Add
UseReducer
hook.
Breaking
- refactor(core): Replace
ReactterInstanceManager
extension to class.
Fixes
- refactor(hooks): Move events storage variable.
Internal
- refactor(examples): Improve examples code.
- docs: Update roadmap.
- docs: Fix some typos and improve documentation.
Full Changelog: v3.1.2...v3.2.0