Skip to content

Commit fdae151

Browse files
authored
Prepare for release 0.2.1 (#25)
Bump the published artifacts, the Gradle plugin, and the IDE plugin to 0.2.1, update the sample and docs plugin-version references, and add the 0.2.1 changelog entry (#24 render-classpath R.jar fix).
1 parent b486bcc commit fdae151

13 files changed

Lines changed: 19 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.1] - 2026-07-04
9+
10+
### Fixed
11+
- **Preview thumbnails render at the `@Preview` size regardless of the app's AGP R-class form** ([#13](https://github.com/skydoves/compose-nav-graph/issues/13), [#24](https://github.com/skydoves/compose-nav-graph/pull/24)): every ComposeView-backed preview loads `androidx.customview.poolingcontainer.R$id` at render, and that class ships only in the app's AAPT2-linked R.jar. The render classpath matched that jar under `compile_and_runtime_r_class_jar` only, so an app whose linked R lives under `compile_and_runtime_not_namespaced_r_class_jar` (a different AGP config or version) lost it, and every preview fell back to a fixed portrait render with the `@Preview` size ignored. Both forms are now matched, so device-free thumbnails render correctly again.
12+
813
## [0.2.0] - 2026-06-24
914

1015
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Then apply the plugin and KSP to the module that holds your screens. That's all.
102102
// build.gradle.kts
103103
plugins {
104104
id("com.google.devtools.ksp") version "<matching your Kotlin version>"
105-
id("com.github.skydoves.navgraph") version "0.2.0"
105+
id("com.github.skydoves.navgraph") version "0.2.1"
106106
}
107107
```
108108

compose-nav-graph-gradle/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# compose-nav-graph-gradle is a standalone (included) build, so it carries its own publishing coordinates
22
# rather than inheriting the root gradle.properties.
33
GROUP=com.github.skydoves
4-
VERSION_NAME=0.2.0
4+
VERSION_NAME=0.2.1
55

66
POM_NAME=Compose Navigation Graph Gradle Plugin
77
POM_ARTIFACT_ID=compose-nav-graph-gradle

compose-nav-graph-idea/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ plugins {
2020
}
2121

2222
group = "com.github.skydoves"
23-
version = "0.2.0"
23+
version = "0.2.1"
2424

2525
repositories {
2626
mavenCentral()

docs/gradle-plugin/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ navgraph {
9898
}
9999

100100
dependencies {
101-
implementation("com.github.skydoves:compose-nav-graph-annotations:0.2.0")
102-
ksp("com.github.skydoves:compose-nav-graph-ksp:0.2.0")
101+
implementation("com.github.skydoves:compose-nav-graph-annotations:0.2.1")
102+
ksp("com.github.skydoves:compose-nav-graph-ksp:0.2.1")
103103
}
104104
```
105105

docs/gradle-plugin/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Apply the plugin together with [KSP](https://github.com/google/ksp) in the `buil
2929
```kotlin
3030
plugins {
3131
id("com.google.devtools.ksp") version "<ksp-version>"
32-
id("com.github.skydoves.navgraph") version "0.2.0"
32+
id("com.github.skydoves.navgraph") version "0.2.1"
3333
}
3434
```
3535

@@ -46,7 +46,7 @@ If you keep plugin versions in `libs.versions.toml`:
4646
```toml
4747
[plugins]
4848
ksp = { id = "com.google.devtools.ksp", version = "<ksp-version>" }
49-
navgraph = { id = "com.github.skydoves.navgraph", version = "0.2.0" }
49+
navgraph = { id = "com.github.skydoves.navgraph", version = "0.2.1" }
5050
```
5151

5252
```kotlin

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ In your app (or feature) module's `build.gradle.kts`, apply the navgraph plugin
3838
```kotlin
3939
plugins {
4040
id("com.google.devtools.ksp") version "<ksp-version>"
41-
id("com.github.skydoves.navgraph") version "0.2.0"
41+
id("com.github.skydoves.navgraph") version "0.2.1"
4242
}
4343
```
4444

docs/kotlin-multiplatform.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ KMP specific configuration: you apply the same two plugins as on a plain Android
99
// shared/build.gradle.kts
1010
plugins {
1111
id("com.google.devtools.ksp") version "<matching your Kotlin version>"
12-
id("com.github.skydoves.navgraph") version "0.2.0"
12+
id("com.github.skydoves.navgraph") version "0.2.1"
1313
}
1414
```
1515

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android.nonTransitiveRClass=true
1313

1414
# --- Maven coordinates (vanniktech publish) ---
1515
GROUP=com.github.skydoves
16-
VERSION_NAME=0.2.0
16+
VERSION_NAME=0.2.1
1717

1818
POM_URL=https://github.com/skydoves/compose-nav-graph/
1919
POM_SCM_URL=https://github.com/skydoves/compose-nav-graph/

samples/sample-kotlinconf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ End user setup is intentionally minimal: **applying the plugin auto wires `compo
2525
```kotlin
2626
plugins {
2727
id("com.google.devtools.ksp") version "<matches your Kotlin version>"
28-
id("com.github.skydoves.navgraph") version "0.2.0"
28+
id("com.github.skydoves.navgraph") version "0.2.1"
2929
}
3030
```
3131

0 commit comments

Comments
 (0)