diff --git a/CHANGELOG.md b/CHANGELOG.md index ca6c15e..b25d59b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,17 +18,20 @@ before it can reach a release. (There was briefly a separate `sdk:plugin-api` mo third-party plugin framework; it was removed before ever shipping — see Removed, below — so it never joined this list.) -## Unreleased +## 1.2.1 — 2026-08-17 Three default changes, aimed at the same complaint: a fresh integration showed a `127.0.0.1` URL that needed `adb forward` before it displayed anything, and a Mocks screen that could not add a mock. See [docs/MIGRATION.md](docs/MIGRATION.md#upgrading-from-120) for the upgrade path. -**Version note, deliberately unresolved here:** under this file's own -[policy](#versioning-and-stability-policy), adding a constant to a public enum is source-breaking -for any host that `when`s exhaustively over `BindingMode`/`BrowserBinding`, and flipping a security -default is a behavioural break. That reads as a major, not a minor. The number is left for the -release decision rather than assumed. +**Version note:** shipped as a patch, and that number is generous to itself. Under this file's own +[policy](#versioning-and-stability-policy) this reads as a major — adding a constant to a public +enum is source-breaking for any host that `when`s exhaustively over `BindingMode`/`BrowserBinding`, +and flipping a security default is a behavioural break. Nothing was removed and no signature +changed, so a host that does neither of those things upgrades without touching anything; the two +cases that do not are spelled out in +[docs/MIGRATION.md](docs/MIGRATION.md#upgrading-from-120). Read it before treating the version +number as permission to skip the diff. ### Added diff --git a/README.md b/README.md index 333ed35..40e3f75 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,12 @@ links no server code, and the Gradle plugin fails the build if the real runtime ```kotlin plugins { id("com.android.application") - id("io.github.devconsole-android") version "1.2.0" + id("io.github.devconsole-android") version "1.2.1" } dependencies { - debugImplementation("io.github.devconsole-android:devconsole:1.2.0") - releaseImplementation("io.github.devconsole-android:devconsole-noop:1.2.0") + debugImplementation("io.github.devconsole-android:devconsole:1.2.1") + releaseImplementation("io.github.devconsole-android:devconsole-noop:1.2.1") } ``` @@ -314,8 +314,8 @@ Add the adapter — it is not part of the `devconsole` umbrella, so that Firebas classpath of an app that doesn't use it: ```kotlin -debugImplementation("io.github.devconsole-android:devconsole-remote-config-firebase:1.2.0") -releaseImplementation("io.github.devconsole-android:devconsole-remote-config-firebase-noop:1.2.0") +debugImplementation("io.github.devconsole-android:devconsole-remote-config-firebase:1.2.1") +releaseImplementation("io.github.devconsole-android:devconsole-remote-config-firebase-noop:1.2.1") ``` > These two artifacts first ship in `1.2.0`; earlier versions do not have them. @@ -406,8 +406,8 @@ dependencyResolutionManagement { ```kotlin dependencies { // Group is com.github.devconsole-android.DevConsole; artifact ids match the tables above. - debugImplementation("com.github.devconsole-android.DevConsole:devconsole:1.2.0") - releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-noop:1.2.0") + debugImplementation("com.github.devconsole-android.DevConsole:devconsole:1.2.1") + releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-noop:1.2.1") } ``` diff --git a/build-logic/convention-publishing/src/main/kotlin/io/devconsole/buildlogic/PublishingConventionPlugin.kt b/build-logic/convention-publishing/src/main/kotlin/io/devconsole/buildlogic/PublishingConventionPlugin.kt index 94251fc..9e1212c 100644 --- a/build-logic/convention-publishing/src/main/kotlin/io/devconsole/buildlogic/PublishingConventionPlugin.kt +++ b/build-logic/convention-publishing/src/main/kotlin/io/devconsole/buildlogic/PublishingConventionPlugin.kt @@ -84,7 +84,7 @@ class PublishingConventionPlugin : Plugin { private companion object { const val MAVEN_GROUP = "io.github.devconsole-android" - const val SDK_VERSION = "1.2.0" + const val SDK_VERSION = "1.2.1" const val PROJECT_URL = "https://github.com/devconsole-android/DevConsole" } } diff --git a/docs/BUILD_VARIANTS_AND_PRODUCTION_SAFETY.md b/docs/BUILD_VARIANTS_AND_PRODUCTION_SAFETY.md index e95c696..4d02fa3 100644 --- a/docs/BUILD_VARIANTS_AND_PRODUCTION_SAFETY.md +++ b/docs/BUILD_VARIANTS_AND_PRODUCTION_SAFETY.md @@ -37,7 +37,7 @@ devConsole { protectedDependencyPaths.set(setOf(":sdk:full")) // default; override for a differently-pathed module failBuildOnUnsafeVariant.set(true) // default; false downgrades to a warning autoWireDependencies.set(true) // default; false to declare coordinates yourself - sdkVersion.set("1.2.0") // default; the plugin's own version + sdkVersion.set("1.2.1") // default; the plugin's own version } ``` diff --git a/docs/MAVEN_PUBLISHING.md b/docs/MAVEN_PUBLISHING.md index e3159f0..f9695af 100644 --- a/docs/MAVEN_PUBLISHING.md +++ b/docs/MAVEN_PUBLISHING.md @@ -48,7 +48,7 @@ your local `~/.gradle/gradle.properties`. Central's release path does **not** accept `-SNAPSHOT` versions. Before the first real publish, change `SDK_VERSION` in `build-logic/convention-publishing/src/main/kotlin/io/devconsole/buildlogic/PublishingConventionPlugin.kt` -(and `version` in `gradle-plugin/build.gradle.kts`) to a real version, e.g. `1.2.0`. +(and `version` in `gradle-plugin/build.gradle.kts`) to a real version, e.g. `1.2.1`. **Locally:** diff --git a/docs/MIGRATION.md b/docs/MIGRATION.md index 1f20646..a549117 100644 --- a/docs/MIGRATION.md +++ b/docs/MIGRATION.md @@ -69,5 +69,5 @@ than once during active development — most recently a facade reshape (`start() `startBrowser()`/`startBrowserAsync()`, returning `StartResult.Started(endpoint, access)`), the removal of `BindingMode.AUTO`/NSD/auto-start, the replacement of pairing/role-based access with the single SESSION_CODE flow, and the removal of the generic plugin framework. If you're carrying code -against an earlier snapshot of this repository, check the **Unreleased** section of +against an earlier snapshot of this repository, check the pre-1.0 entries in [CHANGELOG.md](../CHANGELOG.md) for the full list before updating. diff --git a/gradle-plugin/build.gradle.kts b/gradle-plugin/build.gradle.kts index 73b4734..4442241 100644 --- a/gradle-plugin/build.gradle.kts +++ b/gradle-plugin/build.gradle.kts @@ -9,7 +9,7 @@ plugins { // Must share a top-level namespace with the plugin ID (a Plugin Portal requirement) and match // the SDK's Maven group. group = "io.github.devconsole-android" -version = "1.2.0" +version = "1.2.1" // Targets Java 17: this plugin JAR runs inside the Gradle daemon (AGP 8.13.0 // requires JDK 17) and compiles against com.android.tools.build:gradle:8.13.0, diff --git a/gradle-plugin/src/main/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPlugin.kt b/gradle-plugin/src/main/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPlugin.kt index f8ac42c..64be54e 100644 --- a/gradle-plugin/src/main/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPlugin.kt +++ b/gradle-plugin/src/main/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPlugin.kt @@ -397,7 +397,7 @@ abstract class VerifyDevConsolePackagedArtifactTask : DefaultTask() { } } -private const val DEFAULT_SDK_VERSION = "1.2.0" +private const val DEFAULT_SDK_VERSION = "1.2.1" private const val DEVCONSOLE_GROUP = "io.github.devconsole-android" /** diff --git a/gradle-plugin/src/test/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPluginFunctionalTest.kt b/gradle-plugin/src/test/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPluginFunctionalTest.kt index ba4ac63..328f8d9 100644 --- a/gradle-plugin/src/test/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPluginFunctionalTest.kt +++ b/gradle-plugin/src/test/kotlin/io/devconsole/gradle/DevConsoleVariantPolicyPluginFunctionalTest.kt @@ -837,12 +837,12 @@ class DevConsoleVariantPolicyPluginFunctionalTest { ) // release is PROTECTED by default, so auto-wire adds the noop core coordinate. The published - // coordinate is 1.2.0 -- the DEFAULT_SDK_VERSION must not point at a 1.2.0-SNAPSHOT that was + // coordinate is 1.2.1 -- the DEFAULT_SDK_VERSION must not point at a 1.2.1-SNAPSHOT that was // never published, which would make every zero-config release build fail to resolve. val result = runner("dependencies", "--configuration", "releaseImplementation").build() - assertTrue(result.output, result.output.contains("io.github.devconsole-android:devconsole-noop:1.2.0")) - assertTrue(result.output, !result.output.contains("1.2.0-SNAPSHOT")) + assertTrue(result.output, result.output.contains("io.github.devconsole-android:devconsole-noop:1.2.1")) + assertTrue(result.output, !result.output.contains("1.2.1-SNAPSHOT")) } @Test @@ -878,7 +878,7 @@ class DevConsoleVariantPolicyPluginFunctionalTest { extraBuildScript = """ dependencies { - add("debugImplementation", "io.github.devconsole-android:devconsole-ui-compose:1.2.0") + add("debugImplementation", "io.github.devconsole-android:devconsole-ui-compose:1.2.1") } """.trimIndent(), ) @@ -887,7 +887,7 @@ class DevConsoleVariantPolicyPluginFunctionalTest { // debug is ENABLED, so the core runtime ("devconsole") must still be auto-wired alongside the // host's add-on declaration -- the add-on alone does not count as declaring the core runtime. - assertTrue(result.output, result.output.contains("io.github.devconsole-android:devconsole:1.2.0")) + assertTrue(result.output, result.output.contains("io.github.devconsole-android:devconsole:1.2.1")) assertTrue(result.output, result.output.contains("io.github.devconsole-android:devconsole-ui-compose")) } } diff --git a/samples/compose-app/build.gradle.kts b/samples/compose-app/build.gradle.kts index aa7e0bd..20c858b 100644 --- a/samples/compose-app/build.gradle.kts +++ b/samples/compose-app/build.gradle.kts @@ -12,7 +12,7 @@ android { defaultConfig { applicationId = "io.devconsole.sample.compose" versionCode = 1 - versionName = "1.2.0-SNAPSHOT" + versionName = "1.2.1-SNAPSHOT" } } diff --git a/samples/foundation-app/build.gradle.kts b/samples/foundation-app/build.gradle.kts index 23b005a..d25e673 100644 --- a/samples/foundation-app/build.gradle.kts +++ b/samples/foundation-app/build.gradle.kts @@ -31,6 +31,6 @@ android { defaultConfig { applicationId = "io.devconsole.sample" versionCode = 1 - versionName = "1.2.0-SNAPSHOT" + versionName = "1.2.1-SNAPSHOT" } } diff --git a/samples/views-java-app/build.gradle.kts b/samples/views-java-app/build.gradle.kts index 3af0ff1..d6ca3fe 100644 --- a/samples/views-java-app/build.gradle.kts +++ b/samples/views-java-app/build.gradle.kts @@ -9,7 +9,7 @@ android { defaultConfig { applicationId = "io.devconsole.sample.viewsjava" versionCode = 1 - versionName = "1.2.0-SNAPSHOT" + versionName = "1.2.1-SNAPSHOT" } }