From d239e1dbdd8b4f2df4692eb2c263d228e5474b9c Mon Sep 17 00:00:00 2001 From: Logan Date: Tue, 10 Nov 2026 15:43:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?build(release):=20=E5=87=86=E5=A4=87=201.3.?= =?UTF-8?q?0=20=E6=AD=A3=E5=BC=8F=E7=89=88=E6=9C=AC=E5=80=99=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将三个坐标和示例切换至 1.3.0,递增示例与测试 APK 版本,同步中英文候选说明和验收断言。公开安装仍使用已发布的 1.2.0,保留 SNAPSHOT 历史证据身份。 验证:257 项 JVM 测试、三个模块 API 与 Release Lint、metadata、Java 8 消费者、Android/Compose Maven Release R8、发布 dry-run 均通过。API 21/35 和编译器矩阵由本轮 PR CI 验证。 本提交仅准备发布候选,未执行正式签名、上传、标签或 Release。 --- CHANGELOG.md | 4 +-- CONTRIBUTING.md | 4 +-- README.md | 4 +-- README_EN.md | 4 +-- TROUBLESHOOTING.md | 2 +- app/src/androidTest/AndroidManifest.xml | 4 +-- benchmarks/jvm/README.md | 8 +++--- compatibility/android-consumer/README.md | 8 +++--- compatibility/android-consumer/README_EN.md | 4 +-- compatibility/compose-consumer/README.md | 2 +- compatibility/compose-consumer/README_EN.md | 2 +- compatibility/core-binary-consumer/README.md | 4 +-- .../core-binary-consumer/README_EN.md | 4 +-- docs/README.md | 2 +- docs/compatibility.md | 6 ++--- docs/en/README.md | 2 +- docs/en/compatibility.md | 6 ++--- docs/en/contributing.md | 4 +-- docs/en/release-checklist.md | 10 +++---- docs/en/release-notes-1.3.0.md | 22 +++++++++++----- docs/release-checklist.md | 12 ++++----- docs/release-notes-1.3.0.md | 22 +++++++++++----- flowbus-core/README.md | 6 ++--- flowbus-core/README_EN.md | 6 ++--- gradle.properties | 6 ++--- gradle/libs.versions.toml | 2 +- library-android/README.md | 2 +- library-android/README_EN.md | 4 +-- .../src/androidTest/AndroidManifest.xml | 4 +-- .../flowbus/FlowBusReleaseReadinessTest.kt | 26 +++++++++++++------ library-compose/README.md | 4 +-- library-compose/README_EN.md | 4 +-- 32 files changed, 117 insertions(+), 87 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79591f3..d8fdb86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## 1.3.0(开发中,未发布) +## 1.3.0(发布准备,未发布) -新增具体订阅建立通知、独立通道实际配置与分流订阅数诊断、Android Java 入口和可选 flowbus-compose 模块。旧方法与投递/所有权语义保留,基础两个坐标不增加 Compose 依赖。候选版本为 1.3.0-SNAPSHOT,正式安装仍为 1.2.0;行为、回退与验收边界见[开发说明](docs/release-notes-1.3.0.md)。 +新增具体订阅建立通知、独立通道实际配置与分流订阅数诊断、Android Java 入口和可选 flowbus-compose 模块。旧方法与投递/所有权语义保留,基础两个坐标不增加 Compose 依赖。候选版本为 1.3.0,正式安装仍为 1.2.0;行为、回退与验收边界见[开发说明](docs/release-notes-1.3.0.md)。 ## 1.2.0(2026-10-15) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fb7ae3d..9ed00ea 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -129,6 +129,6 @@ repositories { } ``` -Android 使用 `implementation("io.github.logan0817:flowbus:1.3.0-SNAPSHOT")`;纯 JVM 使用 `implementation("io.github.logan0817:flowbus-core:1.3.0-SNAPSHOT")`。若使用集中仓库管理,将仓库配置放入消费者 `settings.gradle.kts` 的 `dependencyResolutionManagement.repositories`。不要把本地候选安装成功当作正式发布或完整设备验收。 +Android 使用 `implementation("io.github.logan0817:flowbus:1.3.0")`;纯 JVM 使用 `implementation("io.github.logan0817:flowbus-core:1.3.0")`。若使用集中仓库管理,将仓库配置放入消费者 `settings.gradle.kts` 的 `dependencyResolutionManagement.repositories`。不要把本地候选安装成功当作正式发布或完整设备验收。 -当前源码开发版本为 1.3.0-SNAPSHOT,尚未发布;Compose 消费者按需添加 `io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT`。正式用户继续使用 1.2.0,本地候选验收不等于公开发布。 +当前源码发布候选版本为 1.3.0,尚未发布;Compose 消费者按需添加 `io.github.logan0817:flowbus-compose:1.3.0`。正式用户继续使用 1.2.0,本地候选验收不等于公开发布。 diff --git a/README.md b/README.md index 836bc66..a1c1091 100644 --- a/README.md +++ b/README.md @@ -179,9 +179,9 @@ viewLifecycleOwner.collectEvent(eventFlow()) { event -> - Maven Central 坐标:使用 `io.github.logan0817:flowbus:1.2.0` 或 `io.github.logan0817:flowbus-core:1.2.0` - [变化、迁移、验证证据与性能边界](docs/release-notes-1.2.0.md) -## 1.3.0 开发版 +## 1.3.0 发布候选 -当前源码开发版本为 **1.3.0-SNAPSHOT**,尚未发布。新增具体订阅建立通知、Java 友好入口、通道实际配置诊断和可选 [Compose 模块](library-compose/README.md)。正式安装仍使用上面的 1.2.0;候选用法与验收边界见 [1.3.0 开发说明](docs/release-notes-1.3.0.md)。 +当前源码发布候选版本为 **1.3.0**,尚未发布。新增具体订阅建立通知、Java 友好入口、通道实际配置诊断和可选 [Compose 模块](library-compose/README.md)。正式安装仍使用上面的 1.2.0;候选用法与验收边界见 [1.3.0 发布说明](docs/release-notes-1.3.0.md)。 ## 兼容与发布状态 diff --git a/README_EN.md b/README_EN.md index d7bc307..9ac0ae8 100644 --- a/README_EN.md +++ b/README_EN.md @@ -179,9 +179,9 @@ The latest stable version is **1.2.0**, published to Maven Central on 2026-10-15 - Maven Central coordinates: `io.github.logan0817:flowbus:1.2.0` or `io.github.logan0817:flowbus-core:1.2.0` - [Changes, migration, verification, and performance limits](docs/en/release-notes-1.2.0.md) -## 1.3.0 development version +## 1.3.0 release candidate -Current sources target **1.3.0-SNAPSHOT**, not a public release. New capabilities include per-collection registration notification, Java convenience APIs, effective channel diagnostics and an optional [Compose module](library-compose/README_EN.md). Public installation remains 1.2.0; see the [development notes](docs/en/release-notes-1.3.0.md) for local candidate usage and verification boundaries. +Current sources target the **1.3.0 release candidate**, not a public release. New capabilities include per-collection registration notification, Java convenience APIs, effective channel diagnostics and an optional [Compose module](library-compose/README_EN.md). Public installation remains 1.2.0; see the [development notes](docs/en/release-notes-1.3.0.md) for local candidate usage and verification boundaries. ## Compatibility and release status diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index ad0f67c..0371c7b 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -125,7 +125,7 @@ inspect().config 显示 bus 默认值;tryPostResult/tryPostStickyResult.overfl ## 1.3.0 开发版的订阅、Java 与 Compose 排查 -以下仅适用于尚未发布的 `1.3.0-SNAPSHOT` 本地候选,正式 1.2.0 不提供这些新接口。 +以下仅适用于尚未发布的 `1.3.0` 本地候选,正式 1.2.0 不提供这些新接口。 - 需要确认自己的订阅已登记时,使用 `onSubscribed` 重载;不要用 inspector 总订阅数或 `Flow.onStart` 充当屏障。通知只执行短操作,让独立生产协程继续;它不表示 replay 或业务完成,每次生命周期重新收集都会再次通知,通知后仍可能取消。 - 查询某条通道的实际配置与普通/sticky 各自订阅数,使用来源的 `inspectChannel(key)`;旧 `inspect().config` 仍是默认值。未知 core 查询不创建通道;Android 静态入口首次获取来源可以初始化 bus。快照不能作为正式业务控制或就绪依据。 diff --git a/app/src/androidTest/AndroidManifest.xml b/app/src/androidTest/AndroidManifest.xml index 03f9b9a..250b71a 100644 --- a/app/src/androidTest/AndroidManifest.xml +++ b/app/src/androidTest/AndroidManifest.xml @@ -1,7 +1,7 @@ + android:versionCode="2" + android:versionName="1.3.0"> diff --git a/benchmarks/jvm/README.md b/benchmarks/jvm/README.md index dc17aa3..13bc443 100644 --- a/benchmarks/jvm/README.md +++ b/benchmarks/jvm/README.md @@ -1,6 +1,6 @@ # FlowBus JVM 性能基准 -独立 Gradle 工程,不属于根项目 settings,不进入生产依赖或 Maven 发布产物。当前对照为固定 SHA-256 的 Maven Central **1.2.0**、隔离仓库 **1.3.0-SNAPSHOT** 开发候选和原生 SharedFlow。Kotlin 1.9.25、Coroutines 1.8.1、JMH 1.37、JDK 17 固定,fork heap 为 -Xms512m -Xmx512m;JMH 采用 [GPLv2 with Classpath Exception](https://github.com/openjdk/jmh/blob/1.37/LICENSE),仅为开发测量工具,FlowBus 发布许可证仍为 MIT。`results/current/` 目前仍保存 **1.2.0 对照 1.1.0 的历史完整报告**,不代表本开发版的性能结果。 +独立 Gradle 工程,不属于根项目 settings,不进入生产依赖或 Maven 发布产物。当前对照为固定 SHA-256 的 Maven Central **1.2.0**、隔离仓库 **1.3.0** 发布候选和原生 SharedFlow。Kotlin 1.9.25、Coroutines 1.8.1、JMH 1.37、JDK 17 固定,fork heap 为 -Xms512m -Xmx512m;JMH 采用 [GPLv2 with Classpath Exception](https://github.com/openjdk/jmh/blob/1.37/LICENSE),仅为开发测量工具,FlowBus 发布许可证仍为 MIT。`results/current/` 目前仍保存 **1.2.0 对照 1.1.0 的历史完整报告**,不代表本开发版的性能结果。 ## 运行 @@ -19,7 +19,7 @@ python3 benchmarks/jvm/summarize.py ``` -同一工作区的 Gradle 调用串行,不能同时运行多个正式基准或构建。CI 在独立 `consumers` job 内依次运行三组默认 smoke,再单独选择候选 SubscriptionBenchmark 生成 `subscription-smoke.json`;候选从本次 `prepare` artifact 下载并校验,不重新发布。其余编译器/设备使用独立工作区并行。基准报告位于该 job 的 `flowbus-verification-consumers--`,候选一致性和收集方式见[发布清单](../../docs/release-checklist.md#ci-任务关系与候选边界)。使用 Android Studio 时,与 IDE 复用相同的 Gradle JDK、Android SDK 和 Gradle user home。baseline 单独运行正式 1.2.0 JAR,SHA-256 固定为 `525c10846d00e7a41f932ac0ce45dba47b7b8b1da58bc68266e33df4a4b974f2`;candidate 使用 `build/candidate-maven/io/github/logan0817/flowbus-core/1.3.0-SNAPSHOT/flowbus-core-1.3.0-SNAPSHOT.jar`(版本读取根 gradle.properties),shared 依赖相同但收发直接使用 MutableSharedFlow。不允许用当前源码重建正式基线。 +同一工作区的 Gradle 调用串行,不能同时运行多个正式基准或构建。CI 在独立 `consumers` job 内依次运行三组默认 smoke,再单独选择候选 SubscriptionBenchmark 生成 `subscription-smoke.json`;候选从本次 `prepare` artifact 下载并校验,不重新发布。其余编译器/设备使用独立工作区并行。基准报告位于该 job 的 `flowbus-verification-consumers--`,候选一致性和收集方式见[发布清单](../../docs/release-checklist.md#ci-任务关系与候选边界)。使用 Android Studio 时,与 IDE 复用相同的 Gradle JDK、Android SDK 和 Gradle user home。baseline 单独运行正式 1.2.0 JAR,SHA-256 固定为 `525c10846d00e7a41f932ac0ce45dba47b7b8b1da58bc68266e33df4a4b974f2`;candidate 使用 `build/candidate-maven/io/github/logan0817/flowbus-core/1.3.0/flowbus-core-1.3.0.jar`(版本读取根 gradle.properties),shared 依赖相同但收发直接使用 MutableSharedFlow。不允许用当前源码重建正式基线。 默认筛选:shared 仅 `BusBenchmark`,baseline 为 `BusBenchmark|BusLifecycleBenchmark`,candidate 为这两类加 `CandidateConfigBenchmark`。默认任务保留原完整报告范围,不自动混入仅候选支持的 `SubscriptionBenchmark`。新参数均为可选:`benchmark.filter` 替换类名正则,`benchmark.scenarios` 以逗号选择该类支持的 scenario,`benchmark.report` 选择 `build/reports/<名称>.json`,避免定向报告覆盖完整数据。仅包含所选类真实参数的组合才有效。 @@ -33,7 +33,7 @@ python3 benchmarks/jvm/summarize.py ./gradlew -p benchmarks/jvm jmh -Pbenchmark.target=candidate '-Pbenchmark.filter=.*SubscriptionBenchmark.*' -Pbenchmark.scenarios=plain,hook -Pbenchmark.report=candidate-subscription-1.3.0 ``` -2026-10-30 已完成上述五组以及稳定发送/首次注册的两组反向复测,共九组定向正式测量,见 [1.3.0 定向报告](results/1.3.0/report.md)。工作站负载未受控,注册吞吐的快慢关系在复测中反转,发布前仍需空闲环境确认;不能据此宣称提速或完全无回退。不要将多个定向结果拼成完整三组基准。 +2026-10-30 使用当时的 **1.3.0-SNAPSHOT** 完成五组以及稳定发送/首次注册的两组反向复测,共九组定向正式测量,见 [开发版定向报告](results/1.3.0/report.md)。这些历史测量不验证当前 `1.3.0` 制品;上方命令按当前版本生成新结果。工作站负载未受控,注册吞吐的快慢关系在复测中反转,不能据此宣称提速或完全无回退。不要将多个定向结果拼成完整三组基准。 JMH 成功后生成同名 `.identity.json`,绑定报告摘要、实际 JAR、源码与基准构建脚本。`summarize.py` 在写入结果前验证三份完整报告及身份;缺少标记、输入变化或摘要不符均拒绝。旧无标记报告保留为历史,不能手工补标记后改称当前测量。 @@ -65,7 +65,7 @@ SubscriptionBenchmark 两组都使用相同 Deferred/发送/取消工作量。pl ## 历史完整结果与注册 profile -[实测报告](results/current/report.md)、[分析](results/current/analysis.md)、[环境](results/current/environment.json)记录 1.2.0 对照 1.1.0 的已测快照,保留原始含义,不用于证明 1.3.0-SNAPSHOT 性能。当前配置下重新定位注册开销时使用以下入口,不改变生产依赖: +[实测报告](results/current/report.md)、[分析](results/current/analysis.md)、[环境](results/current/environment.json)记录 1.2.0 对照 1.1.0 的已测快照,保留原始含义,不用于证明 1.3.0 性能。当前配置下重新定位注册开销时使用以下入口,不改变生产依赖: ```bash ./gradlew -p benchmarks/jvm profileRegistration -Pbenchmark.target=baseline diff --git a/compatibility/android-consumer/README.md b/compatibility/android-consumer/README.md index df78158..1dbbd5e 100644 --- a/compatibility/android-consumer/README.md +++ b/compatibility/android-consumer/README.md @@ -21,7 +21,7 @@ release 使用 R8,未配置签名。预期输出为: - APK:`build/maven-local-consumer/app/build/outputs/apk/release/app-release-unsigned.apk` - mapping:`build/maven-local-consumer/app/build/outputs/mapping/release/mapping.txt` -此目录验证本地源码生成的 **1.3.0-SNAPSHOT** 开发候选,尚未正式发布;Maven Central 当前正式安装仍使用 **1.2.0**。兼容基线包含 1.0.7、1.1.0 和正式 1.2.0;本 APK 的旧版实际调用 fixture 仍单独固定为 1.1.0,其他基线按相应静态符号或 core 二进制入口验证,不混称本 APK 已运行全部旧 Android 字节码。本地候选验收不能替代公开仓库验证。 +此目录验证本地源码生成的 **1.3.0** 发布候选,尚未正式发布;Maven Central 当前正式安装仍使用 **1.2.0**。兼容基线包含 1.0.7、1.1.0 和正式 1.2.0;本 APK 的旧版实际调用 fixture 仍单独固定为 1.1.0,其他基线按相应静态符号或 core 二进制入口验证,不混称本 APK 已运行全部旧 Android 字节码。本地候选验收不能替代公开仓库验证。 ## 本地测试签名 @@ -88,7 +88,7 @@ CI 已新增该驱动回归步骤,并在既有 API 21 库层 instrumentation 各组通过 finally 清理自己持有的 owner、订阅、source 或 channel;显式 lifecycle 组先取消订阅并同步关闭 source/channel,再 join,避免已取消协程在挂起等待时跳过资源关闭。Activity onDestroy 取消验证 scope。正常销毁导致的取消既不生成 PASS,也不误报 FAIL;验证中途关闭 Activity 应重新冷启动完成验证。 -历史 1.1.0/1.2.0 的结果见兼容性评估;它们不证明当前七阶段开发候选已通过设备验证。API 21 或其他设备必须核对最终候选的实际报告,APK 名称、签名或静态检查不代表最低系统通过。完整已测组合与未认证范围见[兼容性评估](../../docs/compatibility.md)。 +历史 1.1.0/1.2.0 的结果见兼容性评估;它们不证明当前七阶段发布候选已通过设备验证。API 21 或其他设备必须核对最终候选的实际报告,APK 名称、签名或静态检查不代表最低系统通过。完整已测组合与未认证范围见[兼容性评估](../../docs/compatibility.md)。 ## 已发布 1.0.7 AAR 的 JVM 符号核对 @@ -113,7 +113,7 @@ PY python3 -B compatibility/core-binary-consumer/verify_symbols.py \ --baseline-artifact build/published-baseline/flowbus-1.0.7.aar \ - --candidate-artifact build/candidate-maven/io/github/logan0817/flowbus/1.3.0-SNAPSHOT/flowbus-1.3.0-SNAPSHOT.aar \ + --candidate-artifact build/candidate-maven/io/github/logan0817/flowbus/1.3.0/flowbus-1.3.0.aar \ --baseline-api-snapshot compatibility/android-consumer/api/flowbus-1.0.7.api \ --javap /path/to/jdk17/bin/javap \ --output build/android-jvm-symbol-verification.json @@ -125,7 +125,7 @@ python3 -B compatibility/core-binary-consumer/verify_symbols.py \ ## 1.1.0 原版编译的 Android 消费者 -legacy/src/main 是独立 Android library fixture,compileOnly 只含正式 1.1.0 的 core JAR/AAR classes.jar 和原有 Lifecycle;prepare 先核对 baselines.json 中的固定 SHA-256,候选 APK 只将其编译好的 class 与当前 1.3.0-SNAPSHOT runtime 一起交给 R8。旧实现代码不引用新配置 API。 +legacy/src/main 是独立 Android library fixture,compileOnly 只含正式 1.1.0 的 core JAR/AAR classes.jar 和原有 Lifecycle;prepare 先核对 baselines.json 中的固定 SHA-256,候选 APK 只将其编译好的 class 与当前 1.3.0 runtime 一起交给 R8。旧实现代码不引用新配置 API。 verifyMavenLocalConsumer 先执行 :legacy:testReleaseUnitTest,再构建 minified APK。单测使用候选 Maven Android/core 依赖并明确剔除原版 compileOnly JAR,校验实际加载的 FlowBus/FlowEventBus class 字节与候选制品一致,运行旧挂起回调及 root/shared/owned/owner 入口,检查旧 main class 全部摘要在执行前后不变。报告为 build/maven-local-consumer/legacy/build/reports/binary-android-compatibility.txt。JVM 单测使用可控 Main dispatcher 和 createUnsafe LifecycleRegistry,不代表 Android Main/设备运行;设备七阶段还会执行同一旧 fixture。 diff --git a/compatibility/android-consumer/README_EN.md b/compatibility/android-consumer/README_EN.md index 20cbb6a..8148fbe 100644 --- a/compatibility/android-consumer/README_EN.md +++ b/compatibility/android-consumer/README_EN.md @@ -4,7 +4,7 @@ This directory holds source fixtures for an independent consumer of the real candidate Maven artifacts after release R8. It is not a standalone Gradle project or a published library. It does not add production dependencies, raise minSdk, or configure production signing. -The current candidate is **1.3.0-SNAPSHOT**, built from local source and not released. The current Maven Central installation remains **1.2.0**. Historical evidence does not establish that this candidate passes. +The current candidate is **1.3.0**, built from local source and not released. The current Maven Central installation remains **1.2.0**. Historical evidence does not establish that this candidate passes. ## Generate and build @@ -93,7 +93,7 @@ Android API snapshots for 1.0.7, 1.1.0, and 1.2.0 remain in `api/`; do not repla ```bash python3 -B compatibility/core-binary-consumer/verify_symbols.py \ --baseline-artifact build/published-baseline/flowbus-1.0.7.aar \ - --candidate-artifact build/candidate-maven/io/github/logan0817/flowbus/1.3.0-SNAPSHOT/flowbus-1.3.0-SNAPSHOT.aar \ + --candidate-artifact build/candidate-maven/io/github/logan0817/flowbus/1.3.0/flowbus-1.3.0.aar \ --baseline-api-snapshot compatibility/android-consumer/api/flowbus-1.0.7.api \ --javap /path/to/jdk17/bin/javap \ --output build/android-jvm-symbol-verification.json diff --git a/compatibility/compose-consumer/README.md b/compatibility/compose-consumer/README.md index 3c9601a..59c83d9 100644 --- a/compatibility/compose-consumer/README.md +++ b/compatibility/compose-consumer/README.md @@ -2,7 +2,7 @@ [English](README_EN.md) -此目录是独立消费者模板,用于评估当前 Kotlin 1.9.25 基线的 Compose 编译和 release R8 接入,现通过候选 Maven 坐标调用正式模块源码中的 [FlowBusEffect](../../library-compose/README.md)。当前 `flowbus-compose:1.3.0-SNAPSHOT` 是尚未发布的本地开发候选;公开 1.2.0 不包含该坐标。模板的生成、构建和验证由主仓验证任务负责,本目录没有独立发布任务。 +此目录是独立消费者模板,用于评估当前 Kotlin 1.9.25 基线的 Compose 编译和 release R8 接入,现通过候选 Maven 坐标调用正式模块源码中的 [FlowBusEffect](../../library-compose/README.md)。当前 `flowbus-compose:1.3.0` 是尚未发布的本地发布候选;公开 1.2.0 不包含该坐标。模板的生成、构建和验证由主仓验证任务负责,本目录没有独立发布任务。 消费者默认使用 activity-compose `1.8.2`、Compose runtime/ui `1.5.4`、Compose compiler `1.5.15`,直接声明 Lifecycle `2.6.2`,消费当前候选 FlowBus 产物。另可选择 runtime/ui `1.7.8` 进行新版实验。全部仅作用于此消费者;基础库不传递引入 Compose,也不改变基础依赖、SDK 或 Kotlin 要求。两种组合的结果必须分开记录,声明版本不能代替实际解析或设备证据。 diff --git a/compatibility/compose-consumer/README_EN.md b/compatibility/compose-consumer/README_EN.md index 9898835..537fc3b 100644 --- a/compatibility/compose-consumer/README_EN.md +++ b/compatibility/compose-consumer/README_EN.md @@ -2,7 +2,7 @@ [中文](README.md) -This directory is an isolated consumer template for evaluating Compose compilation and release R8 on the existing Kotlin 1.9.25 baseline. It now resolves candidate Maven artifacts and calls [FlowBusEffect](../../library-compose/README_EN.md) from the production module source. `flowbus-compose:1.3.0-SNAPSHOT` is an unpublished local development candidate; public 1.2.0 does not include this coordinate. Repository verification tasks generate and build the consumer; this template has no publication task. +This directory is an isolated consumer template for evaluating Compose compilation and release R8 on the existing Kotlin 1.9.25 baseline. It now resolves candidate Maven artifacts and calls [FlowBusEffect](../../library-compose/README_EN.md) from the production module source. `flowbus-compose:1.3.0` is an unpublished local release candidate; public 1.2.0 does not include this coordinate. Repository verification tasks generate and build the consumer; this template has no publication task. The default consumer uses activity-compose `1.8.2`, Compose runtime/ui `1.5.4`, compiler `1.5.15`, and a direct Lifecycle `2.6.2` declaration with the current candidate FlowBus artifact. Runtime/ui `1.7.8` is a separate optional experiment. These dependencies apply only to the consumer; the base library does not add Compose or change its dependency, SDK, or Kotlin requirements. Keep evidence for the two combinations separate: declared versions do not establish resolved dependencies or device compatibility. diff --git a/compatibility/core-binary-consumer/README.md b/compatibility/core-binary-consumer/README.md index 593c192..94d3aaa 100644 --- a/compatibility/core-binary-consumer/README.md +++ b/compatibility/core-binary-consumer/README.md @@ -2,7 +2,7 @@ [English](README_EN.md) -此 fixture 按所选基线调用已发布 1.0.7、1.1.0 或 1.2.0 的入口,默认基线为 1.0.7。它先用 Maven Central 的原始 core JAR 编译 Kotlin 与 Java 消费者,再将同一批消费者 class 文件分别放到原版和候选 JAR 上运行。它补充“针对候选重新编译”的消费者验证,检查旧 inline、默认参数和直接 Java JVM 调用的链接路径。当前候选为未发布的 **1.3.0-SNAPSHOT**,正式安装保持 **1.2.0**。 +此 fixture 按所选基线调用已发布 1.0.7、1.1.0 或 1.2.0 的入口,默认基线为 1.0.7。它先用 Maven Central 的原始 core JAR 编译 Kotlin 与 Java 消费者,再将同一批消费者 class 文件分别放到原版和候选 JAR 上运行。它补充“针对候选重新编译”的消费者验证,检查旧 inline、默认参数和直接 Java JVM 调用的链接路径。当前候选为未发布的 **1.3.0**,正式安装保持 **1.2.0**。 ## 运行 @@ -22,7 +22,7 @@ python3 -B compatibility/core-binary-consumer/verify_symbols.py \ python3 -B -m unittest discover -s compatibility/core-binary-consumer -p '*_test.py' -v ``` -Gradle 任务默认将当前 1.3.0-SNAPSHOT 候选发布到指定本地目录,不做远端发布;传入 `-Pflowbus.verification.reuseCandidate=true` 时只校验并复用封存候选。原版按所选版本从 Maven Central 非传递解析,默认坐标为 io.github.logan0817:flowbus-core:1.0.7;候选 JAR 按绝对路径加入第二次运行。不能把本地产物当作原版基准。 +Gradle 任务默认将当前 1.3.0 候选发布到指定本地目录,不做远端发布;传入 `-Pflowbus.verification.reuseCandidate=true` 时只校验并复用封存候选。原版按所选版本从 Maven Central 非传递解析,默认坐标为 io.github.logan0817:flowbus-core:1.0.7;候选 JAR 按绝对路径加入第二次运行。不能把本地产物当作原版基准。 生成工程为 build/maven-local-binary-core-consumer。消费者编译 classpath 只含原版 core、基线 stdlib 和 Coroutines;运行候选时移除原版 core。两次运行都检查 FlowBus 的实际 codeSource,检查产物摘要不同,并核对消费者 class 摘要在切换前后不变。任务失败时不保留旧的成功 runtime report。 diff --git a/compatibility/core-binary-consumer/README_EN.md b/compatibility/core-binary-consumer/README_EN.md index 5e31765..03b8613 100644 --- a/compatibility/core-binary-consumer/README_EN.md +++ b/compatibility/core-binary-consumer/README_EN.md @@ -2,7 +2,7 @@ [中文](README.md) -The fixture compiles Kotlin and Java consumers against a selected original Maven Central core JAR, then runs the same compiled classes against original and candidate JARs. Baselines are 1.0.7 (default), 1.1.0 and 1.2.0. This complements recompilation against the candidate by exercising existing inline, default-argument, and direct Java JVM references. The local candidate is unpublished **1.3.0-SNAPSHOT**; public installation remains **1.2.0**. +The fixture compiles Kotlin and Java consumers against a selected original Maven Central core JAR, then runs the same compiled classes against original and candidate JARs. Baselines are 1.0.7 (default), 1.1.0 and 1.2.0. This complements recompilation against the candidate by exercising existing inline, default-argument, and direct Java JVM references. The local candidate is unpublished **1.3.0**; public installation remains **1.2.0**. ## Run @@ -22,7 +22,7 @@ python3 -B compatibility/core-binary-consumer/verify_symbols.py \ python3 -B -m unittest discover -s compatibility/core-binary-consumer -p '*_test.py' -v ``` -By default the task publishes the current 1.3.0-SNAPSHOT candidate to the selected local repository, without remote publication. `-Pflowbus.verification.reuseCandidate=true` instead checks/reuses a sealed candidate. The selected original version resolves non-transitively from Central, defaulting to io.github.logan0817:flowbus-core:1.0.7. Candidate execution uses an absolute JAR path; local artifacts must never be used as the published baseline. +By default the task publishes the current 1.3.0 candidate to the selected local repository, without remote publication. `-Pflowbus.verification.reuseCandidate=true` instead checks/reuses a sealed candidate. The selected original version resolves non-transitively from Central, defaulting to io.github.logan0817:flowbus-core:1.0.7. Candidate execution uses an absolute JAR path; local artifacts must never be used as the published baseline. The generated build/maven-local-binary-core-consumer compiles only against the original core, baseline stdlib, and Coroutines. Candidate execution removes the original core from its classpath. Both executions verify the actual FlowBus codeSource. JAR hashes must differ, and consumer class hashes must remain unchanged across execution. A failed runtime verification does not retain an earlier successful runtime report. diff --git a/docs/README.md b/docs/README.md index 309e29a..c1d8ac7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -19,7 +19,7 @@ ## 开发中的版本 -[1.3.0-SNAPSHOT](release-notes-1.3.0.md) 尚未发布:具体订阅建立通知、Java 接入、[可选 Compose 模块](../library-compose/README.md)和通道诊断。源码候选与正式 1.2.0 安装分开说明,不继承历史验证结果。 +[1.3.0](release-notes-1.3.0.md) 尚未发布:具体订阅建立通知、Java 接入、[可选 Compose 模块](../library-compose/README.md)和通道诊断。源码候选与正式 1.2.0 安装分开说明,不继承历史验证结果。 ## 版本记录 diff --git a/docs/compatibility.md b/docs/compatibility.md index 8913e40..4b17431 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -2,11 +2,11 @@ [English](en/compatibility.md) · [文档索引](README.md) -正式 1.2.0 发布 Kotlin/JVM core 和 Android 适配两个坐标;1.3.0 开发版另增可选 Compose 坐标。Android 和 Compose 坐标传递依赖同版本 core,不提供 Kotlin Multiplatform、跨进程或 Navigation 制品。 +正式 1.2.0 发布 Kotlin/JVM core 和 Android 适配两个坐标;1.3.0 发布候选另增可选 Compose 坐标。Android 和 Compose 坐标传递依赖同版本 core,不提供 Kotlin Multiplatform、跨进程或 Navigation 制品。 -## 1.3.0 开发版验收 +## 1.3.0 发布候选验收 -当前源码为尚未发布的 1.3.0-SNAPSHOT。基础 minSdk 21、Java 8、Kotlin 1.9.25、Coroutines 1.8.1 与 Lifecycle 2.6.2 保持;可选 Compose 使用 runtime 1.5.4/compiler 1.5.15,不进入既有两个基础坐标。新增正式 1.2.0 core 同字节码和 Android 符号基线。真实 Java/Compose 消费者从候选解析;API 21/35 和最终云端 CI 必须分别取得本轮结果,见[开发说明](release-notes-1.3.0.md)。 +当前源码为尚未发布的 1.3.0。基础 minSdk 21、Java 8、Kotlin 1.9.25、Coroutines 1.8.1 与 Lifecycle 2.6.2 保持;可选 Compose 使用 runtime 1.5.4/compiler 1.5.15,不进入既有两个基础坐标。新增正式 1.2.0 core 同字节码和 Android 符号基线。真实 Java/Compose 消费者从候选解析;API 21/35 和最终云端 CI 必须分别取得本轮结果,见[开发说明](release-notes-1.3.0.md)。 ## 接入要求与默认依赖 diff --git a/docs/en/README.md b/docs/en/README.md index 3cc3323..2a9b40a 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -19,7 +19,7 @@ The sample app is in [app](../../app). [Compose](../../compatibility/compose-con ## Development version -[1.3.0-SNAPSHOT](release-notes-1.3.0.md) is unpublished and adds registration notification, Java APIs, the [optional Compose module](../../library-compose/README_EN.md) and channel diagnostics. Published installation remains 1.2.0; historical results do not validate current sources. +[1.3.0](release-notes-1.3.0.md) is unpublished and adds registration notification, Java APIs, the [optional Compose module](../../library-compose/README_EN.md) and channel diagnostics. Published installation remains 1.2.0; historical results do not validate current sources. ## Releases diff --git a/docs/en/compatibility.md b/docs/en/compatibility.md index 868206f..017e205 100644 --- a/docs/en/compatibility.md +++ b/docs/en/compatibility.md @@ -2,11 +2,11 @@ [中文](../compatibility.md) · [Documentation](README.md) -Published 1.2.0 provides a Kotlin/JVM core and an Android adapter; the 1.3.0 development version adds an optional Compose coordinate. Android and Compose coordinates depend transitively on the matching core version. There are no Kotlin Multiplatform, cross-process, or Navigation artifacts. +Published 1.2.0 provides a Kotlin/JVM core and an Android adapter; the 1.3.0 release candidate adds an optional Compose coordinate. Android and Compose coordinates depend transitively on the matching core version. There are no Kotlin Multiplatform, cross-process, or Navigation artifacts. -## 1.3.0 development verification +## 1.3.0 release candidate verification -Current sources target unpublished 1.3.0-SNAPSHOT. Base minSdk 21, Java 8, Kotlin 1.9.25, Coroutines 1.8.1 and Lifecycle 2.6.2 remain. Optional Compose uses runtime 1.5.4/compiler 1.5.15 and does not enter the existing base coordinates. Published 1.2.0 is added as a fixed core bytecode / Android symbol baseline. The real Java/Compose consumers resolve this candidate; API 21/35 and final CI still require their own results. See [development notes](release-notes-1.3.0.md). +Current sources target unpublished 1.3.0. Base minSdk 21, Java 8, Kotlin 1.9.25, Coroutines 1.8.1 and Lifecycle 2.6.2 remain. Optional Compose uses runtime 1.5.4/compiler 1.5.15 and does not enter the existing base coordinates. Published 1.2.0 is added as a fixed core bytecode / Android symbol baseline. The real Java/Compose consumers resolve this candidate; API 21/35 and final CI still require their own results. See [development notes](release-notes-1.3.0.md). ## Requirements and defaults diff --git a/docs/en/contributing.md b/docs/en/contributing.md index b320d91..726a33d 100644 --- a/docs/en/contributing.md +++ b/docs/en/contributing.md @@ -65,6 +65,6 @@ repositories { } ``` -For centralized repository management, put this in `dependencyResolutionManagement.repositories` in the consumer's `settings.gradle.kts`. Use `implementation("io.github.logan0817:flowbus:1.3.0-SNAPSHOT")` on Android, or `implementation("io.github.logan0817:flowbus-core:1.3.0-SNAPSHOT")` on JVM. Local consumption does not establish publication or complete device acceptance. +For centralized repository management, put this in `dependencyResolutionManagement.repositories` in the consumer's `settings.gradle.kts`. Use `implementation("io.github.logan0817:flowbus:1.3.0")` on Android, or `implementation("io.github.logan0817:flowbus-core:1.3.0")` on JVM. Local consumption does not establish publication or complete device acceptance. -Current sources are 1.3.0-SNAPSHOT and are not published. Compose consumers additionally use `io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT`; ordinary users keep public 1.2.0. Local verification must not be described as a public release. +Current sources are 1.3.0 and are not published. Compose consumers additionally use `io.github.logan0817:flowbus-compose:1.3.0`; ordinary users keep public 1.2.0. Local verification must not be described as a public release. diff --git a/docs/en/release-checklist.md b/docs/en/release-checklist.md index 0788dca..fb00119 100644 --- a/docs/en/release-checklist.md +++ b/docs/en/release-checklist.md @@ -1,10 +1,10 @@ # 1.3.0 development and release checklist -Current sources target **1.3.0-SNAPSHOT**, which is unpublished. Public installation remains 1.2.0. See [development notes](release-notes-1.3.0.md) for new behavior; the 1.2.0 evidence below is historical and does not validate this candidate. Local publication now prepares core, Android and optional Compose artifacts. API 35 additionally verifies the same sealed Android/Compose candidates as API 21, using separate APK/report paths before serial device execution. +Current sources target the **1.3.0 release candidate**, which is unpublished. Public installation remains 1.2.0. See [development notes](release-notes-1.3.0.md) for new behavior; the 1.2.0 evidence below is historical and does not validate this candidate. Local publication now prepares core, Android and optional Compose artifacts. API 35 additionally verifies the same sealed Android/Compose candidates as API 21, using separate APK/report paths before serial device execution. [中文](../release-checklist.md) -Target configuration: VERSION_NAME=1.3.0-SNAPSHOT, APP_VERSION_NAME=1.3.0-SNAPSHOT, APP_VERSION_CODE=10. 1.2.0 was published to Maven Central on 2026-10-15. This checklist defines the procedure; current tested commits and reports belong in the [1.3.0 development notes](release-notes-1.3.0.md). Historical evidence remains in the [1.2.0](release-notes-1.2.0.md) and [1.1.0](release-notes-1.1.0.md) notes. +Target configuration: VERSION_NAME=1.3.0, APP_VERSION_NAME=1.3.0, APP_VERSION_CODE=11. 1.2.0 was published to Maven Central on 2026-10-15. This checklist defines the procedure; current tested commits and reports belong in the [1.3.0 release notes](release-notes-1.3.0.md). Historical evidence remains in the [1.2.0](release-notes-1.2.0.md) and [1.1.0](release-notes-1.1.0.md) notes. ## Release sequence @@ -49,7 +49,7 @@ The Java parameter selects only the consumer runtime; Gradle still uses JDK 17. Repository documentation and release configuration are explicit JVM test inputs. Changes to those files must rerun the gates rather than reuse earlier passing results. - Core/Android/app JVM tests and release lint pass; sample release uses R8/minify. -- flowbus-core-1.3.0-SNAPSHOT.jar, flowbus-1.3.0-SNAPSHOT.aar, flowbus-compose-1.3.0-SNAPSHOT.aar, and sources/javadoc, POM, and module metadata for all three coordinates exist. +- flowbus-core-1.3.0.jar, flowbus-1.3.0.aar, flowbus-compose-1.3.0.aar, and sources/javadoc, POM, and module metadata for all three coordinates exist. - Check dependency scopes, license, developer, SCM, and versions: core exposes Coroutines; Android exposes matching core and Lifecycle runtime/viewmodel; optional Compose exposes matching core, Lifecycle runtime and Compose runtime 1.5.4. - AARs include classes.jar and proguard.txt; all three coordinates use Java 8 bytecode without fixtures, Navigation, or local configuration. Core/Android remain free of Compose; only the optional Compose coordinate adds that dependency. - Run the Maven core consumer on JDK 8. Compile binary consumers separately against pinned Central 1.0.7, 1.1.0 and 1.2.0 and run identical bytecode against original and candidate. Android/Compose consumers pass release R8; Android interoperability compiles actual Java source. @@ -97,7 +97,7 @@ Keep Kotlin 1.9.25, Coroutines 1.8.1, Lifecycle 2.6.2, AGP 8.6.1, Gradle 8.7, bu After public resolution succeeds, update stable coordinates in root/module READMEs, candidate status in the documentation indexes, candidate-build instructions, and the changelog release date. Retain historical version notes and baseline fixtures. -Check bilingual root/module READMEs, CHANGELOG, 1.3.0 development notes, API comments, versions, and CI paths while preserving actual historical evidence. Delivery, sticky replay, closure, subscription notifications, error policy, and cooperative cancellation documentation must match implementation. +Check bilingual root/module READMEs, CHANGELOG, 1.3.0 release notes, API comments, versions, and CI paths while preserving actual historical evidence. Delivery, sticky replay, closure, subscription notifications, error policy, and cooperative cancellation documentation must match implementation. Inspect git status and working/staged diffs. Exclude generated artifacts, signing material, secrets, logs, local configuration, temporary conversation records, and unrelated changes. Retain useful fixtures, API baselines, and tests. All three publication modules belong to the main repository without nested Git/submodule or independent publication configuration. @@ -124,7 +124,7 @@ By default, GPG / `gpg-agent` manages private-key unlocking. Manual and automate ### Upload, verification, and rollback -Upload batches use `GROUP-root project name-VERSION_NAME`, currently deriving `io.github.logan0817-FlowBus-1.3.0-SNAPSHOT`. This does not establish upload or that the development SNAPSHOT can be used as a final Central release. Set/review the final version, then repeat acceptance and dry-run before publication. Coordinates are `io.github.logan0817:flowbus-core:`, `io.github.logan0817:flowbus:` and `io.github.logan0817:flowbus-compose:`. Names identify batches to humans; queries, release and drop use the upload's unique deployment ID after checking its contents. +Upload batches use `GROUP-root project name-VERSION_NAME`; the current release candidate derives `io.github.logan0817-FlowBus-1.3.0`. This establishes neither upload nor public availability. Regenerate and verify the candidate, including dry-run, after changing versions. Coordinates are `io.github.logan0817:flowbus-core:1.3.0`, `io.github.logan0817:flowbus:1.3.0` and `io.github.logan0817:flowbus-compose:1.3.0`. Names identify batches to humans; queries, release and drop use the upload's unique deployment ID after checking its contents. Publication plugin 0.33.0 has no public deployment-name setting. The root publication script sets only the staging artifact identity of all three `createStagingRepository` tasks to the root project name, allowing the plugin to derive a name from one shared staging identity. It does not change `MavenPublication` or publication file paths. Single-module uploads use the same project name; actual coordinates distinguish module contents. `verifyCentralDeploymentName` checks all three staging identities and actual publication coordinates locally and in CI, before staging tasks. It performs no signing or network upload. After upgrading the plugin, review its naming algorithm/task properties, then repeat this check and remote dry-run. diff --git a/docs/en/release-notes-1.3.0.md b/docs/en/release-notes-1.3.0.md index 0ae05f8..f6ca139 100644 --- a/docs/en/release-notes-1.3.0.md +++ b/docs/en/release-notes-1.3.0.md @@ -1,8 +1,8 @@ -# FlowBus 1.3.0 development version +# FlowBus 1.3.0 release candidate [中文](../release-notes-1.3.0.md) -The current development version is **1.3.0-SNAPSHOT**, not a published release. The public installation version remains 1.2.0. These notes describe the local candidate; historical 1.2.0 results do not validate current inputs. +The current release candidate version is **1.3.0**, not a published release. The public installation version remains 1.2.0. These notes describe the local candidate; historical 1.2.0 results do not validate current inputs. ## Changes @@ -17,9 +17,9 @@ The current development version is **1.3.0-SNAPSHOT**, not a published release. Published installation examples remain on 1.2.0. Use the isolated local repository described in [contributing](contributing.md) for new APIs: ```kotlin -implementation("io.github.logan0817:flowbus:1.3.0-SNAPSHOT") +implementation("io.github.logan0817:flowbus:1.3.0") // Only for Compose consumers: -implementation("io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT") +implementation("io.github.logan0817:flowbus-compose:1.3.0") ``` Keep the hook short: complete a signal and let an independent producer send. Blocking the hook or waiting for the same zero-buffer SUSPEND subscription to consume can deadlock. Cancellation can follow the notification immediately; DROP policies can still discard values and zero-buffer tryPost can still reject. Replay processing follows notification. A one-shot first-registration signal does not represent every later lifecycle activation. @@ -36,9 +36,19 @@ Tests use controlled scheduling and explicit signals for registration, cancellat Local results are reported with the implementation delivery. API 36 does not replace API 21/35 evidence; an unrun cloud matrix is not a successful release gate. -## Local candidate verification (2026-10-30) +## Final-version candidate preparation (2026-11-10) -Evidence comes from an uncommitted workspace; HEAD `26df17a` alone does not identify the new sources. `build/verification-130/source-identity.json` records 50 source/build inputs. The sealed manifest SHA-256 is `529d3e6ae52262d6f105bd492c38e7cdaa3fd79df3b1ab03223968cf2445af02`; historical files remain in the isolated repository. Current primary artifact SHA-256 values are: +Current sources use `1.3.0`, the sample uses `versionName=1.3.0` / `versionCode=11`, and test APKs use version `2 / 1.3.0`. All three coordinates are prepared only in an isolated Maven repository. No release signing, upload or public publication has occurred; public installation examples retain 1.2.0. + +The preceding development version merged through [PR #12](https://github.com/logan0817/FlowBus/pull/12) as `311c30f249631371877e25c0cb714a5ccc4917a8`. Its [main CI](https://github.com/logan0817/FlowBus/actions/runs/42771676046) passed all nine checks for `1.3.0-SNAPSHOT`. The local performance and device records below retain their original version identity; they do not establish new `1.3.0` artifact hashes or current device results. + +Local validation passed 257 JVM tests, API checks and Release Lint for all three modules, metadata and Java 8 consumers for all three coordinates, and real Maven Release R8 verification for Android and Compose. Compiler and API 21/35 evidence must come from this PR and the post-merge CI. + +This release-preparation PR must regenerate the `1.3.0` candidate and pass API, JVM, Lint, metadata, Java 8, real Maven/R8, old bytecode/symbol, compiler matrix and API 21/35 gates. Verify final main CI after merge. Release signing, upload, tags and GitHub Release require separate authorization; public installation examples change only after successful publication. + +## Historical development-candidate verification (2026-10-30) + +That development candidate was verified from an uncommitted workspace; HEAD `26df17a` alone does not identify the new sources. `build/verification-130/source-identity.json` records 50 source/build inputs. The sealed manifest SHA-256 is `529d3e6ae52262d6f105bd492c38e7cdaa3fd79df3b1ab03223968cf2445af02`; historical files remain in the isolated repository. Historical primary artifact SHA-256 values for that SNAPSHOT are: | Artifact | SHA-256 | | --- | --- | diff --git a/docs/release-checklist.md b/docs/release-checklist.md index 1c7a160..95c5ad8 100644 --- a/docs/release-checklist.md +++ b/docs/release-checklist.md @@ -1,10 +1,10 @@ -# 1.3.0 开发与发布清单 +# 1.3.0 发布准备清单 -当前源码为 **1.3.0-SNAPSHOT,尚未发布**。正式安装仍为 1.2.0,新增能力与本轮验收边界见 [1.3.0 开发说明](release-notes-1.3.0.md)。下文保留的 1.2.0 发布历史不代表当前候选通过。根本地发布现生成 core、Android、可选 Compose 三个坐标;基础两个坐标不增加 Compose 依赖。API 35 另在模拟器启动前从同一封存候选准备 Android/Compose 独立 APK,随后与原 instrumentation 串行运行七阶段 Java/Android、十一阶段 effect 与八阶段 policy,并保留自身报告。 +当前源码为 **1.3.0,尚未发布**。正式安装仍为 1.2.0,新增能力与本轮验收边界见 [1.3.0 发布说明](release-notes-1.3.0.md)。下文保留的 1.2.0 发布历史不代表当前候选通过。根本地发布现生成 core、Android、可选 Compose 三个坐标;基础两个坐标不增加 Compose 依赖。API 35 另在模拟器启动前从同一封存候选准备 Android/Compose 独立 APK,随后与原 instrumentation 串行运行七阶段 Java/Android、十一阶段 effect 与八阶段 policy,并保留自身报告。 [English](en/release-checklist.md) -目标配置:VERSION_NAME=1.3.0-SNAPSHOT、APP_VERSION_NAME=1.3.0-SNAPSHOT、APP_VERSION_CODE=10。1.2.0 已于 2026-10-15 正式发布到 Maven Central。本清单维护操作流程,本轮受测提交与报告记录在 [1.3.0 开发说明](release-notes-1.3.0.md);历史证据分别见 [1.2.0](release-notes-1.2.0.md) 与 [1.1.0](release-notes-1.1.0.md) 发布说明。 +目标配置:VERSION_NAME=1.3.0、APP_VERSION_NAME=1.3.0、APP_VERSION_CODE=11。1.2.0 已于 2026-10-15 正式发布到 Maven Central。本清单维护操作流程,本轮受测提交与报告记录在 [1.3.0 发布说明](release-notes-1.3.0.md);历史证据分别见 [1.2.0](release-notes-1.2.0.md) 与 [1.1.0](release-notes-1.1.0.md) 发布说明。 ## 发布顺序 @@ -73,7 +73,7 @@ bash compatibility/run-api35.sh 原有不带 `reuseCandidate` 的本地消费者入口仍自动发布。封存后切勿再用默认入口重发候选;修改候选输入后应重新发布并封存,已有设备结果失效。CI 的干净 checkout SHA 标识源码;本地未提交修改还需结合工作区差异核对,不能仅凭 HEAD SHA 标识受测源码。 - core / Android / app JVM 测试和 release lint 通过,示例 release 必须启用 R8/minify。 -- flowbus-core-1.3.0-SNAPSHOT.jar、flowbus-1.3.0-SNAPSHOT.aar、flowbus-compose-1.3.0-SNAPSHOT.aar,以及三个坐标的 sources/javadoc、POM 与 module metadata 均存在。 +- flowbus-core-1.3.0.jar、flowbus-1.3.0.aar、flowbus-compose-1.3.0.aar,以及三个坐标的 sources/javadoc、POM 与 module metadata 均存在。 - POM/module metadata 的依赖 scope、license、developer、SCM 与版本正确:core 暴露 Coroutines;Android 暴露同版本 core 和 Lifecycle runtime/viewmodel;可选 Compose 暴露同版本 core、Lifecycle runtime 和 Compose runtime 1.5.4。 - AAR 包含 classes.jar、proguard.txt;三个坐标均为 Java 8 字节码,不含消费者 fixture、Navigation 或本地配置。core/Android 不引入 Compose,Compose 依赖仅位于可选 flowbus-compose。 - 真实 Maven core 消费者在 JDK 8 运行;旧 core 消费者分别用 Central 固定原版 1.0.7、1.1.0、1.2.0 编译,相同字节码分别运行原版与候选;Android / Compose 消费者经过 release R8,Android Java 互通路径来自真实 .java 编译。 @@ -121,7 +121,7 @@ CI 的 SDK 初始化显式选择 `platform-tools`,命令行工具由 setup-and 正式仓库解析成功后,同步根/模块 README 正式坐标、文档索引候选状态、本地候选说明及更新日志发布日期。保留历史版本说明和固定旧版 fixture,不全仓替换旧版本号。 -核对根与模块 README 中英文、CHANGELOG、1.3.0 开发说明、API 注释、版本配置及 CI 路径,保留真实 1.2.0 历史记录。普通无人订阅、sticky replay、关闭等待、订阅建立通知、错误策略和协作取消说明必须与实现一致。 +核对根与模块 README 中英文、CHANGELOG、1.3.0 发布说明、API 注释、版本配置及 CI 路径,保留真实 1.2.0 历史记录。普通无人订阅、sticky replay、关闭等待、订阅建立通知、错误策略和协作取消说明必须与实现一致。 检查 git status、工作区与暂存区差异;不提交构建产物、测试签名、密钥、日志、个人环境配置、临时沟通记录或无关改动。保留必要 fixtures、API 基准和回归测试。三个发布模块都由主仓统一维护,不能含子仓 .git/.gitmodules 或独立发布配置。 @@ -148,7 +148,7 @@ signing.gnupg.keyName=<完整密钥指纹> ### 上传、验收与回退 -上传批次名称采用 `GROUP-根项目名-VERSION_NAME`,按当前开发配置推导为 `io.github.logan0817-FlowBus-1.3.0-SNAPSHOT`;这不代表已上传或该 SNAPSHOT 可直接作为正式 Central 版本发布。正式发布前先审查并设置最终版本,再重新执行门禁和 dry-run。三个坐标分别为 `io.github.logan0817:flowbus-core:<最终版本>`、`io.github.logan0817:flowbus:<最终版本>`、`io.github.logan0817:flowbus-compose:<最终版本>`。名称用于人工识别;查询、release 或 drop 必须使用本次上传返回的唯一 deployment ID 并核对批次内容。 +上传批次名称采用 `GROUP-根项目名-VERSION_NAME`,当前发布候选为 `io.github.logan0817-FlowBus-1.3.0`;这不代表已经上传或公开发布。版本切换后须重新生成候选并执行门禁和 dry-run。三个坐标分别为 `io.github.logan0817:flowbus-core:1.3.0`、`io.github.logan0817:flowbus:1.3.0`、`io.github.logan0817:flowbus-compose:1.3.0`。名称用于人工识别;查询、release 或 drop 必须使用本次上传返回的唯一 deployment ID 并核对批次内容。 发布插件 0.33.0 尚无公开的批次名称配置;根发布脚本只将三个 `createStagingRepository` 任务的暂存 artifact 标识统一为根项目名,让插件按同一个暂存标识生成名称,不修改 `MavenPublication` 或发布文件路径。单模块上传也使用同一项目名称,模块内容通过实际坐标区分。`verifyCentralDeploymentName` 在本地与 CI 核对三个暂存标识及实际发布坐标,并作为暂存任务的前置检查;该检查不执行签名或网络上传。升级发布插件后,必须重新核对其命名规则与暂存任务属性,并执行该检查及 remote dry-run。 diff --git a/docs/release-notes-1.3.0.md b/docs/release-notes-1.3.0.md index b3a290d..e3c7834 100644 --- a/docs/release-notes-1.3.0.md +++ b/docs/release-notes-1.3.0.md @@ -1,8 +1,8 @@ -# FlowBus 1.3.0 开发版 +# FlowBus 1.3.0 发布候选 [English](en/release-notes-1.3.0.md) -当前开发版本为 **1.3.0-SNAPSHOT**,尚未发布。正式可安装版本仍为 1.2.0;本文描述本地候选行为,验收状态随最终输入更新,不继承 1.2.0 的历史通过结果。 +当前发布候选版本为 **1.3.0**,尚未发布。正式可安装版本仍为 1.2.0;本文描述本地候选行为,验收状态随最终输入更新,不继承 1.2.0 的历史通过结果。 ## 使用者变化 @@ -17,9 +17,9 @@ 正式安装示例继续指向 1.2.0。新 API 仅可按[贡献指南](../CONTRIBUTING.md#本地体验候选版本)从本地隔离仓库使用: ```kotlin -implementation("io.github.logan0817:flowbus:1.3.0-SNAPSHOT") +implementation("io.github.logan0817:flowbus:1.3.0") // 仅 Compose 消费者添加: -implementation("io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT") +implementation("io.github.logan0817:flowbus-compose:1.3.0") ``` 新 hook 只执行短通知,可完成 CompletableDeferred,让独立生产协程继续发送。不要阻塞 hook,或在同一零缓冲 SUSPEND 通道内等待自己开始取值。通知后仍可能立即取消,DROP 策略仍可能丢值,零缓冲 tryPost 仍可能拒绝。历史 replay 在通知后处理,不能将一次性首轮信号解释为后续全部生命周期阶段永久就绪。 @@ -39,9 +39,19 @@ implementation("io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT") 当前本地验证状态在本轮交付中列明。API 21/35 与云端完整 CI 未执行时不得视为发布就绪;本地 API 36 不能替代最低版本设备证据。 -## 本地候选验证(2026-10-30) +## 正式版本候选准备(2026-11-10) -当前证据来自未提交工作区;HEAD `26df17a` 不能单独标识新源码。`build/verification-130/source-identity.json` 记录 50 份生产源码/构建输入摘要,候选 manifest 摘要为 `529d3e6ae52262d6f105bd492c38e7cdaa3fd79df3b1ab03223968cf2445af02`。本地封存目录包含历史文件,当前版本的三个坐标按以下摘要验收: +当前源码版本为 `1.3.0`,示例为 `versionName=1.3.0` / `versionCode=11`,测试 APK 为版本 `2 / 1.3.0`。三个坐标仍只在隔离 Maven 仓库准备,尚未签名上传或公开发布;正式安装示例继续使用 1.2.0。 + +前一开发版已随 [PR #12](https://github.com/logan0817/FlowBus/pull/12) 合并为 `311c30f249631371877e25c0cb714a5ccc4917a8`,[main CI](https://github.com/logan0817/FlowBus/actions/runs/42771676046) 九项检查全部通过。它验证的是 `1.3.0-SNAPSHOT`;以下本地性能和设备记录也保留原始版本含义,不能作为 `1.3.0` 新制品摘要或本轮设备结果。 + +本地已通过 257 项 JVM 测试、三个模块的 API 检查与 Release Lint、三个坐标的 metadata 与 Java 8 消费者,以及 Android/Compose 的真实 Maven Release R8 验证。云端编译器与 API 21/35 结果以本轮 PR 及合并后的 CI 为准。 + +本轮发布准备 PR 须重新生成 `1.3.0` 候选,完成 API、JVM、Lint、metadata、Java 8、真实 Maven/R8、旧二进制与符号、编译器矩阵及 API 21/35 门禁;合并后继续核对最终 main CI。正式发布还须单独授权签名、上传、标签和 Release,发布成功后再同步公开安装示例。 + +## 开发版历史验证(2026-10-30) + +该开发版当时的证据来自未提交工作区;HEAD `26df17a` 不能单独标识新源码。`build/verification-130/source-identity.json` 记录 50 份生产源码/构建输入摘要,候选 manifest 摘要为 `529d3e6ae52262d6f105bd492c38e7cdaa3fd79df3b1ab03223968cf2445af02`。当时的本地封存目录包含历史文件,以下仅为该 SNAPSHOT 三个坐标的历史摘要: | 候选主制品 | SHA-256 | | --- | --- | diff --git a/flowbus-core/README.md b/flowbus-core/README.md index 0c7cee8..dd7bf7e 100644 --- a/flowbus-core/README.md +++ b/flowbus-core/README.md @@ -63,7 +63,7 @@ implementation("io.github.logan0817:flowbus-core:1.2.0") ``` -最新正式版本仍为 **1.2.0**。下文标记“1.3 候选”的能力只在本地 **1.3.0-SNAPSHOT** 候选中提供,尚未发布到 Maven Central,不能通过以上正式坐标调用。候选制品的本地生成与消费者验证见[发布清单](../docs/release-checklist.md)。 +最新正式版本仍为 **1.2.0**。下文标记“1.3 候选”的能力只在本地 **1.3.0** 候选中提供,尚未发布到 Maven Central,不能通过以上正式坐标调用。候选制品的本地生成与消费者验证见[发布清单](../docs/release-checklist.md)。 @@ -486,7 +486,7 @@ bus.post(refreshKey, SyncFinishedEvent(taskId = "task-1")) ### 1.3 候选:具体订阅建立通知 -本节需要本地 `1.3.0-SNAPSHOT` 候选。`onSubscribed` 在**当前这一次**底层订阅登记后、本来源事件交给该订阅前调用。它不会因同 key 的其他收集器已经存在而提前触发,也不会在仅调用 `flow(...)` 取得 Flow 时触发。相同 Flow 被多次收集时,每次实际收集分别通知。 +本节需要本地 `1.3.0` 候选。`onSubscribed` 在**当前这一次**底层订阅登记后、本来源事件交给该订阅前调用。它不会因同 key 的其他收集器已经存在而提前触发,也不会在仅调用 `flow(...)` 取得 Flow 时触发。相同 Flow 被多次收集时,每次实际收集分别通知。 需要在建立订阅后启动生产者时,让非挂起 hook 只完成信号,并由独立协程发送。下面是可在挂起上下文调用的完整握手示例;零容量 `SUSPEND` 配置使用 `emit` 等待接收,发送不依赖固定延时: @@ -632,7 +632,7 @@ val session = bus.inspectScope("session") ### 1.3 候选:通道有效配置与分流订阅数 -本节需要本地 `1.3.0-SNAPSHOT` 候选。`inspect().config` 继续表示 bus 默认摘要;新增 `inspectChannel(key)` 返回独立的 `FlowBusChannelSnapshot?`,可查询该通道实际绑定的策略: +本节需要本地 `1.3.0` 候选。`inspect().config` 继续表示 bus 默认摘要;新增 `inspectChannel(key)` 返回独立的 `FlowBusChannelSnapshot?`,可查询该通道实际绑定的策略: ```kotlin val bus = FlowBus() diff --git a/flowbus-core/README_EN.md b/flowbus-core/README_EN.md index e85b4da..64a6195 100644 --- a/flowbus-core/README_EN.md +++ b/flowbus-core/README_EN.md @@ -63,7 +63,7 @@ Cleanup APIs have 2 extra rules: implementation("io.github.logan0817:flowbus-core:1.2.0") ``` -The latest released version remains **1.2.0**. Features marked “1.3 candidate” below are available only in the local **1.3.0-SNAPSHOT** candidate. They have not been published to Maven Central and are unavailable through the released dependency above. See the [release checklist](../docs/en/release-checklist.md) for local candidate preparation and consumer verification. +The latest released version remains **1.2.0**. Features marked “1.3 candidate” below are available only in the local **1.3.0** candidate. They have not been published to Maven Central and are unavailable through the released dependency above. See the [release checklist](../docs/en/release-checklist.md) for local candidate preparation and consumer verification. @@ -487,7 +487,7 @@ Closing a `FlowBusScope` does not actively cancel subscriptions holding old Flow ### 1.3 candidate: notification for a specific subscription -This section requires the local `1.3.0-SNAPSHOT` candidate. `onSubscribed` runs after **this particular** underlying subscription is registered, before any source event reaches that subscription. Another collector of the same key cannot trigger it early. Merely obtaining a Flow does not invoke it. Collecting the same Flow multiple times invokes the notification once for each actual collection. +This section requires the local `1.3.0` candidate. `onSubscribed` runs after **this particular** underlying subscription is registered, before any source event reaches that subscription. Another collector of the same key cannot trigger it early. Merely obtaining a Flow does not invoke it. Collecting the same Flow multiple times invokes the notification once for each actual collection. When a producer must wait for registration, let the non-suspending hook complete a signal and send from a separate coroutine. This complete suspending example uses zero-capacity `SUSPEND` with `emit`, rather than a fixed delay: @@ -633,7 +633,7 @@ Diagnostics snapshots only expose metadata. Keep these 6 boundaries in mind: ### 1.3 candidate: effective channel configuration and separate subscriber counts -This section requires the local `1.3.0-SNAPSHOT` candidate. `inspect().config` remains the bus-default summary. The new `inspectChannel(key)` returns an independent `FlowBusChannelSnapshot?` with the channel's effective binding: +This section requires the local `1.3.0` candidate. `inspect().config` remains the bus-default summary. The new `inspectChannel(key)` returns an independent `FlowBusChannelSnapshot?` with the channel's effective binding: ```kotlin val bus = FlowBus() diff --git a/gradle.properties b/gradle.properties index 809106d..0d35d17 100644 --- a/gradle.properties +++ b/gradle.properties @@ -23,7 +23,7 @@ android.javaCompile.suppressSourceTargetDeprecationWarning=true kotlin.code.style=official GROUP=io.github.logan0817 -VERSION_NAME=1.3.0-SNAPSHOT +VERSION_NAME=1.3.0 POM_URL=https://github.com/logan0817/FlowBus POM_SCM_URL=https://github.com/logan0817/FlowBus POM_SCM_CONNECTION=scm:git:git://github.com/logan0817/FlowBus.git @@ -37,6 +37,6 @@ POM_DEVELOPER_NAME=logan0817 POM_DEVELOPER_EMAIL=notwalnut@163.com # Edit these properties to configure the app version name and code -APP_VERSION_NAME=1.3.0-SNAPSHOT -APP_VERSION_CODE=10 +APP_VERSION_NAME=1.3.0 +APP_VERSION_CODE=11 APP_ID=com.logan.flowbusapp diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ede5f91..7f994d0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -20,7 +20,7 @@ lifecycle_version = "2.6.2" compose_runtime = "1.5.4" compose_compiler = "1.5.15" constraint_layout_version = "2.2.1" -flowbus_version = "1.3.0-SNAPSHOT" +flowbus_version = "1.3.0" [libraries] compose_runtime = { module = "androidx.compose.runtime:runtime", version.ref = "compose_runtime" } diff --git a/library-android/README.md b/library-android/README.md index 7711723..b00a8a6 100644 --- a/library-android/README.md +++ b/library-android/README.md @@ -610,7 +610,7 @@ viewLifecycleOwner.collectEventSuspending(eventFlow()) { event ## 1.3.0 开发版:Java、订阅建立与诊断 -以下入口仅存在于当前源码及本地 **1.3.0-SNAPSHOT** 候选,尚未正式发布。上方 Maven Central 的 **1.2.0** 安装坐标保持不变,不能用它编译本节新增 API。候选生成与验证见[普通 Android 消费者](../compatibility/android-consumer/README.md),原有 Kotlin 入口继续保留。 +以下入口仅存在于当前源码及本地 **1.3.0** 候选,尚未正式发布。上方 Maven Central 的 **1.2.0** 安装坐标保持不变,不能用它编译本节新增 API。候选生成与验证见[普通 Android 消费者](../compatibility/android-consumer/README.md),原有 Kotlin 入口继续保留。 ### Java 最短路径 diff --git a/library-android/README_EN.md b/library-android/README_EN.md index 95b9976..36674e9 100644 --- a/library-android/README_EN.md +++ b/library-android/README_EN.md @@ -546,7 +546,7 @@ viewLifecycleOwner.collectEventSuspending(eventFlow()) { event ## 1.3.0 development: Java, subscription notification, diagnostics -The following APIs exist only in the current source and local **1.3.0-SNAPSHOT** candidate. They are not released. The Maven Central installation above remains **1.2.0**, which cannot compile these new calls. See the [Android consumer](../compatibility/android-consumer/README_EN.md) for candidate preparation and verification. Existing Kotlin APIs remain available. +The following APIs exist only in the current source and local **1.3.0** candidate. They are not released. The Maven Central installation above remains **1.2.0**, which cannot compile these new calls. See the [Android consumer](../compatibility/android-consumer/README_EN.md) for candidate preparation and verification. Existing Kotlin APIs remain available. ### A short Java path @@ -654,7 +654,7 @@ Put configuration in `Application.onCreate()`, before these entry points: The Android module does not add a UI diagnostics panel. -Use core `FlowBus.inspect()` for lower-level event metadata. The 1.3.0 development candidate additionally exposes the `FlowEventBus.inspectChannel(key)` and Java diagnostics described above. +Use core `FlowBus.inspect()` for lower-level event metadata. The 1.3.0 release candidate additionally exposes the `FlowEventBus.inspectChannel(key)` and Java diagnostics described above. Before logging snapshots, make sure `eventName` and `scopeName` do not contain phone numbers, tokens, order IDs, or other sensitive values. diff --git a/library-android/src/androidTest/AndroidManifest.xml b/library-android/src/androidTest/AndroidManifest.xml index 2c4dee9..2985a74 100644 --- a/library-android/src/androidTest/AndroidManifest.xml +++ b/library-android/src/androidTest/AndroidManifest.xml @@ -1,7 +1,7 @@ + android:versionCode="2" + android:versionName="1.3.0"> diff --git a/library-android/src/test/java/com/logan/flowbus/FlowBusReleaseReadinessTest.kt b/library-android/src/test/java/com/logan/flowbus/FlowBusReleaseReadinessTest.kt index 3a8ea2d..6e235a1 100644 --- a/library-android/src/test/java/com/logan/flowbus/FlowBusReleaseReadinessTest.kt +++ b/library-android/src/test/java/com/logan/flowbus/FlowBusReleaseReadinessTest.kt @@ -162,9 +162,11 @@ class FlowBusReleaseReadinessTest { } @Test - fun `development versions and published installation examples remain distinct`() { + fun `release candidate versions and published installation examples remain distinct`() { val releaseVersion = "1.2.0" - val developmentVersion = "1.3.0-SNAPSHOT" + val candidateVersion = "1.3.0" + val candidateNotes = File("../docs/release-notes-1.3.0.md").readText() + val englishCandidateNotes = File("../docs/en/release-notes-1.3.0.md").readText() val gradleProperties = File("../gradle.properties").readText() val versionCatalog = File("../gradle/libs.versions.toml").readText() val rootReadme = File("../README.md").readText() @@ -180,10 +182,10 @@ class FlowBusReleaseReadinessTest { val changelog = File("../CHANGELOG.md").readText() listOf( - gradleProperties to "VERSION_NAME=$developmentVersion", - gradleProperties to "APP_VERSION_NAME=$developmentVersion", - gradleProperties to "APP_VERSION_CODE=10", - versionCatalog to "flowbus_version = \"$developmentVersion\"", + gradleProperties to "VERSION_NAME=$candidateVersion", + gradleProperties to "APP_VERSION_NAME=$candidateVersion", + gradleProperties to "APP_VERSION_CODE=11", + versionCatalog to "flowbus_version = \"$candidateVersion\"", rootReadme to "flowbus:$releaseVersion", rootReadme to "flowbus-core:$releaseVersion", rootEnglishReadme to "flowbus:$releaseVersion", @@ -192,14 +194,22 @@ class FlowBusReleaseReadinessTest { coreEnglishReadme to "flowbus-core:$releaseVersion", androidReadme to "flowbus:$releaseVersion", androidEnglishReadme to "flowbus:$releaseVersion", - checklist to "VERSION_NAME=$developmentVersion", - englishChecklist to "VERSION_NAME=$developmentVersion", + checklist to "VERSION_NAME=$candidateVersion", + englishChecklist to "VERSION_NAME=$candidateVersion", + candidateNotes to "**$candidateVersion**", + englishCandidateNotes to "**$candidateVersion**", releaseNotes to "FlowBus 1.2.0", englishReleaseNotes to "FlowBus 1.2.0", changelog to "## 1.2.0" ).forEach { (text, expected) -> assertTrue("Release target must include `$expected`.", text.contains(expected)) } + listOf("../app/src/androidTest/AndroidManifest.xml", "../library-android/src/androidTest/AndroidManifest.xml") + .forEach { path -> + val manifest = File(path).readText() + assertTrue(manifest.contains("android:versionName=\"$candidateVersion\"")) + assertTrue(manifest.contains("android:versionCode=\"2\"")) + } } @Test diff --git a/library-compose/README.md b/library-compose/README.md index 878c95a..80a10ac 100644 --- a/library-compose/README.md +++ b/library-compose/README.md @@ -6,12 +6,12 @@ ## 开发状态与候选安装 -当前模块属于 **1.3.0-SNAPSHOT 本地开发候选,尚未发布**。公开正式版本仍为 1.2.0,Maven Central 的 1.2.0 不包含 `flowbus-compose` 坐标,也不包含订阅建立通知 API。 +当前模块属于 **1.3.0 本地发布候选,尚未发布**。公开正式版本仍为 1.2.0,Maven Central 的 1.2.0 不包含 `flowbus-compose` 坐标,也不包含订阅建立通知 API。 先按[本地候选安装流程](../CONTRIBUTING.md#candidate-builds)生成并配置隔离 Maven 仓库,再在消费者中声明: ```kotlin -implementation("io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT") +implementation("io.github.logan0817:flowbus-compose:1.3.0") ``` 候选仓库应对 `io.github.logan0817` 使用 `exclusiveContent`,确保三个坐标来自同一批候选,缺失时不会回退到远端旧制品。不要把上述坐标当作已公开发布的安装方式。 diff --git a/library-compose/README_EN.md b/library-compose/README_EN.md index 5674a50..08145e1 100644 --- a/library-compose/README_EN.md +++ b/library-compose/README_EN.md @@ -6,12 +6,12 @@ ## Development status and candidate installation -This module is part of the **local 1.3.0-SNAPSHOT development candidate and has not been published**. The public stable version remains 1.2.0. Maven Central 1.2.0 does not include the `flowbus-compose` artifact or subscription-established notifications. +This module is part of the **local 1.3.0 release candidate and has not been published**. The public stable version remains 1.2.0. Maven Central 1.2.0 does not include the `flowbus-compose` artifact or subscription-established notifications. First build and configure an isolated Maven repository using the [local candidate workflow](../CONTRIBUTING.md#candidate-builds), then declare: ```kotlin -implementation("io.github.logan0817:flowbus-compose:1.3.0-SNAPSHOT") +implementation("io.github.logan0817:flowbus-compose:1.3.0") ``` Use `exclusiveContent` for `io.github.logan0817` so all three coordinates resolve from the same candidate batch and missing artifacts cannot fall back to older remote releases. This is not a public release installation coordinate. From fbda9b0816fa5ff946ebf18a5abbdff312528e13 Mon Sep 17 00:00:00 2001 From: Logan Date: Tue, 10 Nov 2026 15:45:50 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs(release):=20=E6=98=8E=E7=A1=AE?= =?UTF-8?q?=E5=80=99=E9=80=89=E9=AA=8C=E8=AF=81=E7=9A=84=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E4=B8=8E=E8=BF=90=E8=A1=8C=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 分别说明三个库模块 API、Android/Compose/示例 Lint、三个坐标 metadata 与 core Java 8 运行,避免将验证范围混为一谈。 验证:受文档输入影响的 Android 与示例 JVM 测试通过,差异空白检查通过。 --- docs/en/release-notes-1.3.0.md | 2 +- docs/release-notes-1.3.0.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/release-notes-1.3.0.md b/docs/en/release-notes-1.3.0.md index f6ca139..d8a3625 100644 --- a/docs/en/release-notes-1.3.0.md +++ b/docs/en/release-notes-1.3.0.md @@ -42,7 +42,7 @@ Current sources use `1.3.0`, the sample uses `versionName=1.3.0` / `versionCode= The preceding development version merged through [PR #12](https://github.com/logan0817/FlowBus/pull/12) as `311c30f249631371877e25c0cb714a5ccc4917a8`. Its [main CI](https://github.com/logan0817/FlowBus/actions/runs/42771676046) passed all nine checks for `1.3.0-SNAPSHOT`. The local performance and device records below retain their original version identity; they do not establish new `1.3.0` artifact hashes or current device results. -Local validation passed 257 JVM tests, API checks and Release Lint for all three modules, metadata and Java 8 consumers for all three coordinates, and real Maven Release R8 verification for Android and Compose. Compiler and API 21/35 evidence must come from this PR and the post-merge CI. +Local validation passed 257 JVM tests, API checks for the three libraries, Release Lint for Android/Compose/the sample app, metadata checks for all three coordinates, core consumer execution on Java 8, and real Maven Release R8 verification for Android and Compose. Compiler and API 21/35 evidence must come from this PR and the post-merge CI. This release-preparation PR must regenerate the `1.3.0` candidate and pass API, JVM, Lint, metadata, Java 8, real Maven/R8, old bytecode/symbol, compiler matrix and API 21/35 gates. Verify final main CI after merge. Release signing, upload, tags and GitHub Release require separate authorization; public installation examples change only after successful publication. diff --git a/docs/release-notes-1.3.0.md b/docs/release-notes-1.3.0.md index e3c7834..bce4eca 100644 --- a/docs/release-notes-1.3.0.md +++ b/docs/release-notes-1.3.0.md @@ -45,7 +45,7 @@ implementation("io.github.logan0817:flowbus-compose:1.3.0") 前一开发版已随 [PR #12](https://github.com/logan0817/FlowBus/pull/12) 合并为 `311c30f249631371877e25c0cb714a5ccc4917a8`,[main CI](https://github.com/logan0817/FlowBus/actions/runs/42771676046) 九项检查全部通过。它验证的是 `1.3.0-SNAPSHOT`;以下本地性能和设备记录也保留原始版本含义,不能作为 `1.3.0` 新制品摘要或本轮设备结果。 -本地已通过 257 项 JVM 测试、三个模块的 API 检查与 Release Lint、三个坐标的 metadata 与 Java 8 消费者,以及 Android/Compose 的真实 Maven Release R8 验证。云端编译器与 API 21/35 结果以本轮 PR 及合并后的 CI 为准。 +本地已通过 257 项 JVM 测试、三个库模块的 API 检查、Android/Compose/示例应用的 Release Lint、三个坐标的 metadata、core 消费者的 Java 8 运行,以及 Android/Compose 的真实 Maven Release R8 验证。云端编译器与 API 21/35 结果以本轮 PR 及合并后的 CI 为准。 本轮发布准备 PR 须重新生成 `1.3.0` 候选,完成 API、JVM、Lint、metadata、Java 8、真实 Maven/R8、旧二进制与符号、编译器矩阵及 API 21/35 门禁;合并后继续核对最终 main CI。正式发布还须单独授权签名、上传、标签和 Release,发布成功后再同步公开安装示例。