Notable changes are documented in this file, whose format follows Keep a Changelog.
Important
Version 0.9.0 and higher of kotlinx-resources target Kotlin 2.0 are incompatible with Kotlin 1.9.
Only lower versions (even if published in the future), alongside the k1
branch, target Kotlin 1.9.
- Support for Kotlin 2.0.0 (#115 - thanks @DRSchlaubi!)
- Re-add watchosX64 target
- Reading resource bytes on POSIX platforms (#106 - thanks @CharlieTap!)
- Support for Kotlin 1.9.0.
- Made
BuildConfig
internal.
- Removed compilation name in task names to avoid colliding with native.cocoapods, an official plugin. Unfortunately, this does mean that
kotlinx-resources
is currently incompatible withmoko-resources
.
- Added compilation name to task names to avoid colliding with moko-resources. E.g.,
copyResourcesDebugTestEtc
becomescopyTestResourcesDebugTestEtc
.
- Add
Resource.readBytes()
for reading resources as byte arrays.
- Throw
FileReadException
when failing to read resources, instead ofRuntimeException
. - Throw
UnsupportedOperationException
when using unsupported JS runtimes, instead ofRuntimeException
.
- Support for Kotlin 1.8 build tools.
- Support for iOS, watchOS, and tvOS simulators.
- Support for Kotlin 1.7 build tools.
- Use invariant separators in path to better support Windows.
- Removed cross-dependency from the library to the plugin.
- Add explicit version to plugin artifact to prevent issues with resolution.
- Automatic cleanup of Karma configuration file for proxying resources.
- Removed dependency on
org.jetbrains.kotlinx:kotlinx-nodejs
.
- Initial release.