Skip to content

Releases: atomgomba/hurok

3.0.0

08 Oct 10:10

Choose a tag to compare

Breaking changes

  • Moved helper functions and extensions to com.ekezet.hurok.utils package
  • Removed ViewState as the emitter is now passed as an argument to the content lambda
  • Standardized order of generic arguments for the Renderer to match with the Loop
  • Introduced ArgsApplyer for providing argument applying logic from outside
  • Replaced firstAction with onStart to make botstrapping a Loop more flexible
  • Replaced DependencyContainer with HasActionEmitter and simplified the Action interface
  • Removed redundant extension methods (mutate() and outcome()) from Action

New features

  • Added experimental DSL for creating a Loop
  • Added asBuilder() extension method for obtaining a LoopBuilder from an existing Loop

Maintenance

  • Migrated to JDK 21 and raised minSdk to 26 for Android
  • New and updated tests
  • Upgraded dependencies
    • jUnit5 6.0.0
    • AGP 8.12.3

2.3.0

28 Sep 17:10

Choose a tag to compare

Breaking change

  • Remove Arg class

2.2.0

28 Sep 16:33

Choose a tag to compare

Breaking changes

  • Make Args::applyToModel internal

Maintenance

  • Update dependencies

2.1.0

23 Sep 14:12

Choose a tag to compare

Breaking changes

  • Generalize dependencies via DependencyContainer
  • Implementing ActionEmitter.addChildEmitter(child) isn't mandatory anymore

Maintenance

  • Update dependencies

2.0.1

21 Jun 07:49

Choose a tag to compare

Maintenance release

2.0.0

30 Jan 19:48

Choose a tag to compare

Breaking changes

  • Rename parentScope to just scope
  • Loop: pass 'CoroutineContext' instead of Dispatcher
  • Simplify Renderer interface by removing TDependency

Maintenance

  • Add documentation using Dokka
  • Other minor code improvements

1.4.0

18 Jan 22:57

Choose a tag to compare

  • Breaking Change: Rename LoopWrapper to LoopView
  • Fix: Avoid excess recomposition when new arguments are applied to existing loop

1.3.0

19 Dec 19:52

Choose a tag to compare

  • Refactor Loop: Update Model atomically
  • Refactor Action: move helper functions out of the interface
  • Update dependencies

1.2.2

10 Dec 19:18

Choose a tag to compare

Update to Kotlin 2.1.0

1.2.1

22 Oct 14:18

Choose a tag to compare