From b52109a2319f7ccbfcc7b486cf757aefb8ebab60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20Pr=C3=BCnster?= Date: Thu, 7 Nov 2024 20:55:57 +0100 Subject: [PATCH] release 3.10.0 --- CHANGELOG.md | 25 +++++++++++++++++++------ gradle.properties | 4 ++-- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df20aefb..0efc2934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,24 @@ ## 3.0 -### 3.10.0 NEXT (Supreme 0.5.0 NEXT) Breaking Changes Ahead! +### 3.10.0 (Supreme 0.5.0) More ~~cowbell~~ targets! +A new artifact, minor breaking changes and a lot more targets ahead! -The public API remains almost unchanged, except for some methods migrating from a ByteIterator to kotlinx-io Source, -some newly added kotlinx-io helpers and OID changes. The internals have changed substantially, however. -Be sure to match Signum versions if multiple libraries pull it in as transitive dependency. -Better safe than sorry! +The public API remains _almost_ unchanged. Breaking API changes are: + +* Some parsing methods migrating from a `ByteIterator` to kotlinx-io `Source` +* Move `ensureSize` from package `asn1` to `misc` +* Change CSR to take an actual `CryptoSignature` instead of a ByteArray +* Remove Legacy iOS Attestation +* Add type parameter to `JwsSigned` for its payload +* Add type parameter to `JweDecrypted` for its payload +* `JwsSigned.prepareSignatureInput` now returns a raw ByteArray +* Move `BitSet` from `io` to `asn1` package + +The internals have changed substantially, however, and some fixes lead to behavioural changes. +Therefore, be sure to match Signum versions if multiple libraries pull it in as transitive dependency. +Better safe than sorry! +The full list of changes is: * Discrete ASN.1 module `indispensable-asn1` supporting the following platforms: * JVM @@ -39,11 +51,12 @@ Better safe than sorry! * Introduce shorthand to create certificate from TbsCertificate * Remove requirement from CSR to have certificate extensions * Fix CoseSigned equals -* Base OIDs on BigInteger instead of UInt +* Base OIDs on unsigned varint instead of UInt * Directly support UUID-based OID creation * Implement hash-to-curve and hash-to-scalar as per RFC9380 * Rename `decodeFromDerHexString` to `parseFromDerHexString` * Move `ensureSize` from package `asn1` to `misc` +* Move `BitSet` from `io` to `asn1` package * Use kotlinx-io as primary source for parsing * Base number encoding/decoding on kotlinx-io * Remove parsing from iterator diff --git a/gradle.properties b/gradle.properties index a14205d5..91334602 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,8 +2,8 @@ kotlin.code.style=official kotlin.js.compiler=ir org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 -artifactVersion=3.10.0-SNAPSHOT -supremeVersion=0.5.0-SNAPSHOT +artifactVersion=3.10.0 +supremeVersion=0.5.0 # This is not a well-defined property, the ASP convention plugin respects it, though jdk.version=17