From 56b7cbff4e83fc77d9888b2fe7589ace3bdb9f98 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Fri, 6 Jun 2025 14:34:03 -0700 Subject: [PATCH 1/3] Update typespec, core after release --- Cargo.lock | 10 +++++----- Cargo.toml | 10 +++++----- sdk/core/azure_core/CHANGELOG.md | 10 ++++++++++ sdk/core/azure_core/Cargo.toml | 2 +- sdk/core/azure_core_amqp/CHANGELOG.md | 10 ++++++++++ sdk/core/azure_core_amqp/Cargo.toml | 4 ++-- sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml | 2 +- sdk/typespec/CHANGELOG.md | 10 ++++++++++ sdk/typespec/Cargo.toml | 2 +- sdk/typespec/typespec_client_core/CHANGELOG.md | 10 ++++++++++ sdk/typespec/typespec_client_core/Cargo.toml | 2 +- sdk/typespec/typespec_macros/CHANGELOG.md | 10 ++++++++++ sdk/typespec/typespec_macros/Cargo.toml | 2 +- .../tests/data/safe-debug-tests/Cargo.lock | 6 +++--- 14 files changed, 70 insertions(+), 20 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0aeb88347..2dee92c217 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -155,7 +155,7 @@ checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "azure_core" -version = "0.25.0" +version = "0.26.0" dependencies = [ "async-lock", "async-trait", @@ -183,7 +183,7 @@ dependencies = [ [[package]] name = "azure_core_amqp" -version = "0.4.0" +version = "0.5.0" dependencies = [ "async-trait", "azure_core", @@ -2786,7 +2786,7 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "typespec" -version = "0.5.0" +version = "0.6.0" dependencies = [ "base64", "serde", @@ -2797,7 +2797,7 @@ dependencies = [ [[package]] name = "typespec_client_core" -version = "0.4.0" +version = "0.5.0" dependencies = [ "async-trait", "base64", @@ -2823,7 +2823,7 @@ dependencies = [ [[package]] name = "typespec_macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "cargo_metadata", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 1c9a553228..b504ed64ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,23 +33,23 @@ rust-version = "1.81" [workspace.dependencies.typespec] default-features = false path = "sdk/typespec" -version = "0.5.0" +version = "0.6.0" [workspace.dependencies.typespec_client_core] default-features = false path = "sdk/typespec/typespec_client_core" -version = "0.4.0" +version = "0.5.0" [workspace.dependencies.typespec_macros] -version = "0.4.0" +version = "0.5.0" path = "sdk/typespec/typespec_macros" [workspace.dependencies.azure_core] -version = "0.25.0" +version = "0.26.0" path = "sdk/core/azure_core" [workspace.dependencies.azure_core_amqp] -version = "0.4.0" +version = "0.5.0" path = "sdk/core/azure_core_amqp" [workspace.dependencies.azure_core_test] diff --git a/sdk/core/azure_core/CHANGELOG.md b/sdk/core/azure_core/CHANGELOG.md index 50aea592e0..ac4b04af90 100644 --- a/sdk/core/azure_core/CHANGELOG.md +++ b/sdk/core/azure_core/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 0.26.0 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 0.25.0 (2025-06-06) ### Features Added diff --git a/sdk/core/azure_core/Cargo.toml b/sdk/core/azure_core/Cargo.toml index b186284852..b1b178c55d 100644 --- a/sdk/core/azure_core/Cargo.toml +++ b/sdk/core/azure_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "azure_core" -version = "0.25.0" +version = "0.26.0" description = "Rust wrappers around Microsoft Azure REST APIs - Core crate" readme = "README.md" authors.workspace = true diff --git a/sdk/core/azure_core_amqp/CHANGELOG.md b/sdk/core/azure_core_amqp/CHANGELOG.md index 8eb4590192..4366d3eeb3 100644 --- a/sdk/core/azure_core_amqp/CHANGELOG.md +++ b/sdk/core/azure_core_amqp/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 0.5.0 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 0.4.0 (2025-06-06) ### Breaking Changes diff --git a/sdk/core/azure_core_amqp/Cargo.toml b/sdk/core/azure_core_amqp/Cargo.toml index 91b87f99c5..ff5c9304b8 100644 --- a/sdk/core/azure_core_amqp/Cargo.toml +++ b/sdk/core/azure_core_amqp/Cargo.toml @@ -3,7 +3,7 @@ # AMQP Stack for consumption by packages in the Azure SDK. [package] name = "azure_core_amqp" -version = "0.4.0" +version = "0.5.0" description = "Rust client library for the AMQP protocol" readme = "README.md" authors.workspace = true @@ -19,7 +19,7 @@ edition.workspace = true [dependencies] async-trait.workspace = true -azure_core = { path = "../azure_core", version = "0.25.0", default-features = false } +azure_core = { path = "../azure_core", default-features = false } fe2o3-amqp = { workspace = true, optional = true } fe2o3-amqp-cbs = { workspace = true, optional = true } fe2o3-amqp-ext = { workspace = true, optional = true } diff --git a/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml b/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml index f562e4c5ed..aaa52232c4 100644 --- a/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml +++ b/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml @@ -21,7 +21,7 @@ edition.workspace = true async-lock.workspace = true async-stream.workspace = true async-trait.workspace = true -azure_core = { path = "../../core/azure_core", version = "0.25.0", default-features = false } +azure_core = { path = "../../core/azure_core", default-features = false } azure_core_amqp.workspace = true futures.workspace = true rand.workspace = true diff --git a/sdk/typespec/CHANGELOG.md b/sdk/typespec/CHANGELOG.md index ebed0fa57c..7660f16087 100644 --- a/sdk/typespec/CHANGELOG.md +++ b/sdk/typespec/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 0.6.0 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 0.5.0 (2025-06-06) ## Other Changes diff --git a/sdk/typespec/Cargo.toml b/sdk/typespec/Cargo.toml index 8fd7aacca1..be69bc55b5 100644 --- a/sdk/typespec/Cargo.toml +++ b/sdk/typespec/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typespec" -version = "0.5.0" +version = "0.6.0" authors.workspace = true edition.workspace = true rust-version.workspace = true diff --git a/sdk/typespec/typespec_client_core/CHANGELOG.md b/sdk/typespec/typespec_client_core/CHANGELOG.md index 036ecfc189..c4edf1008f 100644 --- a/sdk/typespec/typespec_client_core/CHANGELOG.md +++ b/sdk/typespec/typespec_client_core/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 0.5.0 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 0.4.0 (2025-06-06) ### Features Added diff --git a/sdk/typespec/typespec_client_core/Cargo.toml b/sdk/typespec/typespec_client_core/Cargo.toml index 26b55522d7..a9396c1403 100644 --- a/sdk/typespec/typespec_client_core/Cargo.toml +++ b/sdk/typespec/typespec_client_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typespec_client_core" -version = "0.4.0" +version = "0.5.0" authors.workspace = true edition.workspace = true description = "Client runtime for TypeSpec-generated libraries." diff --git a/sdk/typespec/typespec_macros/CHANGELOG.md b/sdk/typespec/typespec_macros/CHANGELOG.md index 9aa86a4120..f64ad643d7 100644 --- a/sdk/typespec/typespec_macros/CHANGELOG.md +++ b/sdk/typespec/typespec_macros/CHANGELOG.md @@ -1,5 +1,15 @@ # Release History +## 0.5.0 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes + ## 0.4.0 (2025-06-06) ### Features Added diff --git a/sdk/typespec/typespec_macros/Cargo.toml b/sdk/typespec/typespec_macros/Cargo.toml index f8d300399c..c140072157 100644 --- a/sdk/typespec/typespec_macros/Cargo.toml +++ b/sdk/typespec/typespec_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typespec_macros" -version = "0.4.0" +version = "0.5.0" authors.workspace = true edition.workspace = true description = "Procedural macros for client libraries built on typespec." diff --git a/sdk/typespec/typespec_macros/tests/data/safe-debug-tests/Cargo.lock b/sdk/typespec/typespec_macros/tests/data/safe-debug-tests/Cargo.lock index b94a369dfa..2d4355e76f 100644 --- a/sdk/typespec/typespec_macros/tests/data/safe-debug-tests/Cargo.lock +++ b/sdk/typespec/typespec_macros/tests/data/safe-debug-tests/Cargo.lock @@ -1265,7 +1265,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "typespec" -version = "0.5.0" +version = "0.6.0" dependencies = [ "base64", "serde", @@ -1275,7 +1275,7 @@ dependencies = [ [[package]] name = "typespec_client_core" -version = "0.4.0" +version = "0.5.0" dependencies = [ "async-trait", "base64", @@ -1299,7 +1299,7 @@ dependencies = [ [[package]] name = "typespec_macros" -version = "0.4.0" +version = "0.5.0" dependencies = [ "proc-macro2", "quote", From 44a0c1de87f4ffc0daf49b69b71b6393c1dbe7ae Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Wed, 11 Jun 2025 16:21:27 -0700 Subject: [PATCH 2/3] Fix lint --- Cargo.lock | 25 +++++++++++++++---- Cargo.toml | 2 +- sdk/core/azure_core_amqp/Cargo.toml | 2 +- .../azure_messaging_eventhubs/Cargo.toml | 2 +- 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2dee92c217..9e123012af 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,11 +982,12 @@ dependencies = [ [[package]] name = "flate2" -version = "1.1.0" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11faaf5a5236997af9848be0bef4db95824b1d534ebc64d0f0c6cf3e67bd38dc" +checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" dependencies = [ "crc32fast", + "libz-rs-sys", "miniz_oxide", ] @@ -1541,6 +1542,15 @@ dependencies = [ "redox_syscall 0.5.7", ] +[[package]] +name = "libz-rs-sys" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "172a788537a2221661b480fee8dc5f96c580eb34fa88764d3205dc356c7e4221" +dependencies = [ + "zlib-rs", +] + [[package]] name = "linux-raw-sys" version = "0.4.14" @@ -3277,19 +3287,24 @@ dependencies = [ [[package]] name = "zip" -version = "2.6.1" +version = "4.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dcb24d0152526ae49b9b96c1dcf71850ca1e0b882e4e28ed898a93c41334744" +checksum = "153a6fff49d264c4babdcfa6b4d534747f520e56e8f0f384f3b808c4b64cc1fd" dependencies = [ "arbitrary", "crc32fast", - "crossbeam-utils", "flate2", "indexmap", "memchr", "zopfli", ] +[[package]] +name = "zlib-rs" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "626bd9fa9734751fc50d6060752170984d7053f5a39061f524cda68023d4db8a" + [[package]] name = "zopfli" version = "0.8.1" diff --git a/Cargo.toml b/Cargo.toml index b504ed64ee..90e708a933 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,7 +121,7 @@ tracing-subscriber = "0.3" url = "2.2" uuid = { version = "1.0", features = ["v4"] } zerofrom = "0.1.5" -zip = { version = "2.6.1", default-features = false, features = ["deflate"] } +zip = { version = "4.0.0", default-features = false, features = ["deflate"] } [workspace.lints.clippy] large_futures = "deny" diff --git a/sdk/core/azure_core_amqp/Cargo.toml b/sdk/core/azure_core_amqp/Cargo.toml index ff5c9304b8..eec7283c60 100644 --- a/sdk/core/azure_core_amqp/Cargo.toml +++ b/sdk/core/azure_core_amqp/Cargo.toml @@ -19,7 +19,7 @@ edition.workspace = true [dependencies] async-trait.workspace = true -azure_core = { path = "../azure_core", default-features = false } +azure_core = { path = "../azure_core", version = "0.26.0", default-features = false } fe2o3-amqp = { workspace = true, optional = true } fe2o3-amqp-cbs = { workspace = true, optional = true } fe2o3-amqp-ext = { workspace = true, optional = true } diff --git a/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml b/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml index aaa52232c4..a68571d9fa 100644 --- a/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml +++ b/sdk/eventhubs/azure_messaging_eventhubs/Cargo.toml @@ -21,7 +21,7 @@ edition.workspace = true async-lock.workspace = true async-stream.workspace = true async-trait.workspace = true -azure_core = { path = "../../core/azure_core", default-features = false } +azure_core = { path = "../../core/azure_core", version = "0.26.0", default-features = false } azure_core_amqp.workspace = true futures.workspace = true rand.workspace = true From 8d10794a796e15c62582d18556f64a989063929d Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Thu, 12 Jun 2025 11:00:42 -0700 Subject: [PATCH 3/3] Add Zlib to acceptable licenses Based on internal documentation, Zlib is a permissable license and should be fine. CG will alert otherwise. --- deny.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/deny.toml b/deny.toml index 2bb59870fe..40b83456e5 100644 --- a/deny.toml +++ b/deny.toml @@ -17,6 +17,7 @@ allow = [ "MIT", # "OpenSSL", "Unicode-3.0", + "Zlib", ] [[licenses.clarify]]