Skip to content

Commit e1d8f6f

Browse files
committed
Prepare 0.3.0 release
1 parent 9ab9040 commit e1d8f6f

File tree

4 files changed

+36
-10
lines changed

4 files changed

+36
-10
lines changed

CHANGELOG.md

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

3+
## Version 0.3.0 (2023-06-28)
4+
- Fixes JPMS split packages [[#40]][40]
5+
- **API BREAKING CHANGES**
6+
- Package names were changed for `hmac`, `hmac-md5`, `hmac-sha1`, `hmac-sha2`, `hmac-sha3`,
7+
and `kmac` modules
8+
- Example:
9+
- `org.kotlincrypto.macs.Hmac` was moved to `org.kotlincrypto.macs.hmac.Hmac`
10+
- `org.kotlincrypto.macs.HmacSHA256` was moved to `org.kotlincrypto.macs.hmac.sha2.HmacSHA256`
11+
- `org.kotlincrypto.macs.HmacSHA3_256` was moved to `org.kotlincrypto.macs.hmac.sha3.HmacSHA3_256`
12+
- `org.kotlincrypto.macs.KMAC128` was moved to `org.kotlincrypto.macs.kmac.KMAC128`
13+
- The MavenCentral dependency `org.kotlincrypto.macs:hmac-md5` is now deprecated,
14+
in favor of `org.kotlincrypto.macs:hmac-md`
15+
- `hmac-md5` dependency now simply provides the `hmac-md` dependency and
16+
will continue to be published until the next major version release.
17+
- The following MavenCentral dependencies (previously deprecated) have
18+
been removed from publication [[#41]][41]
19+
- `org.kotlincrypto.macs:hmac-sha2-256`
20+
- `org.kotlincrypto.macs:hmac-sha2-512`
21+
- `Kmac` performance improvements [[#38]][38]
22+
- See the [ANNOUNCEMENT][discussion-3] for more information on `0.3.0` release
23+
324
## Version 0.2.7 (2023-06-09)
425
- Updates `kotlincrypto.core` to `0.2.7` [[#36]][36]
526
- Fix for Android API 23 and below where `javax.crypto.Mac.doFinal` does
@@ -62,6 +83,7 @@
6283
## Version 0.1.0 (2023-03-05)
6384
- Initial Release
6485

86+
[discussion-3]: https://github.com/orgs/KotlinCrypto/discussions/3
6587
[core-38]: https://github.com/KotlinCrypto/core/pull/38
6688
[core-44]: https://github.com/KotlinCrypto/core/pull/44
6789
[core-46]: https://github.com/KotlinCrypto/core/pull/46
@@ -72,3 +94,6 @@
7294
[32]: https://github.com/KotlinCrypto/MACs/pull/32
7395
[33]: https://github.com/KotlinCrypto/MACs/pull/33
7496
[36]: https://github.com/KotlinCrypto/MACs/pull/36
97+
[38]: https://github.com/KotlinCrypto/MACs/pull/38
98+
[40]: https://github.com/KotlinCrypto/MACs/pull/40
99+
[41]: https://github.com/KotlinCrypto/MACs/pull/41

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,18 @@ shown below.
118118
// build.gradle.kts
119119
dependencies {
120120
// define the BOM and its version
121-
implementation(platform("org.kotlincrypto.macs:bom:0.2.7"))
121+
implementation(platform("org.kotlincrypto.macs:bom:0.3.0"))
122122

123123
// define artifacts without version
124124

125125
// HmacMD5
126-
implementation("org.kotlincrypto.macs:hmac-md5")
126+
implementation("org.kotlincrypto.macs:hmac-md")
127127

128128
// HmacSHA1
129129
implementation("org.kotlincrypto.macs:hmac-sha1")
130130

131-
// HmacSHA224, HmacSHA256, HmacSHA384, HmacSHA512, HmacSHA512/224, HmacSHA512/256
131+
// HmacSHA224, HmacSHA256, HmacSHA384, HmacSHA512
132+
// HmacSHA512/t, HmacSHA512/224, HmacSHA512/256
132133
implementation("org.kotlincrypto.macs:hmac-sha2")
133134

134135
// HmacKeccak224, HmacKeccak256, HmacKeccak384, HmacKeccak512
@@ -141,13 +142,13 @@ dependencies {
141142
```
142143

143144
<!-- TAG_VERSION -->
144-
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.2.7-blue.svg?style=flat
145+
[badge-latest-release]: https://img.shields.io/badge/latest--release-0.3.0-blue.svg?style=flat
145146
[badge-license]: https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat
146147

147148
<!-- TAG_DEPENDENCIES -->
148149
[badge-kotlin]: https://img.shields.io/badge/kotlin-1.8.21-blue.svg?logo=kotlin
149-
[badge-core]: https://img.shields.io/badge/kotlincrypto.core-0.2.7-blue.svg
150-
[badge-hash]: https://img.shields.io/badge/kotlincrypto.hash-0.2.7-blue.svg
150+
[badge-core]: https://img.shields.io/badge/kotlincrypto.core-0.3.0-blue.svg
151+
[badge-hash]: https://img.shields.io/badge/kotlincrypto.hash-0.3.0-blue.svg
151152

152153
<!-- TAG_PLATFORMS -->
153154
[badge-platform-android]: http://img.shields.io/badge/-android-6EDB8D.svg?style=flat

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ POM_DEVELOPER_ID=KotlinCrypto
3434
POM_DEVELOPER_NAME=Kotlin Crypto
3535
POM_DEVELOPER_URL=https://github.com/KotlinCrypto/
3636

37-
VERSION_NAME=0.2.8-SNAPSHOT
37+
VERSION_NAME=0.3.0
3838
# 0.1.0-alpha01 = 00 01 00 11
3939
# 0.1.0-beta01 = 00 01 00 21
4040
# 0.1.0-rc01 = 00 01 00 31
4141
# 0.1.0 = 00 01 00 99
4242
# 1.1.0 = 01 01 00 99
43-
VERSION_CODE=20899
43+
VERSION_CODE=30099

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ androidxTestRunner = "1.5.2"
44
binaryCompat = "0.13.2"
55
bouncyCastle = "1.73"
66
configuration = "0.1.1"
7-
cryptoCore = "0.3.0-SNAPSHOT"
8-
cryptoHash = "0.3.0-SNAPSHOT"
7+
cryptoCore = "0.3.0"
8+
cryptoHash = "0.3.0"
99
encoding = "2.0.0"
1010
gradleVersions = "0.46.0"
1111
kotlin = "1.8.21"

0 commit comments

Comments
 (0)