Skip to content

Commit aac9f52

Browse files
authored
Prepare core crates for release (#2675)
* Prepare core crates for release * Fix lint
1 parent 2e5baa3 commit aac9f52

File tree

10 files changed

+16
-27
lines changed

10 files changed

+16
-27
lines changed

.vscode/cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"typespec",
7575
"undelete",
7676
"upvote",
77+
"uninlined",
7778
"userdelegationkey",
7879
"vcpkg",
7980
"versionid",
@@ -204,4 +205,4 @@
204205
]
205206
}
206207
]
207-
}
208+
}

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ zip = { version = "2.6.1", default-features = false, features = ["deflate"] }
125125

126126
[workspace.lints.clippy]
127127
large_futures = "deny"
128+
uninlined_format_args = "allow"
128129

129130
[workspace.lints.rust]
130131
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs)'] }

sdk/core/azure_core/CHANGELOG.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 0.25.0 (Unreleased)
3+
## 0.25.0 (2025-06-06)
44

55
### Features Added
66

@@ -20,8 +20,6 @@
2020

2121
- `BearerTokenCredentialPolicy` returns an error when a proactive token refresh attempt fails
2222

23-
### Other Changes
24-
2523
## 0.24.0 (2025-05-02)
2624

2725
### Features Added

sdk/core/azure_core_amqp/CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
# Release History
22

3-
## 0.4.0 (Unreleased)
4-
5-
### Features Added
3+
## 0.4.0 (2025-06-06)
64

75
### Breaking Changes
86

97
- `AmqpClaimsBasedSecurity` now takes ownership of the associated session rather than simply referencing the associated session. This means that all CBS authentication operations should be performed on dedicated AmqpSession objects.
108

119
- `AmqpOrderedMap::iter` now iterates over references to key and value, not clones of the key and value, thus eliminating unnecessary clones.
1210

13-
### Bugs Fixed
14-
1511
### Other Changes
1612

1713
- Use the `SafeDebug` macro to hide potential PII from trace logs. The SafeDebug macro currently applies to the `AmqpApplicationProperties` and `AmqpMessageBody` types.

sdk/core/azure_core_test/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ uuid.workspace = true
6060

6161
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
6262
tokio = { workspace = true, features = ["signal"] }
63+
64+
[lints]
65+
workspace = true

sdk/eventhubs/azure_messaging_eventhubs/src/event_processor/load_balancer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl LoadBalancer {
6767
}
6868
}
6969

70-
fn rng(&self) -> Result<MutexGuard<Box<dyn RngCore + Send + Sync>>> {
70+
fn rng(&self) -> Result<MutexGuard<'_, Box<dyn RngCore + Send + Sync>>> {
7171
self.rng
7272
.lock()
7373
.map_err(|_| Error::message(AzureErrorKind::Other, "Failed to lock RNG mutex"))

sdk/eventhubs/azure_messaging_eventhubs/src/producer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ impl ProducerClient {
257257
pub async fn create_batch(
258258
&self,
259259
batch_options: Option<EventDataBatchOptions>,
260-
) -> Result<EventDataBatch> {
260+
) -> Result<EventDataBatch<'_>> {
261261
let mut batch = EventDataBatch::new(self, batch_options);
262262

263263
batch.attach().await?;

sdk/typespec/CHANGELOG.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Release History
22

3-
## 0.5.0 (Unreleased)
3+
## 0.5.0 (2025-06-06)
44

5-
### Features Added
6-
7-
### Breaking Changes
5+
## Other Changes
86

9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Updated dependencies.
128

139
## 0.4.0 (2025-05-02)
1410

sdk/typespec/typespec_client_core/CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 0.4.0 (Unreleased)
3+
## 0.4.0 (2025-06-06)
44

55
### Features Added
66

@@ -14,10 +14,6 @@
1414
- Removed the `Model` trait and replaced it with `Response<T, F>`, which moves the "format" information (JSON/XML/etc.) from the model to the service client method's return type. This allows for more flexibility in handling different response formats and user data types in Responses.
1515
- Split `Response` into `Response<T, F>` and `RawResponse` (which carries the raw response data without a specific format).
1616

17-
### Bugs Fixed
18-
19-
### Other Changes
20-
2117
## 0.3.0 (2025-05-02)
2218

2319
### Breaking Changes

sdk/typespec/typespec_macros/CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
# Release History
22

3-
## 0.4.0 (Unreleased)
3+
## 0.4.0 (2025-06-06)
44

55
### Features Added
66

77
- Added `#[safe]` attribute helper for `SafeDebug` derive macro to show or hide types and members as appropriate.
88

99
### Breaking Changes
1010

11-
### Bugs Fixed
12-
13-
### Other Changes
11+
- Removed `Model` derive macro.
1412

1513
## 0.3.0 (2025-05-02)
1614

0 commit comments

Comments
 (0)