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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ joined this list.)

## Unreleased

_Nothing yet._

## 1.4.0 — 2026-11-16

### Added

- **Test conditions.** Control on the phone and Mocks on the web have one-tap Slow network, No
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ dependencyResolutionManagement {
```kotlin
plugins {
id("com.android.application")
id("io.github.devconsole-android") version "1.3.1"
id("io.github.devconsole-android") version "1.4.0"
}

dependencies {
debugImplementation("com.github.devconsole-android.DevConsole:devconsole:1.3.1")
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-noop:1.3.1")
debugImplementation("com.github.devconsole-android.DevConsole:devconsole:1.4.0")
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-noop:1.4.0")
}
```

Expand Down Expand Up @@ -377,8 +377,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("com.github.devconsole-android.DevConsole:devconsole-remote-config-firebase:1.3.1")
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-remote-config-firebase-noop:1.3.1")
debugImplementation("com.github.devconsole-android.DevConsole:devconsole-remote-config-firebase:1.4.0")
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-remote-config-firebase-noop:1.4.0")
```

> These two artifacts first ship in `1.2.0`; earlier versions do not have them.
Expand Down Expand Up @@ -455,8 +455,8 @@ You never name those. Every module publishes sources, javadoc, and a POM.
### Versions and unreleased code

All 35 library artifacts come from [JitPack](https://jitpack.io/#devconsole-android/DevConsole),
which builds a ref on demand. Releases are tagged `v1.3.1`, and JitPack resolves a bare version
against the `v`-prefixed tag, which is why the coordinates above read `1.3.1` — the same spelling
which builds a ref on demand. Releases are tagged `v1.4.0`, and JitPack resolves a bare version
against the `v`-prefixed tag, which is why the coordinates above read `1.4.0` — the same spelling
the Gradle plugin uses on the Portal. Any branch works as `<branch>-SNAPSHOT`, with `/` written as
`~`, so a `feature/x` branch is `feature~x-SNAPSHOT` — that is how you try an unreleased fix before
it ships. JitPack support starts at **1.1.1**; earlier tags do not build there. Two things to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class PublishingConventionPlugin : Plugin<Project> {
// The POM group. JitPack rewrites it to com.github.devconsole-android.DevConsole when it
// serves a build, so consumers name that group, not this one.
const val MAVEN_GROUP = "io.github.devconsole-android"
const val SDK_VERSION = "1.3.1"
const val SDK_VERSION = "1.4.0"
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")) // project paths only; override for a differently-pathed checkout
failBuildOnUnsafeVariant.set(true) // default; false downgrades to a warning
autoWireDependencies.set(true) // default; false to declare coordinates yourself
sdkVersion.set("1.3.1") // default; the JitPack version to resolve
sdkVersion.set("1.4.0") // default; the JitPack version to resolve
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/GETTING_STARTED_COMPOSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ devConsole {
}
```

`<version>` is a JitPack version — `1.3.1` for the current release. Releases are tagged `v1.3.1`,
`<version>` is a JitPack version — `1.4.0` for the current release. Releases are tagged `v1.4.0`,
and JitPack resolves a bare version against the `v`-prefixed tag, so the `v` is optional; the bare
form is used here because it also matches the plugin's version on the Gradle Plugin Portal.

Expand Down Expand Up @@ -118,7 +118,7 @@ release-safe, so it can stay on `implementation` in every variant — in protect
to DevConsole's disabled recorder:

```kotlin
implementation("com.github.devconsole-android.DevConsole:devconsole-logs-timber:1.3.1")
implementation("com.github.devconsole-android.DevConsole:devconsole-logs-timber:1.4.0")

// Once, after DevConsole.initialize:
Timber.plant(DevConsoleTimberTree(DevConsole.logRecorder()))
Expand Down
2 changes: 1 addition & 1 deletion docs/GETTING_STARTED_XML_KOTLIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ devConsole {
}
```

`<version>` is a JitPack version — `1.3.1` for the current release. Releases are tagged `v1.3.1`,
`<version>` is a JitPack version — `1.4.0` for the current release. Releases are tagged `v1.4.0`,
and JitPack resolves a bare version against the `v`-prefixed tag, so the `v` is optional; the bare
form is used here because it also matches the plugin's version on the Gradle Plugin Portal.

Expand Down
4 changes: 2 additions & 2 deletions docs/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ dependencyResolutionManagement {
`v*` release tag:

```kotlin
debugImplementation("com.github.devconsole-android.DevConsole:devconsole:1.3.1")
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-noop:1.3.1")
debugImplementation("com.github.devconsole-android.DevConsole:devconsole:1.4.0")
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-noop:1.4.0")
```

If you rely on the plugin's `autoWireDependencies` (the default), step 2 is done for you — you only
Expand Down
4 changes: 2 additions & 2 deletions docs/PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ dependencies {
```

`<version>` is a git ref. JitPack looks it up as a tag and falls back to the `v`-prefixed spelling
when no bare tag exists, so a release resolves either way — `1.3.1` and `v1.3.1` both serve the
`v1.3.1` build. Prefer the bare form: it is what the docs show, and it matches the version the
when no bare tag exists, so a release resolves either way — `1.4.0` and `v1.4.0` both serve the
`v1.4.0` build. Prefer the bare form: it is what the docs show, and it matches the version the
Gradle plugin carries on the Portal. Any branch works as `<branch>-SNAPSHOT`, with `/` written as
`~`, so a `feature/x` branch is `feature~x-SNAPSHOT`. JitPack support starts at **1.1.1**; earlier
tags do not build there, and bare `1.2.1` is a cached failed build — that one release resolves only
Expand Down
2 changes: 1 addition & 1 deletion docs/REMOTE_CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ debugImplementation("com.github.devconsole-android.DevConsole:devconsole-remote-
releaseImplementation("com.github.devconsole-android.DevConsole:devconsole-remote-config-firebase-noop:<version>")
```

`<version>` is a JitPack version — `1.3.1` for the current release. Releases are tagged `v1.3.1`,
`<version>` is a JitPack version — `1.4.0` for the current release. Releases are tagged `v1.4.0`,
and JitPack resolves a bare version against the `v`-prefixed tag, so the `v` is optional; the bare
form is used here because it also matches the plugin's version on the Gradle Plugin Portal.

Expand Down
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.3.1"
version = "1.4.0"

// 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 @@ -229,9 +229,9 @@ class DevConsoleVariantPolicyPluginFunctionalTest {
devConsoleBlock = "autoWireDependencies.set(false)",
extraBuildScript = """
dependencies {
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole-network-ktor:1.3.1")
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole-ui-compose:1.3.1")
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole-ui-views:1.3.1")
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole-network-ktor:1.4.0")
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole-ui-compose:1.4.0")
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole-ui-views:1.4.0")
}
""".trimIndent(),
)
Expand Down Expand Up @@ -956,12 +956,12 @@ class DevConsoleVariantPolicyPluginFunctionalTest {
)

// release is PROTECTED by default, so auto-wire adds the noop core coordinate. The published
// coordinate is 1.3.1 -- the DEFAULT_SDK_VERSION must not point at a 1.3.1-SNAPSHOT that was
// coordinate is 1.4.0 -- the DEFAULT_SDK_VERSION must not point at a 1.4.0-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("com.github.devconsole-android.DevConsole:devconsole-noop:1.3.1"))
assertTrue(result.output, !result.output.contains("1.3.1-SNAPSHOT"))
assertTrue(result.output, result.output.contains("com.github.devconsole-android.DevConsole:devconsole-noop:1.4.0"))
assertTrue(result.output, !result.output.contains("1.4.0-SNAPSHOT"))
}

@Test
Expand Down Expand Up @@ -1011,13 +1011,13 @@ class DevConsoleVariantPolicyPluginFunctionalTest {

@Test
fun `the JitPack coordinate trips the declared-dependency check`() {
addStubCoordinate("com.github.devconsole-android.DevConsole", "devconsole", "1.3.1")
addStubCoordinate("com.github.devconsole-android.DevConsole", "devconsole", "1.4.0")
writeFixture(
devConsoleBlock = "autoWireDependencies.set(false)",
extraBuildScript =
"""
dependencies {
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole:1.3.1")
add("releaseImplementation", "com.github.devconsole-android.DevConsole:devconsole:1.4.0")
}
""".trimIndent(),
)
Expand Down Expand Up @@ -1057,7 +1057,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("com.github.devconsole-android.DevConsole:devconsole:1.3.1"))
assertTrue(result.output, result.output.contains("com.github.devconsole-android.DevConsole:devconsole:1.4.0"))
assertTrue(result.output, result.output.contains("io.github.devconsole-android:devconsole-ui-compose"))
}

Expand Down
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.3.1-SNAPSHOT"
versionName = "1.4.0-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.3.1-SNAPSHOT"
versionName = "1.4.0-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.3.1-SNAPSHOT"
versionName = "1.4.0-SNAPSHOT"
}
}

Expand Down
2 changes: 1 addition & 1 deletion sdk/storage-room/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
debugImplementation("com.github.devconsole-android.DevConsole:devconsole-storage-room:<version>")
```

`<version>` is a JitPack version — `1.3.1` for the current release. Releases are tagged `v1.3.1`,
`<version>` is a JitPack version — `1.4.0` for the current release. Releases are tagged `v1.4.0`,
and JitPack resolves a bare version against the `v`-prefixed tag, so the `v` is optional; the bare
form is used here because it also matches the plugin's version on the Gradle Plugin Portal.

Expand Down
Loading