From b487bdfc805085191698f92593c884319e368241 Mon Sep 17 00:00:00 2001 From: vanderbr <11340250+vanderbr@users.noreply.github.com> Date: Tue, 1 Dec 2026 15:04:06 +0000 Subject: [PATCH] Prepare Swift package 0.4.7 --- Cargo.lock | 28 +++++++++---------- Package.swift | 4 +-- crates/adapter/Cargo.toml | 6 ++-- crates/base64/Cargo.toml | 4 +-- crates/base64url/Cargo.toml | 2 +- crates/cbor/Cargo.toml | 4 +-- crates/codec/Cargo.toml | 22 +++++++-------- crates/codec/tests/expanded_contract_tests.rs | 2 +- crates/ffi/Cargo.toml | 8 +++--- crates/hex/Cargo.toml | 2 +- crates/jcs/Cargo.toml | 2 +- crates/multibase/Cargo.toml | 4 +-- crates/multicodec/Cargo.toml | 2 +- crates/multikey/Cargo.toml | 8 +++--- crates/pem/Cargo.toml | 4 +-- crates/proto/Cargo.toml | 2 +- crates/wasm/Cargo.toml | 8 +++--- fuzz/Cargo.lock | 22 +++++++-------- packages/kotlin-android/build.gradle.kts | 2 +- .../consumer-r8-runtime/build.gradle.kts | 2 +- packages/kotlin/build.gradle.kts | 2 +- .../codec/ReallyMeCodecRustNativeProvider.kt | 2 +- .../really/codec/NativeProviderSafetyTest.kt | 3 +- .../ReallyMeCodec/CallCodecWithRustCAbi.swift | 2 +- .../ProviderSafetyTests.swift | 4 +-- packages/ts/package-lock.json | 4 +-- packages/ts/package.json | 2 +- probes/der-feature-unification/Cargo.lock | 6 ++-- probes/der-feature-unification/Cargo.toml | 2 +- probes/jcs-feature-unification/Cargo.lock | 4 +-- probes/jcs-feature-unification/Cargo.toml | 2 +- scripts/check_release_readiness.mjs | 10 ++++--- scripts/run_pinned_release_readiness.mjs | 2 +- 33 files changed, 93 insertions(+), 90 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e872e4f..8bbb6c7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -638,7 +638,7 @@ dependencies = [ [[package]] name = "reallyme-codec" -version = "0.4.6" +version = "0.4.7" dependencies = [ "der", "proptest", @@ -662,7 +662,7 @@ dependencies = [ [[package]] name = "reallyme-codec-adapter" -version = "0.4.6" +version = "0.4.7" dependencies = [ "reallyme-codec", "reallyme-codec-multibase", @@ -670,7 +670,7 @@ dependencies = [ [[package]] name = "reallyme-codec-base64" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "reallyme-codec-proto", @@ -680,7 +680,7 @@ dependencies = [ [[package]] name = "reallyme-codec-base64url" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "serde", @@ -691,7 +691,7 @@ dependencies = [ [[package]] name = "reallyme-codec-cbor" -version = "0.4.6" +version = "0.4.7" dependencies = [ "cid", "half", @@ -708,7 +708,7 @@ dependencies = [ [[package]] name = "reallyme-codec-ffi" -version = "0.4.6" +version = "0.4.7" dependencies = [ "jni", "reallyme-buffa", @@ -720,7 +720,7 @@ dependencies = [ [[package]] name = "reallyme-codec-hex" -version = "0.4.6" +version = "0.4.7" dependencies = [ "thiserror", "zeroize", @@ -728,7 +728,7 @@ dependencies = [ [[package]] name = "reallyme-codec-jcs" -version = "0.4.6" +version = "0.4.7" dependencies = [ "itoa", "ryu-js", @@ -741,7 +741,7 @@ dependencies = [ [[package]] name = "reallyme-codec-multibase" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "bs58", @@ -752,14 +752,14 @@ dependencies = [ [[package]] name = "reallyme-codec-multicodec" -version = "0.4.6" +version = "0.4.7" dependencies = [ "thiserror", ] [[package]] name = "reallyme-codec-multikey" -version = "0.4.6" +version = "0.4.7" dependencies = [ "reallyme-codec-base64url", "reallyme-codec-multibase", @@ -770,7 +770,7 @@ dependencies = [ [[package]] name = "reallyme-codec-pem" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "pem", @@ -782,7 +782,7 @@ dependencies = [ [[package]] name = "reallyme-codec-proto" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "reallyme-buffa", @@ -795,7 +795,7 @@ dependencies = [ [[package]] name = "reallyme-codec-wasm" -version = "0.4.6" +version = "0.4.7" dependencies = [ "js-sys", "reallyme-codec", diff --git a/Package.swift b/Package.swift index ebc2618..65cdd32 100644 --- a/Package.swift +++ b/Package.swift @@ -22,9 +22,9 @@ let ffiArtifactChecksumPlaceholder = "0000000000000000000000000000000000000000000000000000000000000000" // Keep the binary dependency disabled until preflight binds the matching archive. let ffiArtifactChecksum = "0000000000000000000000000000000000000000000000000000000000000000" -let ffiArtifactVersion = "0.4.6" +let ffiArtifactVersion = "0.4.7" let ffiArtifactLocalPathOverride = "" -let packageVersion = "0.4.6" +let packageVersion = "0.4.7" let hasReleasedFfiArtifact = ffiArtifactChecksum != ffiArtifactChecksumPlaceholder && ffiArtifactVersion == packageVersion let useRuntimeFfiProvider = diff --git a/crates/adapter/Cargo.toml b/crates/adapter/Cargo.toml index 583ace8..b990434 100644 --- a/crates/adapter/Cargo.toml +++ b/crates/adapter/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-adapter" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -13,10 +13,10 @@ publish.workspace = true description = "Internal scalar policy for ReallyMe codec boundaries." [dependencies] -codec-runtime = { package = "reallyme-codec", version = "=0.4.6", path = "../codec", default-features = false, features = ["operation-contract"] } +codec-runtime = { package = "reallyme-codec", version = "=0.4.7", path = "../codec", default-features = false, features = ["operation-contract"] } [dev-dependencies] -codec-multibase = { package = "reallyme-codec-multibase", version = "=0.4.6", path = "../multibase" } +codec-multibase = { package = "reallyme-codec-multibase", version = "=0.4.7", path = "../multibase" } [lints] workspace = true diff --git a/crates/base64/Cargo.toml b/crates/base64/Cargo.toml index c76780b..6de6b98 100644 --- a/crates/base64/Cargo.toml +++ b/crates/base64/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-base64" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -17,7 +17,7 @@ include = ["/src/**/*.rs", "/tests/**/*.rs", "/Cargo.toml", "/LICENSE", "/NOTICE name = "codec_base64" [dependencies] -codec-proto = { package = "reallyme-codec-proto", version = "=0.4.6", path = "../proto", default-features = false, features = ["generated"] } +codec-proto = { package = "reallyme-codec-proto", version = "=0.4.7", path = "../proto", default-features = false, features = ["generated"] } base64 = { workspace = true } thiserror = { workspace = true } zeroize = { workspace = true } diff --git a/crates/base64url/Cargo.toml b/crates/base64url/Cargo.toml index 968386a..3141eef 100644 --- a/crates/base64url/Cargo.toml +++ b/crates/base64url/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-base64url" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true diff --git a/crates/cbor/Cargo.toml b/crates/cbor/Cargo.toml index bdb0168..31c47b1 100644 --- a/crates/cbor/Cargo.toml +++ b/crates/cbor/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-cbor" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -18,7 +18,7 @@ name = "codec_cbor" [dependencies] buffa.workspace = true -codec-proto = { package = "reallyme-codec-proto", version = "=0.4.6", path = "../proto", features = ["generated"] } +codec-proto = { package = "reallyme-codec-proto", version = "=0.4.7", path = "../proto", features = ["generated"] } half = { workspace = true } cid = { workspace = true } multihash = { workspace = true } diff --git a/crates/codec/Cargo.toml b/crates/codec/Cargo.toml index e441417..abcc9e0 100644 --- a/crates/codec/Cargo.toml +++ b/crates/codec/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -15,16 +15,16 @@ readme = "README.md" include = ["/src/**/*.rs", "/Cargo.toml", "/README.md", "/LICENSE", "/NOTICE"] [dependencies] -codec-base64 = { package = "reallyme-codec-base64", version = "=0.4.6", path = "../base64", optional = true } -codec-base64url = { package = "reallyme-codec-base64url", version = "=0.4.6", path = "../base64url", optional = true } -codec-cbor = { package = "reallyme-codec-cbor", version = "=0.4.6", path = "../cbor", optional = true } -codec-hex = { package = "reallyme-codec-hex", version = "=0.4.6", path = "../hex", optional = true } -codec-jcs = { package = "reallyme-codec-jcs", version = "=0.4.6", path = "../jcs", optional = true } -codec-multibase = { package = "reallyme-codec-multibase", version = "=0.4.6", path = "../multibase", optional = true } -codec-multicodec = { package = "reallyme-codec-multicodec", version = "=0.4.6", path = "../multicodec", optional = true } -codec-multikey = { package = "reallyme-codec-multikey", version = "=0.4.6", path = "../multikey", optional = true } -codec-pem = { package = "reallyme-codec-pem", version = "=0.4.6", path = "../pem", optional = true } -codec-proto = { package = "reallyme-codec-proto", version = "=0.4.6", path = "../proto", default-features = false, features = ["generated"], optional = true } +codec-base64 = { package = "reallyme-codec-base64", version = "=0.4.7", path = "../base64", optional = true } +codec-base64url = { package = "reallyme-codec-base64url", version = "=0.4.7", path = "../base64url", optional = true } +codec-cbor = { package = "reallyme-codec-cbor", version = "=0.4.7", path = "../cbor", optional = true } +codec-hex = { package = "reallyme-codec-hex", version = "=0.4.7", path = "../hex", optional = true } +codec-jcs = { package = "reallyme-codec-jcs", version = "=0.4.7", path = "../jcs", optional = true } +codec-multibase = { package = "reallyme-codec-multibase", version = "=0.4.7", path = "../multibase", optional = true } +codec-multicodec = { package = "reallyme-codec-multicodec", version = "=0.4.7", path = "../multicodec", optional = true } +codec-multikey = { package = "reallyme-codec-multikey", version = "=0.4.7", path = "../multikey", optional = true } +codec-pem = { package = "reallyme-codec-pem", version = "=0.4.7", path = "../pem", optional = true } +codec-proto = { package = "reallyme-codec-proto", version = "=0.4.7", path = "../proto", default-features = false, features = ["generated"], optional = true } buffa = { workspace = true, optional = true } der-core = { workspace = true, optional = true } thiserror = { workspace = true, optional = true } diff --git a/crates/codec/tests/expanded_contract_tests.rs b/crates/codec/tests/expanded_contract_tests.rs index 92c4811..f3c4de4 100644 --- a/crates/codec/tests/expanded_contract_tests.rs +++ b/crates/codec/tests/expanded_contract_tests.rs @@ -119,7 +119,7 @@ fn scalar_contract_matches_independent_literals() { result.package_minor, result.package_patch ), - (0, 4, 6) + (0, 4, 7) ); } diff --git a/crates/ffi/Cargo.toml b/crates/ffi/Cargo.toml index 6d5e684..e3d9033 100644 --- a/crates/ffi/Cargo.toml +++ b/crates/ffi/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-ffi" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -20,9 +20,9 @@ default = ["jni"] jni = ["dep:jni"] [dependencies] -codec-adapter = { package = "reallyme-codec-adapter", version = "=0.4.6", path = "../adapter" } -codec-proto = { package = "reallyme-codec-proto", version = "=0.4.6", path = "../proto", features = ["generated"] } -codec-runtime = { package = "reallyme-codec", version = "=0.4.6", path = "../codec", default-features = false, features = ["operation-contract"] } +codec-adapter = { package = "reallyme-codec-adapter", version = "=0.4.7", path = "../adapter" } +codec-proto = { package = "reallyme-codec-proto", version = "=0.4.7", path = "../proto", features = ["generated"] } +codec-runtime = { package = "reallyme-codec", version = "=0.4.7", path = "../codec", default-features = false, features = ["operation-contract"] } jni = { workspace = true, optional = true } zeroize = { workspace = true } diff --git a/crates/hex/Cargo.toml b/crates/hex/Cargo.toml index 9dcd127..3cabd91 100644 --- a/crates/hex/Cargo.toml +++ b/crates/hex/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-hex" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true diff --git a/crates/jcs/Cargo.toml b/crates/jcs/Cargo.toml index de917a0..bdc8af0 100644 --- a/crates/jcs/Cargo.toml +++ b/crates/jcs/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-jcs" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true diff --git a/crates/multibase/Cargo.toml b/crates/multibase/Cargo.toml index 63e9562..2e1b521 100644 --- a/crates/multibase/Cargo.toml +++ b/crates/multibase/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-multibase" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -19,7 +19,7 @@ name = "codec_multibase" [dependencies] base64 = { workspace = true } bs58 = { workspace = true } -codec-base64url = { package = "reallyme-codec-base64url", version = "=0.4.6", path = "../base64url" } +codec-base64url = { package = "reallyme-codec-base64url", version = "=0.4.7", path = "../base64url" } thiserror = { workspace = true } zeroize = { workspace = true } diff --git a/crates/multicodec/Cargo.toml b/crates/multicodec/Cargo.toml index bfaf64b..ac1dc71 100644 --- a/crates/multicodec/Cargo.toml +++ b/crates/multicodec/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-multicodec" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true diff --git a/crates/multikey/Cargo.toml b/crates/multikey/Cargo.toml index d8135be..37e390f 100644 --- a/crates/multikey/Cargo.toml +++ b/crates/multikey/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-multikey" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -17,13 +17,13 @@ include = ["/src/**/*.rs", "/tests/**/*.rs", "/Cargo.toml", "/LICENSE", "/NOTICE name = "codec_multikey" [dependencies] -codec-multibase = { package = "reallyme-codec-multibase", version = "=0.4.6", path = "../multibase" } -codec-multicodec = { package = "reallyme-codec-multicodec", version = "=0.4.6", path = "../multicodec" } +codec-multibase = { package = "reallyme-codec-multibase", version = "=0.4.7", path = "../multibase" } +codec-multicodec = { package = "reallyme-codec-multicodec", version = "=0.4.7", path = "../multicodec" } thiserror = { workspace = true } zeroize = { workspace = true } [dev-dependencies] -codec-base64url = { package = "reallyme-codec-base64url", version = "=0.4.6", path = "../base64url" } +codec-base64url = { package = "reallyme-codec-base64url", version = "=0.4.7", path = "../base64url" } [lints] workspace = true diff --git a/crates/pem/Cargo.toml b/crates/pem/Cargo.toml index 6324b4c..a96a8e8 100644 --- a/crates/pem/Cargo.toml +++ b/crates/pem/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-pem" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true @@ -18,7 +18,7 @@ include = ["/src/**/*.rs", "/tests/**/*.rs", "/Cargo.toml", "/README.md", "/LICE name = "codec_pem" [dependencies] -codec-proto = { package = "reallyme-codec-proto", version = "=0.4.6", path = "../proto", features = ["generated"] } +codec-proto = { package = "reallyme-codec-proto", version = "=0.4.7", path = "../proto", features = ["generated"] } base64 = { workspace = true } thiserror = { workspace = true } zeroize = { workspace = true } diff --git a/crates/proto/Cargo.toml b/crates/proto/Cargo.toml index d30a9ecb..e1d4952 100644 --- a/crates/proto/Cargo.toml +++ b/crates/proto/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-proto" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true license.workspace = true diff --git a/crates/wasm/Cargo.toml b/crates/wasm/Cargo.toml index 32e0c0e..779fe2f 100644 --- a/crates/wasm/Cargo.toml +++ b/crates/wasm/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-codec-wasm" -version = "0.4.6" +version = "0.4.7" edition.workspace = true rust-version.workspace = true publish.workspace = true @@ -16,9 +16,9 @@ description = "WASM bindings for the ReallyMe TypeScript codec package." crate-type = ["cdylib", "rlib"] [dependencies] -codec-adapter = { package = "reallyme-codec-adapter", version = "=0.4.6", path = "../adapter" } -codec-proto = { package = "reallyme-codec-proto", version = "=0.4.6", path = "../proto", default-features = false, features = ["generated"] } -codec-core = { package = "reallyme-codec", version = "=0.4.6", path = "../codec", default-features = false, features = ["operation-contract"] } +codec-adapter = { package = "reallyme-codec-adapter", version = "=0.4.7", path = "../adapter" } +codec-proto = { package = "reallyme-codec-proto", version = "=0.4.7", path = "../proto", default-features = false, features = ["generated"] } +codec-core = { package = "reallyme-codec", version = "=0.4.7", path = "../codec", default-features = false, features = ["operation-contract"] } js-sys = { workspace = true } wasm-bindgen = { workspace = true } zeroize = { workspace = true } diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index b39b68a..2db7dcf 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "reallyme-codec" -version = "0.4.6" +version = "0.4.7" dependencies = [ "der", "reallyme-buffa", @@ -505,7 +505,7 @@ dependencies = [ [[package]] name = "reallyme-codec-base64" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "reallyme-codec-proto", @@ -515,7 +515,7 @@ dependencies = [ [[package]] name = "reallyme-codec-base64url" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "thiserror", @@ -524,7 +524,7 @@ dependencies = [ [[package]] name = "reallyme-codec-cbor" -version = "0.4.6" +version = "0.4.7" dependencies = [ "cid", "half", @@ -539,7 +539,7 @@ dependencies = [ [[package]] name = "reallyme-codec-hex" -version = "0.4.6" +version = "0.4.7" dependencies = [ "thiserror", "zeroize", @@ -547,7 +547,7 @@ dependencies = [ [[package]] name = "reallyme-codec-jcs" -version = "0.4.6" +version = "0.4.7" dependencies = [ "itoa", "ryu-js", @@ -559,7 +559,7 @@ dependencies = [ [[package]] name = "reallyme-codec-multibase" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "bs58", @@ -570,14 +570,14 @@ dependencies = [ [[package]] name = "reallyme-codec-multicodec" -version = "0.4.6" +version = "0.4.7" dependencies = [ "thiserror", ] [[package]] name = "reallyme-codec-multikey" -version = "0.4.6" +version = "0.4.7" dependencies = [ "reallyme-codec-multibase", "reallyme-codec-multicodec", @@ -587,7 +587,7 @@ dependencies = [ [[package]] name = "reallyme-codec-pem" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "reallyme-codec-proto", @@ -597,7 +597,7 @@ dependencies = [ [[package]] name = "reallyme-codec-proto" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "reallyme-buffa", diff --git a/packages/kotlin-android/build.gradle.kts b/packages/kotlin-android/build.gradle.kts index ea9da9c..a56758a 100644 --- a/packages/kotlin-android/build.gradle.kts +++ b/packages/kotlin-android/build.gradle.kts @@ -16,7 +16,7 @@ plugins { } group = "me.really" -version = "0.4.6" +version = "0.4.7" // AGP's publication component reads these generated configurations, rather diff --git a/packages/kotlin-android/consumer-r8-runtime/build.gradle.kts b/packages/kotlin-android/consumer-r8-runtime/build.gradle.kts index f831ecb..1bc7b0e 100644 --- a/packages/kotlin-android/consumer-r8-runtime/build.gradle.kts +++ b/packages/kotlin-android/consumer-r8-runtime/build.gradle.kts @@ -15,7 +15,7 @@ android { minSdk = 24 targetSdk = 37 versionCode = 1 - versionName = "0.4.6" + versionName = "0.4.7" } compileOptions { diff --git a/packages/kotlin/build.gradle.kts b/packages/kotlin/build.gradle.kts index 79dfe2a..1e232b7 100644 --- a/packages/kotlin/build.gradle.kts +++ b/packages/kotlin/build.gradle.kts @@ -20,7 +20,7 @@ plugins { } group = "me.really" -version = "0.4.6" +version = "0.4.7" // The JVM jar and Android AAR expose the same me.really.codec classes. // The shared capability makes Gradle reject a graph containing both. diff --git a/packages/kotlin/src/main/kotlin/me/really/codec/ReallyMeCodecRustNativeProvider.kt b/packages/kotlin/src/main/kotlin/me/really/codec/ReallyMeCodecRustNativeProvider.kt index df62a76..4bb1f93 100644 --- a/packages/kotlin/src/main/kotlin/me/really/codec/ReallyMeCodecRustNativeProvider.kt +++ b/packages/kotlin/src/main/kotlin/me/really/codec/ReallyMeCodecRustNativeProvider.kt @@ -26,7 +26,7 @@ public object ReallyMeCodecRustNativeProvider { private const val EXPECTED_CODEC_ABI_VERSION: Int = 6 private const val EXPECTED_CODEC_PACKAGE_MAJOR: Int = 0 private const val EXPECTED_CODEC_PACKAGE_MINOR: Int = 4 - private const val EXPECTED_CODEC_PACKAGE_PATCH: Int = 6 + private const val EXPECTED_CODEC_PACKAGE_PATCH: Int = 7 private const val MAX_MANAGED_FFI_LIMIT_BYTES: Long = Int.MAX_VALUE.toLong() private const val ALLOW_UNVERIFIED_NATIVE_PROPERTY: String = "reallyme.codec.allowUnverifiedNative" diff --git a/packages/kotlin/src/test/kotlin/me/really/codec/NativeProviderSafetyTest.kt b/packages/kotlin/src/test/kotlin/me/really/codec/NativeProviderSafetyTest.kt index 4e609ad..47b4f00 100644 --- a/packages/kotlin/src/test/kotlin/me/really/codec/NativeProviderSafetyTest.kt +++ b/packages/kotlin/src/test/kotlin/me/really/codec/NativeProviderSafetyTest.kt @@ -45,7 +45,8 @@ class NativeProviderSafetyTest { assertFalse(ReallyMeCodecRustNativeProvider.isCompatibleAbiVersion(5)) assertFalse(ReallyMeCodecRustNativeProvider.isCompatibleAbiVersion(0)) - assertTrue(ReallyMeCodecRustNativeProvider.isCompatiblePackageVersion(0, 4, 6)) + assertTrue(ReallyMeCodecRustNativeProvider.isCompatiblePackageVersion(0, 4, 7)) + assertFalse(ReallyMeCodecRustNativeProvider.isCompatiblePackageVersion(0, 4, 6)) assertFalse(ReallyMeCodecRustNativeProvider.isCompatiblePackageVersion(0, 4, 5)) assertFalse(ReallyMeCodecRustNativeProvider.isCompatiblePackageVersion(0, 4, 4)) assertFalse(ReallyMeCodecRustNativeProvider.isCompatiblePackageVersion(0, 4, 3)) diff --git a/packages/swift/Sources/ReallyMeCodec/CallCodecWithRustCAbi.swift b/packages/swift/Sources/ReallyMeCodec/CallCodecWithRustCAbi.swift index dc09521..8a28450 100644 --- a/packages/swift/Sources/ReallyMeCodec/CallCodecWithRustCAbi.swift +++ b/packages/swift/Sources/ReallyMeCodec/CallCodecWithRustCAbi.swift @@ -13,7 +13,7 @@ import Foundation private let expectedCodecAbiVersion: UInt32 = 6 private let expectedCodecPackageMajor: UInt32 = 0 private let expectedCodecPackageMinor: UInt32 = 4 -private let expectedCodecPackagePatch: UInt32 = 6 +private let expectedCodecPackagePatch: UInt32 = 7 // Shared transport cap includes JSON expansion and operation framing. Its value // is derived and checked by scripts/generate_codec_limits.mjs. private let maxProtoJsonRequestLength = 22_373_720 diff --git a/packages/swift/Tests/ReallyMeCodecTests/ProviderSafetyTests.swift b/packages/swift/Tests/ReallyMeCodecTests/ProviderSafetyTests.swift index 50fe4b2..5d7aab0 100644 --- a/packages/swift/Tests/ReallyMeCodecTests/ProviderSafetyTests.swift +++ b/packages/swift/Tests/ReallyMeCodecTests/ProviderSafetyTests.swift @@ -131,11 +131,11 @@ extension ReallyMeCodecTests { try ReallyMeCodecRustCAbiProvider.requireCompatiblePackageVersion( major: 0, minor: 4, - patch: 6 + patch: 7 ) let rejectedVersions: [(UInt32, UInt32, UInt32)] = [ (0, 3, 0), (0, 4, 0), (0, 4, 1), (0, 4, 2), (0, 4, 3), (0, 4, 4), (0, 4, 5), (1, 4, 4), - (0, 3, 6), + (0, 3, 6), (0, 4, 6), ] for version in rejectedVersions { Self.assertCodecError( diff --git a/packages/ts/package-lock.json b/packages/ts/package-lock.json index 0e70e28..f76a626 100644 --- a/packages/ts/package-lock.json +++ b/packages/ts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@reallyme/codec", - "version": "0.4.6", + "version": "0.4.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@reallyme/codec", - "version": "0.4.6", + "version": "0.4.7", "license": "MIT OR Apache-2.0", "dependencies": { "@bufbuild/protobuf": "2.17.0" diff --git a/packages/ts/package.json b/packages/ts/package.json index 9544e7c..4128188 100644 --- a/packages/ts/package.json +++ b/packages/ts/package.json @@ -1,6 +1,6 @@ { "name": "@reallyme/codec", - "version": "0.4.6", + "version": "0.4.7", "description": "TypeScript facade for the ReallyMe codec WASM package.", "license": "MIT OR Apache-2.0", "sideEffects": false, diff --git a/probes/der-feature-unification/Cargo.lock b/probes/der-feature-unification/Cargo.lock index de2638e..eaed681 100644 --- a/probes/der-feature-unification/Cargo.lock +++ b/probes/der-feature-unification/Cargo.lock @@ -104,7 +104,7 @@ dependencies = [ [[package]] name = "reallyme-codec" -version = "0.4.6" +version = "0.4.7" dependencies = [ "der", "reallyme-codec-proto", @@ -113,7 +113,7 @@ dependencies = [ [[package]] name = "reallyme-codec-proto" -version = "0.4.6" +version = "0.4.7" dependencies = [ "base64", "reallyme-buffa", @@ -125,7 +125,7 @@ dependencies = [ [[package]] name = "reallyme-der-feature-unification-probe" -version = "0.4.6" +version = "0.4.7" dependencies = [ "der", "reallyme-codec", diff --git a/probes/der-feature-unification/Cargo.toml b/probes/der-feature-unification/Cargo.toml index 6aa01a7..6003550 100644 --- a/probes/der-feature-unification/Cargo.toml +++ b/probes/der-feature-unification/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-der-feature-unification-probe" -version = "0.4.6" +version = "0.4.7" edition = "2021" publish = false license = "MIT OR Apache-2.0" diff --git a/probes/jcs-feature-unification/Cargo.lock b/probes/jcs-feature-unification/Cargo.lock index d86f2cc..ee95ec5 100644 --- a/probes/jcs-feature-unification/Cargo.lock +++ b/probes/jcs-feature-unification/Cargo.lock @@ -62,7 +62,7 @@ dependencies = [ [[package]] name = "reallyme-codec-jcs" -version = "0.4.6" +version = "0.4.7" dependencies = [ "itoa", "ryu-js", @@ -74,7 +74,7 @@ dependencies = [ [[package]] name = "reallyme-jcs-feature-unification-probe" -version = "0.4.6" +version = "0.4.7" dependencies = [ "reallyme-codec-jcs", "serde_json", diff --git a/probes/jcs-feature-unification/Cargo.toml b/probes/jcs-feature-unification/Cargo.toml index 436ed5c..e940862 100644 --- a/probes/jcs-feature-unification/Cargo.toml +++ b/probes/jcs-feature-unification/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "reallyme-jcs-feature-unification-probe" -version = "0.4.6" +version = "0.4.7" edition = "2021" publish = false diff --git a/scripts/check_release_readiness.mjs b/scripts/check_release_readiness.mjs index 6f49f77..672fddd 100644 --- a/scripts/check_release_readiness.mjs +++ b/scripts/check_release_readiness.mjs @@ -376,8 +376,10 @@ for (const workflow of [".github/workflows/fuzz.yml", ".github/workflows/fuzz-sc }); } -const codecPackageVersion = "0.4.6"; -const codecProtoPackageVersion = "0.4.6"; +const codecPackageVersion = "0.4.7"; +const codecProtoPackageVersion = "0.4.7"; +// Installation examples must use the version available on crates.io. +const publishedRustPackageVersion = "0.4.6"; assertContains("Package.swift", `let ffiArtifactVersion = "${codecPackageVersion}"`); // The probes are separate Cargo workspaces. Root workspace metadata cannot // detect a release bump that leaves their own lockfile package entries stale. @@ -467,7 +469,7 @@ assertContains( "crates/codec/Cargo.toml", 'include = ["/src/**/*.rs", "/Cargo.toml", "/README.md", "/LICENSE", "/NOTICE"]', ); -assertContains("crates/codec/README.md", `reallyme-codec = "${codecPackageVersion}"`); +assertContains("crates/codec/README.md", `reallyme-codec = "${publishedRustPackageVersion}"`); assertContains("crates/ffi/Cargo.toml", 'name = "reallyme-codec-ffi"'); assertContains("Cargo.toml", "publish = false"); @@ -927,7 +929,7 @@ assertContains( ); assertContains( "crates/proto/README.md", - `reallyme-codec-proto = { version = "${codecProtoPackageVersion}", features = ["generated"] }`, + `reallyme-codec-proto = { version = "${publishedRustPackageVersion}", features = ["generated"] }`, ); assertProtoContract("crates/proto/proto/reallyme/codec/v1/codec.proto"); if (findManualProtoPresenceFields(readText("crates/proto/proto/reallyme/codec/v1/codec.proto")).length !== 0) { diff --git a/scripts/run_pinned_release_readiness.mjs b/scripts/run_pinned_release_readiness.mjs index 685bff7..ba4558b 100644 --- a/scripts/run_pinned_release_readiness.mjs +++ b/scripts/run_pinned_release_readiness.mjs @@ -16,7 +16,7 @@ const RELEASE_READINESS_COMMIT = "6846528ed9ada3f1d2a0d34004b01e9a8dcf053d"; const RELEASE_READINESS_CORE_SHA256 = "9dedc519becfd603a797bd97d892fac35b0f74f7bcec8aa9b910a325f2fa8850"; const LOCAL_CHECKER_SHA256 = - "e77f4451521024920e7c6fcd041bfeda2f4e3c4ad0d50ac33e57c6593f434cf7"; + "4e1cd8fae0fdfbba2474e92c9b323f945ff06f831243e3fb95d77aaaed718b56"; const RELEASE_READINESS_CORE_URL = `https://raw.githubusercontent.com/reallyme/release-readiness/${RELEASE_READINESS_COMMIT}/core.mjs`; const RELEASE_READINESS_RUNNER_SHA256 =