Skip to content

Commit

Permalink
Prepare 0.6.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm committed Feb 9, 2025
1 parent 60dbf66 commit 54bcee2
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 34 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# CHANGELOG

## Version 0.6.1 (2025-02-09)
- Adds `error-error`
- Adds `random-crypto-rand`
- Updates `bitops` to `0.1.2`
- Updates `core` to `0.6.1`
- Updates `hash` to `0.6.1`
- Updates `macs` to `0.6.1`
- Updates `secureRandom` to `0.4.0`
- Deprecates `secureRandom`
- Functionality replaced by `random-crypto-rand` library

## Version 0.6.0 (2025-01-15)
- Adds `bitops-bits`
- Adds `bitops-endian`
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencyResolutionManagement {
versionCatalogs {
create("kotlincrypto") {
// https://github.com/KotlinCrypto/version-catalog/blob/master/gradle/kotlincrypto.versions.toml
from("org.kotlincrypto:version-catalog:0.6.0")
from("org.kotlincrypto:version-catalog:0.6.1")
}
}
}
Expand All @@ -45,12 +45,12 @@ dependencies {
implementation(kotlincrypto.macs.hmac.sha3)
implementation(kotlincrypto.macs.kmac)

implementation(kotlincrypto.secureRandom)
implementation(kotlincrypto.random.crypto.rand)
}
```

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

[url-latest-release]: https://github.com/KotlinCrypto/version-catalog/releases/latest
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ POM_DEVELOPER_ID=KotlinCrypto
POM_DEVELOPER_NAME=Kotlin Crypto
POM_DEVELOPER_URL=https://github.com/KotlinCrypto/

VERSION_NAME=0.6.1-SNAPSHOT
VERSION_NAME=0.6.1
# 0.1.0-alpha01 = 00 01 00 11
# 0.1.0-beta01 = 00 01 00 21
# 0.1.0-rc01 = 00 01 00 31
Expand Down
67 changes: 38 additions & 29 deletions gradle/kotlincrypto.versions.toml
Original file line number Diff line number Diff line change
@@ -1,49 +1,56 @@
[versions]
bitops = "0.1.1"
core = "0.6.0"
hash = "0.6.0"
macs = "0.6.0"
secureRandom = "0.3.2"
sponges = "0.3.4"
bitops = "0.1.2"
core = "0.6.1"
error = "0.2.0"
hash = "0.6.1"
macs = "0.6.1"
random = "0.4.0"
sponges = "0.3.4"


# ----- DEPRECATED -----
# Will cease to be published next major version release and subsequently removed from the catalog
#
# Use instead:
# bitops-endian
endians = "0.3.2"
# random-crypto-rand
endians = "0.3.2"
secureRandom = "0.4.0"

[libraries]
# https://github.com/KotlinCrypto/bitops
bitops-bits = { module = "org.kotlincrypto.bitops:bits", version.ref = "bitops" }
bitops-endian = { module = "org.kotlincrypto.bitops:endian", version.ref = "bitops" }
bitops-bits = { module = "org.kotlincrypto.bitops:bits", version.ref = "bitops" }
bitops-endian = { module = "org.kotlincrypto.bitops:endian", version.ref = "bitops" }

# https://github.com/KotlinCrypto/core
core-core = { module = "org.kotlincrypto.core:core", version.ref = "core" }
core-digest = { module = "org.kotlincrypto.core:digest", version.ref = "core" }
core-mac = { module = "org.kotlincrypto.core:mac", version.ref = "core" }
core-xof = { module = "org.kotlincrypto.core:xof", version.ref = "core" }
core-core = { module = "org.kotlincrypto.core:core", version.ref = "core" }
core-digest = { module = "org.kotlincrypto.core:digest", version.ref = "core" }
core-mac = { module = "org.kotlincrypto.core:mac", version.ref = "core" }
core-xof = { module = "org.kotlincrypto.core:xof", version.ref = "core" }

# https://github.com/KotlinCrypto/error
error-error = { module = "org.kotlincrypto:error", version.ref = "error" }

# https://github.com/KotlinCrypto/hash
hash-blake2 = { module = "org.kotlincrypto.hash:blake2", version.ref = "hash" }
hash-md = { module = "org.kotlincrypto.hash:md", version.ref = "hash" }
hash-sha1 = { module = "org.kotlincrypto.hash:sha1", version.ref = "hash" }
hash-sha2 = { module = "org.kotlincrypto.hash:sha2", version.ref = "hash" }
hash-sha3 = { module = "org.kotlincrypto.hash:sha3", version.ref = "hash" }
hash-blake2 = { module = "org.kotlincrypto.hash:blake2", version.ref = "hash" }
hash-md = { module = "org.kotlincrypto.hash:md", version.ref = "hash" }
hash-sha1 = { module = "org.kotlincrypto.hash:sha1", version.ref = "hash" }
hash-sha2 = { module = "org.kotlincrypto.hash:sha2", version.ref = "hash" }
hash-sha3 = { module = "org.kotlincrypto.hash:sha3", version.ref = "hash" }

# https://github.com/KotlinCrypto/MACs
macs-blake2 = { module = "org.kotlincrypto.macs:blake2", version.ref = "macs" }
macs-hmac-md = { module = "org.kotlincrypto.macs:hmac-md", version.ref = "macs" }
macs-hmac-sha1 = { module = "org.kotlincrypto.macs:hmac-sha1", version.ref = "macs" }
macs-hmac-sha2 = { module = "org.kotlincrypto.macs:hmac-sha2", version.ref = "macs" }
macs-hmac-sha3 = { module = "org.kotlincrypto.macs:hmac-sha3", version.ref = "macs" }
macs-kmac = { module = "org.kotlincrypto.macs:kmac", version.ref = "macs" }
macs-blake2 = { module = "org.kotlincrypto.macs:blake2", version.ref = "macs" }
macs-hmac-md = { module = "org.kotlincrypto.macs:hmac-md", version.ref = "macs" }
macs-hmac-sha1 = { module = "org.kotlincrypto.macs:hmac-sha1", version.ref = "macs" }
macs-hmac-sha2 = { module = "org.kotlincrypto.macs:hmac-sha2", version.ref = "macs" }
macs-hmac-sha3 = { module = "org.kotlincrypto.macs:hmac-sha3", version.ref = "macs" }
macs-kmac = { module = "org.kotlincrypto.macs:kmac", version.ref = "macs" }

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

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


# ----- DEPRECATED -----
Expand All @@ -52,5 +59,7 @@ sponges-keccak = { module = "org.kotlincrypto.sponges:keccak", version.ref = "s
# Use instead:
# core-core
# bitops-endian
core-common = { module = "org.kotlincrypto.core:core", version.ref = "core" }
endians-endians = { module = "org.kotlincrypto.endians:endians", version.ref = "endians" }
# random-crypto-rand
core-common = { module = "org.kotlincrypto.core:core", version.ref = "core" }
endians-endians = { module = "org.kotlincrypto.endians:endians", version.ref = "endians" }
secureRandom = { module = "org.kotlincrypto:secure-random", version.ref = "secureRandom" }
4 changes: 3 additions & 1 deletion stub/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ kmpConfiguration {
implementation(kotlincrypto.core.mac)
implementation(kotlincrypto.core.xof)

implementation(kotlincrypto.error.error)

implementation(kotlincrypto.hash.blake2)
implementation(kotlincrypto.hash.md)
implementation(kotlincrypto.hash.sha1)
Expand All @@ -82,7 +84,7 @@ kmpConfiguration {
implementation(kotlincrypto.macs.hmac.sha3)
implementation(kotlincrypto.macs.kmac)

implementation(kotlincrypto.secureRandom)
implementation(kotlincrypto.random.crypto.rand)

implementation(kotlincrypto.sponges.keccak)
}
Expand Down

0 comments on commit 54bcee2

Please sign in to comment.