Skip to content

v7.2.0

Compare
Choose a tag to compare
@CarLeonDev CarLeonDev released this 29 Jun 06:16
· 222 commits to master since this release

Breakings

  • refactor(core,hooks,test): Deprecate and replace some enums and methods on Lifecycle to use the right concept.
    • Deprecated Lifecycle.initialized, use Lifecycle.created instead.
    • Deprecated Lifecycle.destroyed, use Lifecycle.deleted instead.
    • Deprecated onInitialized method of LifecycleObserver, use onCreated method instead.
    • Deprecated onDestroyed method of LifecycleObserver, use onDeleted method instead.
  • refactor(widgets): Update ReactterProvider to use ReactterProvider.init constructor instead of init property.

Enhancements

  • feat(core): Add Reactter.hasRegister method to check if the dependency is registered in Reactter.
  • refactor(framework): Improve lazy loading performance in ProviderImpl, update implementation to reduce unnecessary checks and streamline widget rendering.

Fixes

  • fix(core): Prevent all ReactterDependency events from being deleted after deregistering a dependency.
    • Update offAll method in EventHandler to support generic removal.
  • fix(hooks): Ensure that the callback is executed by the dependencies of UseEffect.
  • refactor(hooks): Improve error handling in UseEffect.

Internal

  • refactor(core,framework,hooks): Update dependencyInjection getter names in Reactter codebase.
  • refactor(framework,test): Rename reactter_instance to reactter_dependency and fix imports and exports.
  • doc(hooks): Update UseReducer and UseState documentation to improve clarity and consistency.
  • test(core,hooks): Rename some files and update the descriptions.
  • test(core): Add Reactter.hasRegister test.
  • refactor: Remove unnecessary 'late' modifier in TestController.
  • test: Add comparable test cases for Args.
  • refactor: 📝 Improve some comments and documentation for clarity and consistency.
  • test: 📝 Update the descriptions of some test for clarity and consistency.
  • test(widgets): Add test case for nullish dependency obtained from context.
  • test(widgets): Add test case for getting dependency form ReactterProvider siblings.
  • refactor: Resolve lints and formatting issues.

Full Changelog: v7.1.0...v7.2.0