Releases: voize-gmbh/reakt-native-toolkit
v0.21.0
v0.20.1
v0.20.0
v0.19.5
v0.19.4
v0.19.3
v0.19.2
Fixes
- Fix that properties annotated with
@ReactNativeProp
of typeFlow<Boolean>
in a@ReactNativeViewManager
always have a value oftrue
Full Changelog: v0.19.1...v0.19.2
v0.19.1
Fixes
- Fix error
Cannot locate windowRecomposer
when rendering native Compose view within aFlatList
Full Changelog: v0.19.0...v0.19.1
v0.19.0
Breaking Changes
- Updated Kotlin to 2.0.21
- Updated KSP to 2.0.21-1.0.25
...RNModuleProvider
now returnReactNativeModuleBase
instead of...RNModuleAndroid
on Android andRCTBridgeModuleProtocol
instead of...RNModuleIOS
on iOS in thegetModule
method. If you do not callgetModule
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
Breaking Changes
-
Typescript files are not generate into
build/generated/ksp/metadata/commonMain/resources/reaktNativeToolkit/typescript
instead ofbuild/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