From ad1f2963f9b59aca4742ea1fd019490e0c457496 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Mon, 12 Jun 2023 20:26:27 -0400 Subject: [PATCH] Prepare version 1.0.0 --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++------ gradle.properties | 2 +- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2edf7b4ae..f7500762a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,15 +2,34 @@ ## [Unreleased] -## [0.9.20] - 2023-06-01 +## [1.0.0] - 2023-06-12 -We've changed this project to focus exclusively on executing Kotlin/JS libraries. +This is Zipline's initial stable release. -We plan to drop support for executing arbitrary JavaScript code. If you've been using either -QuickJS Java (this project's name until September 2021) or Duktape Android (this project's name -until June 2021), those projects remain as git branches but will not receive further updates. +With this release we commit to compatibility between host and guest programs. In particular, host +applications built with any Zipline 1.x release will be able to execute guest applications built +with any other 1.y release. (Application developers must write compatible interfaces to take +advantage of this!) + +The following are now stable: + + * The manifest file format (`manifest.zipline.json`) + * The library file format and bytecode within (`my-library.zipline`) + * The host-guest call protocol + * The internal host-guest APIs for async calls, console logging, and leak notifications + +As we add features and performance improvements to future releases, we will test compatibility +with 1.0. + +We expect to someday do ‘Zipline 2.0’ that uses WebAssembly. When that happens we’ll make sure the +2.x tools can also produce programs that run on 1.x hosts. + + * Fix: Don't allow services with the different generic parameters to collide in the cache. We had + a severe bug where two services would share serializers for unrelated types. This would typically + result in a `ClassCastException` at runtime. -The project's new Maven coordinates are `app.cash.zipline:zipline`. + +## [0.9.20] - 2023-06-01 * Downgrade: [Kotlin 1.8.20][kotlin_1_8_20]. (Our users aren't ready for 1.8.21 yet.) * Downgrade: [Kotlin Serialization 1.5.0][kotlin_serialization_1_5_1]. (Requires Kotlin 1.8.21.) @@ -211,6 +230,14 @@ The project's new Maven coordinates are `app.cash.zipline:zipline`. ## [0.1.0] - 2021-09-30 +We've changed this project to focus exclusively on executing Kotlin/JS libraries. + +We plan to drop support for executing arbitrary JavaScript code. If you've been using either +QuickJS Java (this project's name until September 2021) or Duktape Android (this project's name +until June 2021), those projects remain as git branches but will not receive further updates. + +The project's new Maven coordinates are `app.cash.zipline:zipline`. + ### Added * `Zipline` is a new entry point for connecting to Kotlin/JS libraries. diff --git a/gradle.properties b/gradle.properties index 28fad26fc8..71c0134e9b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 -VERSION_NAME=1.0.0-SNAPSHOT +VERSION_NAME=1.0.0 android.useAndroidX=true android.enableJetifier=false