Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
```

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class PublishingConventionPlugin : Plugin<Project> {

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"
}
}
2 changes: 1 addition & 1 deletion docs/BUILD_VARIANTS_AND_PRODUCTION_SAFETY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/MAVEN_PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:**

Expand Down
2 changes: 1 addition & 1 deletion docs/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(),
)
Expand All @@ -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"))
}
}
2 changes: 1 addition & 1 deletion samples/compose-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ android {
defaultConfig {
applicationId = "io.devconsole.sample.compose"
versionCode = 1
versionName = "1.2.0-SNAPSHOT"
versionName = "1.2.1-SNAPSHOT"
}
}

Expand Down
2 changes: 1 addition & 1 deletion samples/foundation-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ android {
defaultConfig {
applicationId = "io.devconsole.sample"
versionCode = 1
versionName = "1.2.0-SNAPSHOT"
versionName = "1.2.1-SNAPSHOT"
}
}
2 changes: 1 addition & 1 deletion samples/views-java-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
defaultConfig {
applicationId = "io.devconsole.sample.viewsjava"
versionCode = 1
versionName = "1.2.0-SNAPSHOT"
versionName = "1.2.1-SNAPSHOT"
}
}

Expand Down
Loading