Skip to content

Commit

Permalink
release(common-enums): v0.2.0
Browse files Browse the repository at this point in the history
* Bump version
* Add changelog entry
* Update module docs
  • Loading branch information
EdricChan03 committed May 10, 2024
1 parent 7ae3209 commit 389b4ce
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
23 changes: 23 additions & 0 deletions androidx/common/common-enums/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,29 @@ the [generated Dokka documentation](https://edricchan03.github.io/androidx-ktx-e
for API usage.

---
<a name="0.2.0"></a>

## 0.2.0 (11 May 2024)

* [Maven Central](https://central.sonatype.com/artifact/io.github.edricchan03.androidx.common/common-enums/0.2.0)
* [GitHub release](https://github.com/EdricChan03/androidx-ktx-extras/releases/tag/[email protected])
* [Full changelog](https://github.com/EdricChan03/androidx-ktx-extras/compare/[email protected]@0.2.0)

### Notable changes

* A new interface
([`ValueEnum`](https://edricchan03.github.io/androidx-ktx-extras/androidx/common/common-enums/io.github.edricchan03.androidx.common.enums/-value-enum/index.html)) has been added which enums can implement to provide an
abstraction over enums which provide an internal value representation. This allows for operations
to be done on generic value-based enums. [`5973982`](https://github.com/EdricChan03/androidx-ktx-extras/commit/5973982202ea33a1a322e04888e963c3cb85547e)
* [`ValueEnumFromValue`](https://edricchan03.github.io/androidx-ktx-extras/androidx/common/common-enums/io.github.edricchan03.androidx.common.enums.impl/-value-enum-from-value/index.html) (currently experimental!) has been added which provides a [`ValueEnum`](https://edricchan03.github.io/androidx-ktx-extras/androidx/common/common-enums/io.github.edricchan03.androidx.common.enums/-value-enum/index.html)
implementation of the
[`EnumFromValue`](https://edricchan03.github.io/androidx-ktx-extras/androidx/common/common-enums/io.github.edricchan03.androidx.common.enums/-enum-from-value/index.html) abstract class. [`0abf688`](https://github.com/EdricChan03/androidx-ktx-extras/commit/0abf688467133819674d204bd193b776291a7fe4)

### Dependency updates

Artifact | Old version | New version
---|---|---
[Kotlin](https://kotlinlang.org) | [`1.9.0`](https://github.com/JetBrains/kotlin/releases/tag/v1.9.0) | [`1.9.23`](https://github.com/JetBrains/kotlin/releases/tag/v1.9.23)

<a name="0.1.0"></a>

Expand Down
8 changes: 4 additions & 4 deletions androidx/common/common-enums/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencyResolutionManagement {
`build.gradle.kts`

```kotlin
implementation("io.github.edricchan03.androidx.common:common-enums:0.1.0")
implementation("io.github.edricchan03.androidx.common:common-enums:0.2.0")
```

### TOML
Expand All @@ -33,7 +33,7 @@ implementation("io.github.edricchan03.androidx.common:common-enums:0.1.0")

```toml
[libraries]
androidxtra-common-enums = "io.github.edricchan03.androidx.common:common-enums:0.1.0"
androidxtra-common-enums = "io.github.edricchan03.androidx.common:common-enums:0.2.0"
```

`build.gradle.kts`:
Expand Down Expand Up @@ -70,7 +70,7 @@ dependencyResolutionManagement {
`build.gradle.kts`:

```kotlin
implementation("io.github.edricchan03.androidx.common:common-enums:0.1.1-SNAPSHOT")
implementation("io.github.edricchan03.androidx.common:common-enums:0.2.1-SNAPSHOT")
```

#### TOML
Expand All @@ -79,7 +79,7 @@ implementation("io.github.edricchan03.androidx.common:common-enums:0.1.1-SNAPSHO

```toml
[libaries]
androidxtra-common-enums = "io.github.edricchan03.androidx.common:common-enums:0.1.1-SNAPSHOT"
androidxtra-common-enums = "io.github.edricchan03.androidx.common:common-enums:0.2.1-SNAPSHOT"
```

`build.gradle.kts`:
Expand Down
6 changes: 2 additions & 4 deletions androidx/common/common-enums/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
plugins {
`kotlin-multiplatform`
org.jetbrains.kotlin.multiplatform
io.github.edricchan03.androidx.library
}

androidxKtx {
mavenCoordinates {
version = "0.1.1-SNAPSHOT"
}
mavenCoordinates.version = "0.2.0"

name = "androidx-ktx-extras-common-enums"
description = "Common enum utilities for androidx-ktx-extras"
Expand Down

0 comments on commit 389b4ce

Please sign in to comment.