From 54bcee22f971308ac422d259895a3bd137a87719 Mon Sep 17 00:00:00 2001 From: Matthew Nelson Date: Sun, 9 Feb 2025 12:38:10 -0500 Subject: [PATCH] Prepare 0.6.1 release --- CHANGELOG.md | 11 +++++ README.md | 6 +-- gradle.properties | 2 +- gradle/kotlincrypto.versions.toml | 67 ++++++++++++++++++------------- stub/build.gradle.kts | 4 +- 5 files changed, 56 insertions(+), 34 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e42b4..8913354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` diff --git a/README.md b/README.md index b0b7228..4f137ae 100644 --- a/README.md +++ b/README.md @@ -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") } } } @@ -45,12 +45,12 @@ dependencies { implementation(kotlincrypto.macs.hmac.sha3) implementation(kotlincrypto.macs.kmac) - implementation(kotlincrypto.secureRandom) + implementation(kotlincrypto.random.crypto.rand) } ``` -[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 diff --git a/gradle.properties b/gradle.properties index ea00a49..c5d5b23 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/gradle/kotlincrypto.versions.toml b/gradle/kotlincrypto.versions.toml index 816344c..d81ea63 100644 --- a/gradle/kotlincrypto.versions.toml +++ b/gradle/kotlincrypto.versions.toml @@ -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 ----- @@ -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" } diff --git a/stub/build.gradle.kts b/stub/build.gradle.kts index 93597f7..8b5bac0 100644 --- a/stub/build.gradle.kts +++ b/stub/build.gradle.kts @@ -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) @@ -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) }