Skip to content

Commit 2508349

Browse files
committed
Prepare 0.6.0 release
1 parent 5310dd0 commit 2508349

File tree

5 files changed

+53
-18
lines changed

5 files changed

+53
-18
lines changed

CHANGELOG.md

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

3+
## Version 0.6.0 (2025-01-15)
4+
- Adds `bitops-bits`
5+
- Adds `bitops-endian`
6+
- Adds `hash-blake2`
7+
- Adds `macs-blake2`
8+
- Updates `core` to `0.6.0`
9+
- Updates `hash` to `0.6.0`
10+
- Updates `macs` to `0.6.0`
11+
- Updates `endians` to `0.3.2`
12+
- Deprecates `endians-endians`
13+
- Functionality replaced by `bitops-endian` library
14+
- Removes `hash-md5`
15+
- Removes `macs-hmac-md5`
16+
317
## Version 0.5.6 (2024-12-28)
418
- Updates `hash` to `0.5.6`
519
- Updates `macs` to `0.5.6`

README.md

Lines changed: 13 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.5.6")
23+
from("org.kotlincrypto:version-catalog:0.6.0")
2424
}
2525
}
2626
}
@@ -29,18 +29,28 @@ dependencyResolutionManagement {
2929
Use in your projects
3030
```kotlin
3131
dependencies {
32-
implementation(kotlincrypto.endians.endians)
32+
implementation(kotlincrypto.bitops.bits)
33+
implementation(kotlincrypto.bitops.endian)
34+
35+
implementation(kotlincrypto.hash.blake2)
36+
implementation(kotlincrypto.hash.md)
37+
implementation(kotlincrypto.hash.sha1)
3338
implementation(kotlincrypto.hash.sha2)
3439
implementation(kotlincrypto.hash.sha3)
40+
41+
implementation(kotlincrypto.macs.blake2)
42+
implementation(kotlincrypto.macs.hmac.md)
43+
implementation(kotlincrypto.macs.hmac.sha1)
3544
implementation(kotlincrypto.macs.hmac.sha2)
3645
implementation(kotlincrypto.macs.hmac.sha3)
3746
implementation(kotlincrypto.macs.kmac)
47+
3848
implementation(kotlincrypto.secureRandom)
3949
}
4050
```
4151

4252
<!-- TAG_VERSION -->
43-
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.5.6-blue.svg?style=flat
53+
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.6.0-blue.svg?style=flat
4454
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat
4555

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

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ POM_DEVELOPER_ID=KotlinCrypto
2727
POM_DEVELOPER_NAME=Kotlin Crypto
2828
POM_DEVELOPER_URL=https://github.com/KotlinCrypto/
2929

30-
VERSION_NAME=0.5.7-SNAPSHOT
30+
VERSION_NAME=0.6.0
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
3434
# 0.1.0 = 00 01 00 99
3535
# 1.1.0 = 01 01 00 99
36-
VERSION_CODE=00050799
36+
VERSION_CODE=00060099

gradle/kotlincrypto.versions.toml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,38 @@
11
[versions]
2-
core = "0.5.5"
3-
endians = "0.3.1"
4-
hash = "0.5.6"
5-
macs = "0.5.6"
2+
bitops = "0.1.1"
3+
core = "0.6.0"
4+
hash = "0.6.0"
5+
macs = "0.6.0"
66
secureRandom = "0.3.2"
77
sponges = "0.3.4"
88

9+
# ----- DEPRECATED -----
10+
# Will cease to be published next major version release and subsequently removed from the catalog
11+
#
12+
# Use instead:
13+
# bitops-endian
14+
endians = "0.3.2"
15+
916
[libraries]
17+
# 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" }
20+
1021
# https://github.com/KotlinCrypto/core
1122
core-core = { module = "org.kotlincrypto.core:core", version.ref = "core" }
1223
core-digest = { module = "org.kotlincrypto.core:digest", version.ref = "core" }
1324
core-mac = { module = "org.kotlincrypto.core:mac", version.ref = "core" }
1425
core-xof = { module = "org.kotlincrypto.core:xof", version.ref = "core" }
1526

16-
# https://github.com/KotlinCrypto/endians
17-
endians-endians = { module = "org.kotlincrypto.endians:endians", version.ref = "endians" }
18-
1927
# https://github.com/KotlinCrypto/hash
28+
hash-blake2 = { module = "org.kotlincrypto.hash:blake2", version.ref = "hash" }
2029
hash-md = { module = "org.kotlincrypto.hash:md", version.ref = "hash" }
2130
hash-sha1 = { module = "org.kotlincrypto.hash:sha1", version.ref = "hash" }
2231
hash-sha2 = { module = "org.kotlincrypto.hash:sha2", version.ref = "hash" }
2332
hash-sha3 = { module = "org.kotlincrypto.hash:sha3", version.ref = "hash" }
2433

2534
# https://github.com/KotlinCrypto/MACs
35+
macs-blake2 = { module = "org.kotlincrypto.macs:blake2", version.ref = "macs" }
2636
macs-hmac-md = { module = "org.kotlincrypto.macs:hmac-md", version.ref = "macs" }
2737
macs-hmac-sha1 = { module = "org.kotlincrypto.macs:hmac-sha1", version.ref = "macs" }
2838
macs-hmac-sha2 = { module = "org.kotlincrypto.macs:hmac-sha2", version.ref = "macs" }
@@ -41,8 +51,6 @@ sponges-keccak = { module = "org.kotlincrypto.sponges:keccak", version.ref = "s
4151
#
4252
# Use instead:
4353
# core-core
44-
# hash-md
45-
# macs-hmac-md
54+
# bitops-endian
4655
core-common = { module = "org.kotlincrypto.core:core", version.ref = "core" }
47-
hash-md5 = { module = "org.kotlincrypto.hash:md5", version.ref = "hash" }
48-
macs-hmac-md5 = { module = "org.kotlincrypto.macs:hmac-md5", version.ref = "macs" }
56+
endians-endians = { module = "org.kotlincrypto.endians:endians", version.ref = "endians" }

stub/build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,21 @@ kmpConfiguration {
6161
common {
6262
sourceSetMain {
6363
dependencies {
64+
implementation(kotlincrypto.bitops.bits)
65+
implementation(kotlincrypto.bitops.endian)
66+
6467
implementation(kotlincrypto.core.core)
6568
implementation(kotlincrypto.core.digest)
6669
implementation(kotlincrypto.core.mac)
6770
implementation(kotlincrypto.core.xof)
6871

69-
implementation(kotlincrypto.endians.endians)
70-
72+
implementation(kotlincrypto.hash.blake2)
7173
implementation(kotlincrypto.hash.md)
7274
implementation(kotlincrypto.hash.sha1)
7375
implementation(kotlincrypto.hash.sha2)
7476
implementation(kotlincrypto.hash.sha3)
7577

78+
implementation(kotlincrypto.macs.blake2)
7679
implementation(kotlincrypto.macs.hmac.md)
7780
implementation(kotlincrypto.macs.hmac.sha1)
7881
implementation(kotlincrypto.macs.hmac.sha2)

0 commit comments

Comments
 (0)