Skip to content

Commit ee904d8

Browse files
committed
Prepare 1.2.3 release
1 parent 640bd82 commit ee904d8

File tree

5 files changed

+34
-9
lines changed

5 files changed

+34
-9
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# CHANGELOG
22

3+
## Version 1.2.3 (2023-06-21)
4+
- Deprecates `...encoding.builders` package path classes/functions for
5+
`encoding-base16`, `encoding-base32`, `encoding-base64` modules
6+
and re-introduces them at new package locations
7+
- `...encoding.base16.Builders.kt`
8+
- `...encoding.base32.Builders.kt`
9+
- `...encoding.base64.Builders.kt`
10+
- This is attributed to issue [[#124]][124] whereby JPMS does not allowing
11+
split packages.
12+
- A follow up release of `2.0.0` with the API breaking changes will be had.
13+
This release is primarily for consumers to migrate as gracefully as possible.
14+
- See the [MIGRATION][MIGRATION] guide for more details.
15+
316
## Version 1.2.2 (2023-06-03)
417
- Build improvements [[#106]][106]
518
- Removes `kotln-components` submodule
@@ -117,3 +130,5 @@
117130
[114]: https://github.com/05nelsonm/encoding/pull/114
118131
[118]: https://github.com/05nelsonm/encoding/pull/118
119132
[122]: https://github.com/05nelsonm/encoding/pull/122
133+
[124]: https://github.com/05nelsonm/encoding/issues/124
134+
[MIGRATION]: https://github.com/05nelsonm/encoding/blob/master/MIGRATION.md

MIGRATION.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ For more details, see [[#124]][124].
1414

1515
## Migration guide for 1.x.x -> 2.0.0
1616

17-
- Update dependency to `1.2.3`
17+
- Update dependency to version `1.2.3`
1818
- Migration method 1:
1919
- Use your IDE or editor to search your project for the following
2020
```
@@ -24,6 +24,18 @@ For more details, see [[#124]][124].
2424
- Migration method 2:
2525
- Use the provided `ReplaceWith` functionality of the `@Deprecated` notice
2626
to update to the new builder class/function package locations.
27-
- Update dependency to `2.0.0`
27+
- Update dependencies to new maven target:
28+
```kotlin
29+
// Bill of Materials
30+
implementation(platform("io.matthewnelson.encoding:bom:2.0.0"))
2831

29-
[124]: https://github.com/05nelsonm/encoding/issues/124
32+
// New Maven Central target (include version if not using the BOM)
33+
implementation("io.matthewnelson.encoding:base16")
34+
implementation("io.matthewnelson.encoding:base32")
35+
implementation("io.matthewnelson.encoding:base64")
36+
37+
// optionally if you only want the abstractions
38+
implementation("io.matthewnelson.encoding:core")
39+
```
40+
41+
[124]: https://github.com/05nelsonm/encoding/issues/124

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ See [sample project](sample/README.md)
279279
```kotlin
280280
// build.gradle.kts
281281
dependencies {
282-
val encoding = "1.2.2"
282+
val encoding = "1.2.3"
283283
implementation("io.matthewnelson.kotlin-components:encoding-base16:$encoding")
284284
implementation("io.matthewnelson.kotlin-components:encoding-base32:$encoding")
285285
implementation("io.matthewnelson.kotlin-components:encoding-base64:$encoding")
@@ -296,7 +296,7 @@ Alternatively, you can use the BOM.
296296
// build.gradle.kts
297297
dependencies {
298298
// define the BOM and its version
299-
implementation(platform("io.matthewnelson.kotlin-components:encoding-bom:1.2.2"))
299+
implementation(platform("io.matthewnelson.kotlin-components:encoding-bom:1.2.3"))
300300

301301
// define artifacts without version
302302
implementation("io.matthewnelson.kotlin-components:encoding-base16")
@@ -309,7 +309,7 @@ dependencies {
309309
```
310310

311311
<!-- TAG_VERSION -->
312-
[badge-latest-release]: https://img.shields.io/badge/latest--release-1.2.2-blue.svg?style=flat
312+
[badge-latest-release]: https://img.shields.io/badge/latest--release-1.2.3-blue.svg?style=flat
313313
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat
314314

315315
<!-- TAG_DEPENDENCIES -->

RELEASING.md

-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ git checkout -b release_"$VERSION_NAME"
2323

2424
- Update `version` in project's `README.md` documentation
2525

26-
- Update the Kotlin Version compatibility matrix in project's `README.md` documentation
27-
2826
- Update `CHANGELOG.md`
2927

3028
- Commit Changes

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ POM_DEVELOPER_ID=05nelsonm
2929
POM_DEVELOPER_NAME=Matthew Nelson
3030
POM_DEVELOPER_URL=https://github.com/05nelsonm/
3131

32-
VERSION_NAME=1.2.3-SNAPSHOT
32+
VERSION_NAME=1.2.3
3333
# 0.1.0-alpha01 = 00 01 00 11
3434
# 0.1.0-beta01 = 00 01 00 21
3535
# 0.1.0-rc01 = 00 01 00 31

0 commit comments

Comments
 (0)