From dbb2c016460e3fa0e2203b1043f606b597740071 Mon Sep 17 00:00:00 2001 From: Matthew Nelson Date: Tue, 28 Mar 2023 12:10:46 -0400 Subject: [PATCH] Prepare 0.2.0 release --- CHANGELOG.md | 8 +++++++- README.md | 6 +++--- gradle.properties | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83edb24..e672b9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # CHANGELOG -## Version 0.1.0 (2023-03-06) +## Version 0.2.0 (2023-03-28) + - **BREAKING CHANGE:** + - `Digest.compress` function was changed to also include an offset. + This drastically improves performance by mitigating excessive/unnecessary + array copying. + +## Version 0.1.1 (2023-03-06) - Fix `Digest.update` miscalculation when `offset` parameter is provided ## Version 0.1.0 (2023-03-04) diff --git a/README.md b/README.md index 75a8654..190c00a 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ If you are looking for Mac algorithms (e.g. `HmacSHA256`, `HmacSHA512`, etc), se ```kotlin // build.gradle.kts dependencies { - val core = "0.1.1" + val core = "0.2.0" implementation("org.kotlincrypto.core:digest:$core") implementation("org.kotlincrypto.core:mac:$core") } @@ -49,14 +49,14 @@ dependencies { ```groovy // build.gradle dependencies { - def core = "0.1.1" + def core = "0.2.0" implementation "org.kotlincrypto.core:digest:$core" implementation "org.kotlincrypto.core:mac:$core" } ``` -[badge-latest-release]: https://img.shields.io/badge/latest--release-0.1.1-blue.svg?style=flat +[badge-latest-release]: https://img.shields.io/badge/latest--release-0.2.0-blue.svg?style=flat [badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat diff --git a/gradle.properties b/gradle.properties index 2ad640f..c9c64bc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -29,10 +29,10 @@ POM_DEVELOPER_ID=KotlinCrypto POM_DEVELOPER_NAME=Kotlin Crypto POM_DEVELOPER_URL=https://github.com/KotlinCrypto/ -VERSION_NAME=0.1.2-SNAPSHOT +VERSION_NAME=0.2.0 # 0.1.0-alpha01 = 00 01 00 11 # 0.1.0-beta01 = 00 01 00 21 # 0.1.0-rc01 = 00 01 00 31 # 0.1.0 = 00 01 00 99 # 1.1.0 = 01 01 00 99 -VERSION_CODE=10299 +VERSION_CODE=20099