Kotlin Native Versions Save

Kotlin/Native infrastructure

v1.4.21

3 years ago

v1.4.20

3 years ago
  • XCode 12 support
  • Completely reworked escape analysis for object allocation
  • Use ForeignException wrapper to handle native exceptions (GH-3553)
  • CocoaPods plugin improvements
  • equals/hashCode support for adapted callable references (KT-39800)
  • equals/hashCode support for fun interfaces (KT-39798)
  • IR-level optimizations
    • Constant folding
    • String concatenation flattenning
  • Various fixes/improvements to compiler caches
  • Some fixes to samples (calculator, tensorflow)
  • Bug fixes

Download the binary distribution from https://github.com/JetBrains/kotlin/releases/tag/v1.4.20

v1.4.10

3 years ago
  • Fixed a newline handling in @Deprecated annotation in ObjCExport (KT-39206)
  • Fixed suspend function types in ObjCExport (KT-40976)
  • Fixed support for unsupported C declarations in cinterop (KT-39762)

Download the binary distribution from https://github.com/JetBrains/kotlin/releases/tag/v1.4.10

v1.4.0

3 years ago
  • Objective-C/Swift interop:
    • Reworked exception handling (GH-3822, GH-3842)
    • Enabled support for Objective-C generics by default (GH-3778)
    • Support for Kotlin’s suspending functions (GH-3915)
    • Handle variadic block types in ObjC interop (KT-36766)
  • Added native-specific frontend checkers (implemented in the main Kotlin repository: GH-3293, GH-3091, GH-3172)
  • .dSYMs for release binaries on Apple platforms (GH-4085)
  • Improved compilation time of builds with interop libraries by reworking cinterop under the hood.
  • Experimental mimalloc allocator support (-Xallocator=mimalloc) to improve execution time performance. (GH-3704)
  • Tune GC to improve execution time performance
  • Various fixes to compiler caches and Gradle daemon usage

Download the binary distribution from https://github.com/JetBrains/kotlin/releases/tag/v1.4.0

v1.3.72

4 years ago
  • Fix ios_x64 platform libs cache for iOS 11 and 12 (GH-4071)

v1.3.70

4 years ago
  • Support compiler caches for debug mode (GH-3650)
  • Support running Kotlin/Native compiler from Gradle daemon (GH-3442)
  • Support multiple independent Kotlin frameworks in the same application (GH-3457)
  • Compile-time allocation for some singleton objects (GH-3645)
  • Native support for SIMD vector types in compiler and interop (GH-3498)
  • API for runtime detector of cyclic garbage (GH-3616)
  • Commonized StringBuilder (GH-3593) and Float.rangeTo (KT-35299)
  • Fix interop with localized strings (GH-3562)
  • Provide utility for user-side generation of platform libraries (GH-3538)
  • On-stack allocation using local escape analysis (GH-3625)
  • Code coverage support on Linux and Windows (GH-3403)
  • Debugging experience improvements (GH-3561, GH-3638, GH-3606)

v1.3.71

4 years ago
  • Fix lazy {} memory leak regression (KT-37232, GH-3944)
  • Fix using cached Kotlin subclasses of Objective-C classes (GH-3986)

v1.3.60

4 years ago
  • Support XCode 11
  • Switch to LLVM 8.0
  • New compiler targets:
    • watchOS targets, watchos_x86, watchos_arm64 and watchos_arm32 (GH-3323, GH-3404, GH-3344)
    • tvOS targets tvos_x64 and tvos_arm64 (GH-3303, GH-3363)
    • native Android targets android_x86 and android_x64 (GH-3306, GH-3314)
  • Standard CLI library kotlinx.cli is shipped with the compiler distribution (GH-3215)
  • Improved debug information for inline functions (KT-28929, GH-3292)
  • Improved runtime performance of interface calls, up to 5x faster (GH-3377)
  • Improved runtime performance of type checks, up to 50x faster (GH-3291)
  • Produce native binaries directly from klibs, speeds up large project compilation (GH-3246)
  • Supported arbitrary (up to 255 inclusive) function arity (GH-3253)
  • Supported callable references to suspend functions (GH-3197)
  • Implemented experimental -Xg0 switch, symbolication of release binaries for iOS (GH-3233, GH-3367)
  • Interop:
    • Allow passing untyped null as variadic function's parameter (GH-3312, KT-33525)
  • Standard library:
    • Allow scheduling jobs in arbitrary K/N context, not only Worker (GH-3316)
  • Important bug fixes:
    • Boxed negative values can lead to crashes on ios_arm64 (GH-3296)
    • Implemented thread-safe tracking of Objective-C references to Kotlin objects (GH-3267)

v1.3.50

4 years ago
  • Kotlin/Native versioning now aligned with Kotlin versioning
  • Exhaustive platform libraries on macOS (GH-3141)
  • Update to Gradle 5.5 (GH-3166)
  • Improved debug information correctness (GH-3130)
  • Major memory manager refactoring (GH-3129)
  • Embed actual bitcode in produced frameworks (GH-2974)
  • Compilation speed improvements
  • Interop:
    • Support kotlin.Deprecated when producing framework (GH-3114)
    • Ensure produced Objective-C header does not have warnings (GH-3101)
    • Speed up interop stub generator (GH-3082, GH-3050)
    • getOriginalKotlinClass() to get KClass for Kotlin classes in Objective-C (GH-3036)
  • Standard library
    • API for delayed job execution on worker (GH-2971)
    • API for running via worker's job queue (GH-3078)
    • MonoClock and Duration support (GH-3028)
    • Support typeOf (KT-29917, KT-28625)
    • New zero-terminated utf8 to String conversion API (GH-3116)

Download the binary distribution from https://github.com/JetBrains/kotlin/releases/tag/v1.3.50

v1.3.1

4 years ago

Download the binary distribution from https://github.com/JetBrains/kotlin/releases/tag/v1.3.41