From 9df6add41bda77b8230a8fec9cef9c645f2885e5 Mon Sep 17 00:00:00 2001 From: skydoves Date: Mon, 5 Feb 2024 21:08:50 +0900 Subject: [PATCH] Prepare for release 2.3.0 --- README.md | 10 ++++++---- .../skydoves/landscapist/Configuration.kt | 6 +++--- docs/glide/overview.md | 4 ++-- docs/placeholder.md | 18 ++++++++++++------ docs/snapshot.md | 4 ++-- docs/version-map.md | 1 + 6 files changed, 26 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index cef7fe40..6f6b1b52 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ repositories { Next, add the dependency below to your **module**'s `build.gradle` file: ```gradle dependencies { - implementation "com.github.skydoves:landscapist-glide:2.2.14-SNAPSHOT" + implementation "com.github.skydoves:landscapist-glide:2.3.1-SNAPSHOT" } ``` @@ -89,7 +89,7 @@ allprojects { Next, add the dependency below to your **module**'s `build.gradle` file: ```gradle dependencies { - implementation "com.github.skydoves:landscapist-glide:2.2.13" + implementation "com.github.skydoves:landscapist-glide:2.3.0" } ``` @@ -630,8 +630,10 @@ GlideImage( // CoilImage, FrescoImage component = rememberImageComponent { // shows a shimmering effect when loading an image. +ShimmerPlugin( - baseColor = background800, - highlightColor = shimmerHighLight + Shimmer.Resonate( + baseColor = Color.White, + highlightColor = Color.LightGray, + ), ) }, // shows an error text message when request failed. diff --git a/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt b/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt index ec67b2d9..d9dc253b 100644 --- a/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt +++ b/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt @@ -22,10 +22,10 @@ object Configuration { const val minSdk = 21 const val minSdk24 = 24 const val majorVersion = 2 - const val minorVersion = 2 - const val patchVersion = 14 + const val minorVersion = 3 + const val patchVersion = 0 const val versionName = "$majorVersion.$minorVersion.$patchVersion" - const val versionCode = 89 + const val versionCode = 90 const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT" const val artifactGroup = "com.github.skydoves" } diff --git a/docs/glide/overview.md b/docs/glide/overview.md index 782fb46e..9b41e391 100644 --- a/docs/glide/overview.md +++ b/docs/glide/overview.md @@ -23,7 +23,7 @@ Next, add the dependency below to your **module**'s `build.gradle` file: ```Groovy dependencies { - implementation "com.github.skydoves:landscapist-glide:2.2.13" + implementation "com.github.skydoves:landscapist-glide:2.3.0" } ``` @@ -31,7 +31,7 @@ Next, add the dependency below to your **module**'s `build.gradle` file: ```kotlin dependencies { - implementation("com.github.skydoves:landscapist-glide:2.2.13") + implementation("com.github.skydoves:landscapist-glide:2.3.0") } ``` diff --git a/docs/placeholder.md b/docs/placeholder.md index 08621537..b280ca69 100644 --- a/docs/placeholder.md +++ b/docs/placeholder.md @@ -78,8 +78,10 @@ You can implement a shimmering effect while loading an image by using the `Shimm component = rememberImageComponent { // displays a shimmering effect when loading an image. +ShimmerPlugin( - baseColor = background800, - highlightColor = shimmerHighLight + Shimmer.Resonate( + baseColor = Color.White, + highlightColor = Color.LightGray, + ) ) }, .. @@ -93,8 +95,10 @@ You can implement a shimmering effect while loading an image by using the `Shimm component = rememberImageComponent { // displays a shimmering effect when loading an image. +ShimmerPlugin( - baseColor = background800, - highlightColor = shimmerHighLight + Shimmer.Resonate( + baseColor = Color.White, + highlightColor = Color.LightGray, + ) ) }, .. @@ -108,8 +112,10 @@ You can implement a shimmering effect while loading an image by using the `Shimm component = rememberImageComponent { // displays a shimmering effect when loading an image. +ShimmerPlugin( - baseColor = background800, - highlightColor = shimmerHighLight + Shimmer.Resonate( + baseColor = Color.White, + highlightColor = Color.LightGray, + ) ) }, .. diff --git a/docs/snapshot.md b/docs/snapshot.md index f01258ae..02c4fed5 100644 --- a/docs/snapshot.md +++ b/docs/snapshot.md @@ -32,7 +32,7 @@ Next, add the dependency below to your **module**'s `build.gradle` file: ```Groovy dependencies { - implementation "com.github.skydoves:landscapist-glide:2.2.14-SNAPSHOT" + implementation "com.github.skydoves:landscapist-glide:2.3.1-SNAPSHOT" } ``` @@ -40,6 +40,6 @@ Next, add the dependency below to your **module**'s `build.gradle` file: ```kotlin dependencies { - implementation("com.github.skydoves:landscapist-glide:2.2.13-SNAPSHOT") + implementation("com.github.skydoves:landscapist-glide:2.3.1-SNAPSHOT") } ``` diff --git a/docs/version-map.md b/docs/version-map.md index 90c64712..0f41129a 100644 --- a/docs/version-map.md +++ b/docs/version-map.md @@ -5,6 +5,7 @@ The Landscapist utilizes varying Compose versions and JVM targets for each relea | Landscapist | Compose UI | Jvm Target | Glide | Coil | Fresco | |-------------|------------------------|------------|--------|-------|--------| +| 2.3.0 | 1.6.0 (BOM 2024.01.00) | 11 | 4.16.0 | 2.5.0 | 3.1.3 | | 2.2.13 | 1.5.4 (BOM 2023.10.01) | 11 | 4.16.0 | 2.5.0 | 3.1.3 | | 2.2.12 | 1.5.4 (BOM 2023.10.01) | 11 | 4.16.0 | 2.5.0 | 3.1.3 | | 2.2.11 | 1.5.4 (BOM 2023.10.01) | 11 | 4.16.0 | 2.5.0 | 3.1.3 |