Skip to content

Commit 54bcee2

Browse files
committed
Prepare 0.6.1 release
1 parent 60dbf66 commit 54bcee2

File tree

5 files changed

+56
-34
lines changed

5 files changed

+56
-34
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# CHANGELOG
22

3+
## Version 0.6.1 (2025-02-09)
4+
- Adds `error-error`
5+
- Adds `random-crypto-rand`
6+
- Updates `bitops` to `0.1.2`
7+
- Updates `core` to `0.6.1`
8+
- Updates `hash` to `0.6.1`
9+
- Updates `macs` to `0.6.1`
10+
- Updates `secureRandom` to `0.4.0`
11+
- Deprecates `secureRandom`
12+
- Functionality replaced by `random-crypto-rand` library
13+
314
## Version 0.6.0 (2025-01-15)
415
- Adds `bitops-bits`
516
- Adds `bitops-endian`

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencyResolutionManagement {
2020
versionCatalogs {
2121
create("kotlincrypto") {
2222
// https://github.com/KotlinCrypto/version-catalog/blob/master/gradle/kotlincrypto.versions.toml
23-
from("org.kotlincrypto:version-catalog:0.6.0")
23+
from("org.kotlincrypto:version-catalog:0.6.1")
2424
}
2525
}
2626
}
@@ -45,12 +45,12 @@ dependencies {
4545
implementation(kotlincrypto.macs.hmac.sha3)
4646
implementation(kotlincrypto.macs.kmac)
4747

48-
implementation(kotlincrypto.secureRandom)
48+
implementation(kotlincrypto.random.crypto.rand)
4949
}
5050
```
5151

5252
<!-- TAG_VERSION -->
53-
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.6.0-blue.svg?style=flat
53+
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.6.1-blue.svg?style=flat
5454
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat
5555

5656
[url-latest-release]: https://github.com/KotlinCrypto/version-catalog/releases/latest

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ POM_DEVELOPER_ID=KotlinCrypto
2727
POM_DEVELOPER_NAME=Kotlin Crypto
2828
POM_DEVELOPER_URL=https://github.com/KotlinCrypto/
2929

30-
VERSION_NAME=0.6.1-SNAPSHOT
30+
VERSION_NAME=0.6.1
3131
# 0.1.0-alpha01 = 00 01 00 11
3232
# 0.1.0-beta01 = 00 01 00 21
3333
# 0.1.0-rc01 = 00 01 00 31

gradle/kotlincrypto.versions.toml

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,56 @@
11
[versions]
2-
bitops = "0.1.1"
3-
core = "0.6.0"
4-
hash = "0.6.0"
5-
macs = "0.6.0"
6-
secureRandom = "0.3.2"
7-
sponges = "0.3.4"
2+
bitops = "0.1.2"
3+
core = "0.6.1"
4+
error = "0.2.0"
5+
hash = "0.6.1"
6+
macs = "0.6.1"
7+
random = "0.4.0"
8+
sponges = "0.3.4"
9+
810

911
# ----- DEPRECATED -----
1012
# Will cease to be published next major version release and subsequently removed from the catalog
1113
#
1214
# Use instead:
1315
# bitops-endian
14-
endians = "0.3.2"
16+
# random-crypto-rand
17+
endians = "0.3.2"
18+
secureRandom = "0.4.0"
1519

1620
[libraries]
1721
# https://github.com/KotlinCrypto/bitops
18-
bitops-bits = { module = "org.kotlincrypto.bitops:bits", version.ref = "bitops" }
19-
bitops-endian = { module = "org.kotlincrypto.bitops:endian", version.ref = "bitops" }
22+
bitops-bits = { module = "org.kotlincrypto.bitops:bits", version.ref = "bitops" }
23+
bitops-endian = { module = "org.kotlincrypto.bitops:endian", version.ref = "bitops" }
2024

2125
# https://github.com/KotlinCrypto/core
22-
core-core = { module = "org.kotlincrypto.core:core", version.ref = "core" }
23-
core-digest = { module = "org.kotlincrypto.core:digest", version.ref = "core" }
24-
core-mac = { module = "org.kotlincrypto.core:mac", version.ref = "core" }
25-
core-xof = { module = "org.kotlincrypto.core:xof", version.ref = "core" }
26+
core-core = { module = "org.kotlincrypto.core:core", version.ref = "core" }
27+
core-digest = { module = "org.kotlincrypto.core:digest", version.ref = "core" }
28+
core-mac = { module = "org.kotlincrypto.core:mac", version.ref = "core" }
29+
core-xof = { module = "org.kotlincrypto.core:xof", version.ref = "core" }
30+
31+
# https://github.com/KotlinCrypto/error
32+
error-error = { module = "org.kotlincrypto:error", version.ref = "error" }
2633

2734
# https://github.com/KotlinCrypto/hash
28-
hash-blake2 = { module = "org.kotlincrypto.hash:blake2", version.ref = "hash" }
29-
hash-md = { module = "org.kotlincrypto.hash:md", version.ref = "hash" }
30-
hash-sha1 = { module = "org.kotlincrypto.hash:sha1", version.ref = "hash" }
31-
hash-sha2 = { module = "org.kotlincrypto.hash:sha2", version.ref = "hash" }
32-
hash-sha3 = { module = "org.kotlincrypto.hash:sha3", version.ref = "hash" }
35+
hash-blake2 = { module = "org.kotlincrypto.hash:blake2", version.ref = "hash" }
36+
hash-md = { module = "org.kotlincrypto.hash:md", version.ref = "hash" }
37+
hash-sha1 = { module = "org.kotlincrypto.hash:sha1", version.ref = "hash" }
38+
hash-sha2 = { module = "org.kotlincrypto.hash:sha2", version.ref = "hash" }
39+
hash-sha3 = { module = "org.kotlincrypto.hash:sha3", version.ref = "hash" }
3340

3441
# https://github.com/KotlinCrypto/MACs
35-
macs-blake2 = { module = "org.kotlincrypto.macs:blake2", version.ref = "macs" }
36-
macs-hmac-md = { module = "org.kotlincrypto.macs:hmac-md", version.ref = "macs" }
37-
macs-hmac-sha1 = { module = "org.kotlincrypto.macs:hmac-sha1", version.ref = "macs" }
38-
macs-hmac-sha2 = { module = "org.kotlincrypto.macs:hmac-sha2", version.ref = "macs" }
39-
macs-hmac-sha3 = { module = "org.kotlincrypto.macs:hmac-sha3", version.ref = "macs" }
40-
macs-kmac = { module = "org.kotlincrypto.macs:kmac", version.ref = "macs" }
42+
macs-blake2 = { module = "org.kotlincrypto.macs:blake2", version.ref = "macs" }
43+
macs-hmac-md = { module = "org.kotlincrypto.macs:hmac-md", version.ref = "macs" }
44+
macs-hmac-sha1 = { module = "org.kotlincrypto.macs:hmac-sha1", version.ref = "macs" }
45+
macs-hmac-sha2 = { module = "org.kotlincrypto.macs:hmac-sha2", version.ref = "macs" }
46+
macs-hmac-sha3 = { module = "org.kotlincrypto.macs:hmac-sha3", version.ref = "macs" }
47+
macs-kmac = { module = "org.kotlincrypto.macs:kmac", version.ref = "macs" }
4148

42-
# https://github.com/KotlinCrypto/secure-random
43-
secureRandom = { module = "org.kotlincrypto:secure-random", version.ref = "secureRandom" }
49+
# https://github.com/KotlinCrypto/random
50+
random-crypto-rand = { module = "org.kotlincrypto.random:crypto-rand", version.ref = "random" }
4451

4552
# https://github.com/KotlinCrypto/sponges
46-
sponges-keccak = { module = "org.kotlincrypto.sponges:keccak", version.ref = "sponges" }
53+
sponges-keccak = { module = "org.kotlincrypto.sponges:keccak", version.ref = "sponges" }
4754

4855

4956
# ----- DEPRECATED -----
@@ -52,5 +59,7 @@ sponges-keccak = { module = "org.kotlincrypto.sponges:keccak", version.ref = "s
5259
# Use instead:
5360
# core-core
5461
# bitops-endian
55-
core-common = { module = "org.kotlincrypto.core:core", version.ref = "core" }
56-
endians-endians = { module = "org.kotlincrypto.endians:endians", version.ref = "endians" }
62+
# random-crypto-rand
63+
core-common = { module = "org.kotlincrypto.core:core", version.ref = "core" }
64+
endians-endians = { module = "org.kotlincrypto.endians:endians", version.ref = "endians" }
65+
secureRandom = { module = "org.kotlincrypto:secure-random", version.ref = "secureRandom" }

stub/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ kmpConfiguration {
6969
implementation(kotlincrypto.core.mac)
7070
implementation(kotlincrypto.core.xof)
7171

72+
implementation(kotlincrypto.error.error)
73+
7274
implementation(kotlincrypto.hash.blake2)
7375
implementation(kotlincrypto.hash.md)
7476
implementation(kotlincrypto.hash.sha1)
@@ -82,7 +84,7 @@ kmpConfiguration {
8284
implementation(kotlincrypto.macs.hmac.sha3)
8385
implementation(kotlincrypto.macs.kmac)
8486

85-
implementation(kotlincrypto.secureRandom)
87+
implementation(kotlincrypto.random.crypto.rand)
8688

8789
implementation(kotlincrypto.sponges.keccak)
8890
}

0 commit comments

Comments
 (0)