Skip to content

Releases: 2devs-team/reactter

v5.1.1

21 Jul 21:44
Compare
Choose a tag to compare

Fixes

  • fix(hooks): Don't attach instance when UseEffect doesn't have context.

Full Changelog: v5.1.0...v5.1.1

v5.1.0

21 Jul 09:04
Compare
Choose a tag to compare

Enhancements

  • feat(framework): Implement hook register.
    • Add hook register logic for attaching ReactterState defined into ReactterHook.
    • Refactor hooks to implement hook register.
  • feat(framework): Add lazy method and make isInstanceBuilding variable as public.
  • feat(extensions): Add ReactterStateListExtension with when 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 to HookRegister.
  • 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 on when 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 to types.
    • engine was separated into extensions, framework and types.
    • Change folder structure of test.
  • build: Change folder structure for reactter package.
    • Move all files to src.
    • Rename ReactterTypes to types.
    • core was separated into framework, objs, signals, lifecycle, types.
    • Change folder structure of test.
  • refactor(core, widgets): Implement Reactter event to Signal generic.
    • Remove ReactterSignalProxy.
    • Move Obj, Signal to other folder.
    • Refactor ReactterWatcher to the new changes.
  • refactor(core): Remove ReactterNotifyManager.
    • ReactterNotifyManager is no longer used, all its methods were moved to ReactterState.
    • Lifecycle enum was move to new file(lifecycle.dart).

Full Changelog: v5.0.1...v5.1.0

v5.0.1

01 Jun 20:29
Compare
Choose a tag to compare

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

01 Jun 07:00
Compare
Choose a tag to compare

Breaking

  • refactor(engine, widgets, core, hooks, test): Delete ReactterContext and ReactterHookManager and remove all about it.
  • refactor(widgets, test): Replace ReactterContextNotFoundException to ReactterInstanceNotFoundException.
  • refactor(widgets, test): Remove listenAllHooks property from ReactterComponent, use listenAll.
  • refactor(widgets, test): Remove listenHooks property from ReactterComponent and ReactterProvider.contextOf, use listenStates.
  • refactor(hooks, test): Remove context property from UseAsyncState, UseContext, UseEvent, UseReducer and UseState.
  • refactor(hooks, test): Remove type ReactterAction, type is String.
  • refactor(core, widgets, test): Delete ReactterBuilder and ReactterScope, replace to build, StatelessWidget, StatefulWidget or any Widget that expose BuildContext.

Enhancements

Fixes

  • refactor(core): Fix hasListener no depend of ReactterNotifyManager.

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

24 Feb 18:04
Compare
Choose a tag to compare

Internal

  • build: Move examples folder to packages/flutter_reactter/example.

Full Changelog: v4.1.1...v4.1.2

v4.1.1

10 Feb 23:17
Compare
Choose a tag to compare

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

31 Dec 08:17
Compare
Choose a tag to compare

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

16 Nov 00:31
Compare
Choose a tag to compare

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 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.
  • feat(widgets): Add ReactterWatcher.
    You can use the Signal variable in ReactterWatcher and react when it changed for ReactterWatcher's widgets rebuild.

Breaking

  • refactor(core): Remove typedef innecesary.
  • refactor(hooks): Fix dispose of UseContext and UseEffect.
  • build(widgets): Mark ReactterScope as deprecated. Use any Widget that exposes the BuildContext like Build, StatelessWidget or StatefulWidget instead.
  • build(widgets): Mark listenHooks and listenAllHooks as deprecated. Use listenStates and listenAll instead.
  • refactor(widgets): Remove onInit from ReactteProvider and ReactterComponent.
  • refactor(widget): Add ReactterContext argument in builder of ReactterProvider.

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

09 Sep 15:11
Compare
Choose a tag to compare

Enhancements

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

v3.1.2

21 Jul 06:12
Compare
Choose a tag to compare

Fixes

  • fix(core): Add ref on Reactter.create.

Internal

  • docs: Fix some documentation.

Full Changelog: v3.1.1...v3.1.2