Skip to content

Releases: voize-gmbh/reakt-native-toolkit

v0.21.0

04 Feb 22:25
Compare
Choose a tag to compare

What's Changed

  • Add config for namespacing generated ObjC filenames and classes by @erksch in #88
  • Add support for value classes by @erksch in #89

Full Changelog: v0.20.1...v0.21.0

v0.20.1

24 Jan 13:29
v0.20.1
7132b5e
Compare
Choose a tag to compare

What's Changed

  • Revert Improve error message for non registered Native Modules by @Legion2 in #61

Full Changelog: v0.20.0...v0.20.1

v0.20.0

23 Jan 18:41
v0.20.0
9f3fbdd
Compare
Choose a tag to compare

What's Changed

  • Set originating file on correct type for ios by @Legion2 in #84
  • Support sealed interfaces like sealed classes by @Legion2 in #87
  • Improve error message for non registered Native Modules by @Legion2 in #61

Full Changelog: v0.19.5...v0.20.0

v0.19.5

06 Dec 17:26
Compare
Choose a tag to compare

What's Changed

  • Compose view props are direct values instead of flows by @erksch in #83

Full Changelog: v0.19.4...v0.19.5

v0.19.4

05 Dec 17:35
Compare
Choose a tag to compare

What's Changed

  • Fix generation of compose views with no props and no callbacks by @erksch in #82
  • Make compose views transparent on iOS by @erksch in #81

Full Changelog: v0.19.3...v0.19.4

v0.19.3

20 Oct 00:16
Compare
Choose a tag to compare

What's Changed

  • Remove dependency on specific view manager and view manager factory class by @erksch in #79

Full Changelog: v0.19.2...v0.19.3

v0.19.2

18 Oct 21:38
Compare
Choose a tag to compare

Fixes

  • Fix that properties annotated with @ReactNativeProp of type Flow<Boolean> in a @ReactNativeViewManager always have a value of true

Full Changelog: v0.19.1...v0.19.2

v0.19.1

17 Oct 08:48
Compare
Choose a tag to compare

Fixes

  • Fix error Cannot locate windowRecomposer when rendering native Compose view within a FlatList

Full Changelog: v0.19.0...v0.19.1

v0.19.0

16 Oct 11:04
Compare
Choose a tag to compare

Breaking Changes

  • Updated Kotlin to 2.0.21
  • Updated KSP to 2.0.21-1.0.25
  • ...RNModuleProvider now return ReactNativeModuleBase instead of ...RNModuleAndroid on Android and RCTBridgeModuleProtocol instead of ...RNModuleIOS on iOS in the getModule method. If you do not call getModule directly this should not affect you.
  • The setup for Compose in React Native has been changed. Please check out the README and adapt your setup.

Improvements

  • Added originating KS files for generated view manager and providers (via #75)

Fixes

  • Fix Compose view managers for multiple instances (via #78)

Full Changelog: v0.18.0...v0.19.0

v0.18.0

24 Sep 17:45
Compare
Choose a tag to compare

Breaking Changes

  • Typescript files are not generate into build/generated/ksp/metadata/commonMain/resources/reaktNativeToolkit/typescript instead of build/generated/ksp/metadata/commonMain/resources

    Make sure to update the path in your copyGeneratedTypescriptFiles task:

    tasks.register<Copy>("copyGeneratedTypescriptFiles") {
        dependsOn("kspCommonMainKotlinMetadata")
    -   from("build/generated/ksp/metadata/commonMain/resources")
    +   from("build/generated/ksp/metadata/commonMain/resources/reaktNativeToolkit/typescript")
        into("../../src/generated")
    }

New Features

🔙 Support for legacy React Native Android dependency #66

From 0.17.0, this library was not compatible with React Native <0.71.0 anymore as they changed the Android dependency for React Native from react-native from node_modules to react-android from Maven central and this library only supported the new dependency.

Starting with this version, we also release separate versions with the suffix -legacy that point to the old Android dependency so the Toolkit can be used with React Native <0.71.0 again.

🚀 Experimental support for Compose in React Native #65, #67, #71

You can now render Kotlin Compose Multiplatform components directly into your React Native hierarchy just by annotating your Composable with @ReactNativeViewManager. Check out the README section on how to set this up.

Full Changelog: v0.17.0...v0.18.0