Skip to content

removed all remaining java code (interfaces) in core

Pre-release
Pre-release

Choose a tag to compare

@beyondeye beyondeye released this 25 Sep 08:59
· 3 commits to master since this release

New features:

  • now Reduks core is pure Kotlin, with no Java code or dependency.

Breaking changes:

  • none unless you referenced explicitly the Java interfaces for

    • Middleware
    • Reducer
    • StoreEnhancer
    • StoreSubscriber
    • StoreSubscriberBuilder
    • StoreSubscription
    • NextDispatcher.

    With explicit reference I mean explicit reference to them as a type. But as long as you used them in code to define your objects, you should be fine, because new builder functions have been introduced that results in exactly the same API.

If you need to reference these interfaces directly, note that they have been renamed, and now have an 'I' at the beginning of their names. E.g. Middleware is now IMiddleware.
These has been done in order to preserve the current API, from the end user perspective.

NextDispatcher interface has been completely removed: define directly functions with signature (Any)->Any instead