Skip to content

Releases: 2devs-team/reactter

v3.1.1

15 Jul 19:52
Compare
Choose a tag to compare

Fixes

  • fix(widgets): Fix child and builder of ReactterProvider is not required when use ReactterProviders.

Full Changelog: v3.1.0...v3.1.1

v3.1.0

15 Jul 07:17
Compare
Choose a tag to compare

Breaking

  • refactor(core): Remove selector aspect from ReactterProvider.of.

Fixes

  • fix(core): Fix ReactterInstanceManager's get method create instance when instance didn't create yet.
  • refactor(engine, widgets): Add validations about child and builder properties.

Enhancements

  • refactor(core): Change Reactter.delete named argument to positional argument.

Internal

  • docs: Fix README documentation.
  • refactor(tests): Add test coverage of 100%.

Full Changelog: v3.0.0...v3.1.0

v3.0.0

14 Jul 22:31
1ed284a
Compare
Choose a tag to compare

Breaking

Enhancements

  • feat(widgets): Improve finding ReactterContext in the widget tree via the BuildContext. Now the operation of finding ReactterContext is O(1) and ReactterContext using id is O(2).
  • refactor(hooks): Add more Lifecycle events(Lifecycle.registered,Lifecycle.unregistered,Lifecycle.registered and Lifecycle.destroyed)
  • feat(hooks): Add UseContext hook.
  • feat(hooks): Add UseEvent hook.
  • feat(widgets): Add ReactterScope widget.
  • refactor(core): Add Reactter.create and Reactter.find.

Full Changelog: 2.3.3...v3.0.0

v2.3.3

14 Jun 04:52
Compare
Choose a tag to compare

Enhancements

  • refactor(core,widget): Remove life cycle class and move it to reactter_context.

Internal

  • reactor(example): Move buttons and fix typo on tree example.
  • docs(example): Change description of some examples.
  • docs: Remove assets and change README.
  • docs: Add README to example.

Full Changelog: v2.3.2...2.3.3

v2.3.2

11 Jun 06:46
Compare
Choose a tag to compare

Fixes

  • fix: format reactter.dart and remove an unnecessary dart file

Full Changelog: v2.3.1...v2.3.2

v2.3.1

11 Jun 06:31
Compare
Choose a tag to compare

Internal

  • fix(example): Fix typo on counter example button.
  • fix(example): Add implement tags on animation example.

Full Changelog: v2.3.0...v2.3.1

v2.3.0

11 Jun 06:15
Compare
Choose a tag to compare

Breaking

  • refactor: Rename context.of to context.watch.
  • refactor: Rename context.ofId to context.watchId.
  • refactor: Rename context.ofStatic to context.read.
  • refactor: Rename context.ofIdStatic to context.readId.
  • refactor: Move subscribe and publish pattern to ReactterSubscribersManager class. Can use subscribe and publish pattern with enum type specified.
  • refactor(widgets): Use ReactterInheritedProvider as scope on ReactterBuilder.
  • refactor(widgets): Add ReactterBuilder as scope when didn't has builder on ReactterComponent.
  • refactor(core): HookManager subscribe to willUpdate and didUpdate event.
  • refactor(core): WillUpdate and DidUpdate event trigger when its ReactterHook update.
  • refactor(engine): Manage dependencies of ReactterPubSub and lifecycle of ReactterContext.
  • refactor(widget): Performance as the instance of context is listened to mark need build.
  • refactor(hooks, widgets) - Rename UseProvide to ReactterProvider.

Fixes

  • fix(hooks,widgets): Delete instances of UseContext when dispatch updated event on ReactterProvider, to prevent has instances duplicated.
  • refactor(widget): Fix ReactterBuilder.

Enhancements

  • feat(widgets): Send id for find ReactterContext on ReactterComponent.
  • feat(widget): Add type on listenerHooks of ReactterBuilder.
  • feat(hooks): Add argument to resolve method of UseAsyncState.
  • feat(hooks): Add lifecycle willUpdate and didUpdate.
  • feat(widget): Add onInit to UseContext.
  • feat(hooks): UseEffect has lifecycle control of the context.
  • feat(hook) UseContext works with unique ids to create unique instances.
  • feat(widget): Add ReactterComponent.
  • refactor(core): Remove context property as public on ReactterHook.
  • feat(engine): Remove dependencies when ReactterProvider unmount.
  • refactor(core): Remove unnecessary event listeners from ReactterContext.
  • refactor(core,hooks): Remove unnecessary code.
  • refactor(engine): Remove props unnecessary on ReactterInheritedProvider.
  • refactor(hooks): Clear code and do code simple on UseAsyncState.
  • refactor(core): Improve performance how instances manager on ReactterFactory.
  • refactor(core): Improve UseEffect. Now the return of callback execute when a hook was change or willUnmount event was invoke.
  • refactor(core): Improve lifecycle events. Now it uses as subscription.

Internal

  • docs: Fix some documentation.
  • feat(example): Add more example with animation.
  • feat(example): Add new examples.
  • docs: Add badgets, reorder topic, fix examples and improve redaction on README.
  • docs: Add more documentation.
  • tests: Add tests for hooks and Widgets.

Full Changelog: v1.0.1...v2.3.0

v2.3.0-dev.3

11 Jun 05:37
Compare
Choose a tag to compare
v2.3.0-dev.3 Pre-release
Pre-release

[2.3.0-dev.3] - Dev Release 2022-06-11

Changed

  • refactor: Rename context.of to context.watch.
  • refactor: Rename context.ofId to context.watchId.
  • refactor: Rename context.ofStatic to context.read.
  • refactor: Rename context.ofIdStatic to context.readId.

Added

  • feat(example): Add more example with animation

v2.2.0-dev.1

10 Jun 05:32
Compare
Choose a tag to compare
v2.2.0-dev.1 Pre-release
Pre-release

[2.2.0-dev.1] - Dev Release 2022-06-10

Changed

  • refactory(core,engine,hooks,widget): Move subscribe and publish pattern to ReactterSubscribersManager class. Can use subscribe and publish pattern with enum type specified.
  • refactor(core,hooks): Remove unnecessary code.
  • fix(hooks,widgets): Delete instances of UseContext when dispatch updated event on ReactterProvider, to prevent has instances duplicated.
  • refactor(widgets): Use ReactterInheritedProvider as scope on ReactterBuilder.
  • refactor(engine): Remove props unnecessary on ReactterInheritedProvider.
  • refactor(core): Improve performance how instances manager on ReactterFactory.
  • refactor(widgets): Add ReactterBuilder as scope when didn't has builder on ReactterComponent.
  • refactor(hooks): Clear code and do code simple on UseAsyncState.
  • refactor(core): Remove context property as public on ReactterHook.

Added

  • feat(example): add new examples.
  • docs: Add badgets, reorder topic, fix examples and improve redaction on README.

v2.1.0-dev.2

25 May 05:43
Compare
Choose a tag to compare
v2.1.0-dev.2 Pre-release
Pre-release

[2.1.0-dev.2] - Dev Release 2022-04-25

Changed

  • docs: Fix some documentation.