Skip to content

Commit 5e1f6e7

Browse files
committed
Prepare 0.3.0 release
1 parent 6c141ef commit 5e1f6e7

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG
22

3+
## Version 0.3.0 (2023-06-28)
4+
- Fixes JPMS split packages [[#48]][48]
5+
- **API BREAKING CHANGES**
6+
- Package names were changed for `digest`, `mac`, and `xof` dependencies
7+
- Example:
8+
- `org.kotlincrypto.core.Digest` was moved to `org.kotlincrypto.core.digest.Digest`
9+
- `org.kotlincrypto.core.Mac` was moved to `org.kotlincrypto.core.mac.Mac`
10+
- `org.kotlincrypto.core.Xof` was moved to `org.kotlincrypto.core.xof.Xof`
11+
312
## Version 0.2.7 (2023-06-09)
413
- Fixes Android API 23 and below not calling `javax.crypto.MacSpi.engineReset`
514
whenever `javax.crypto.Mac.doFinal` is invoked [[#46]][46]
@@ -74,3 +83,4 @@
7483
[43]: https://github.com/KotlinCrypto/core/pull/43
7584
[44]: https://github.com/KotlinCrypto/core/pull/44
7685
[46]: https://github.com/KotlinCrypto/core/pull/46
86+
[48]: https://github.com/KotlinCrypto/core/pull/48

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ fun main() {
9292
```kotlin
9393
// Using SecureRandom from the secure-random repo as an example
9494
import org.kotlincrypto.SecureRandom
95-
// Using HmacSHA256 from the MACs repo as an example
96-
import org.kotlincrypto.macs.HmacSHA256
95+
// Using HmacSHA3_256 from the MACs repo as an example
96+
import org.kotlincrypto.macs.hmac.sha3.HmacSHA3_256
9797

9898
fun main() {
9999
val key = SecureRandom().nextBytesOf(100)
100-
val mac = HmacSHA256(key)
100+
val mac = HmacSHA3_256(key)
101101
val bytes = Random.Default.nextBytes(615)
102102

103103
// Mac implements Algorithm
@@ -218,7 +218,7 @@ The best way to keep `KotlinCrypto` dependencies up to date is by using the
218218
```kotlin
219219
// build.gradle.kts
220220
dependencies {
221-
val core = "0.2.7"
221+
val core = "0.3.0"
222222
implementation("org.kotlincrypto.core:digest:$core")
223223
implementation("org.kotlincrypto.core:mac:$core")
224224
implementation("org.kotlincrypto.core:xof:$core")
@@ -230,15 +230,15 @@ dependencies {
230230
```groovy
231231
// build.gradle
232232
dependencies {
233-
def core = "0.2.7"
233+
def core = "0.3.0"
234234
implementation "org.kotlincrypto.core:digest:$core"
235235
implementation "org.kotlincrypto.core:mac:$core"
236236
implementation "org.kotlincrypto.core:xof:$core"
237237
}
238238
```
239239

240240
<!-- TAG_VERSION -->
241-
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.2.7-blue.svg?style=flat
241+
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.3.0-blue.svg?style=flat
242242
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat
243243

244244
<!-- TAG_DEPENDENCIES -->

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ POM_DEVELOPER_ID=KotlinCrypto
3434
POM_DEVELOPER_NAME=Kotlin Crypto
3535
POM_DEVELOPER_URL=https://github.com/KotlinCrypto/
3636

37-
VERSION_NAME=0.3.0-SNAPSHOT
37+
VERSION_NAME=0.3.0
3838
# 0.1.0-alpha01 = 00 01 00 11
3939
# 0.1.0-beta01 = 00 01 00 21
4040
# 0.1.0-rc01 = 00 01 00 31

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
android = "7.4.2"
33
androidxTestRunner = "1.5.2"
44
binaryCompat = "0.13.2"
5-
configuration = "0.1.0"
5+
configuration = "0.1.1"
66
endians = "0.1.0"
77
gradleVersions = "0.46.0"
88
kotlin = "1.8.21"

0 commit comments

Comments
 (0)