Skip to content

[Storage] Prep for v0.5.0 azure_storage_blob release#3002

Merged
vincenttran-msft merged 6 commits intoAzure:mainfrom
vincenttran-msft:vincenttran/prep_v5_release
Sep 16, 2025
Merged

[Storage] Prep for v0.5.0 azure_storage_blob release#3002
vincenttran-msft merged 6 commits intoAzure:mainfrom
vincenttran-msft:vincenttran/prep_v5_release

Conversation

@vincenttran-msft
Copy link
Member

@vincenttran-msft vincenttran-msft commented Sep 15, 2025

.tsp: Azure/azure-rest-api-specs#37428

  • Authors changelog (will need a follow-up PR to get the correct date in once settled)
  • Regenerate against feature/blob-tsp-rust (which seems to be missing some stuff from latest merged PR, probably bad merge resolution)
  • Small docstring correction
  • Fix up BlobClient's set_metadata() cases

Also had to refactor EventHub's code to match the new behavior of set_metadata() that was missed in a previous PR.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Sep 15, 2025
@github-actions
Copy link

github-actions bot commented Sep 15, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure_storage_blob

@vincenttran-msft vincenttran-msft marked this pull request as ready for review September 15, 2025 22:38
Copilot AI review requested due to automatic review settings September 15, 2025 22:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR prepares the azure_storage_blob crate for a v0.5.0 release by updating the generated code and making breaking changes to the set_metadata API. The PR regenerates code against updated TypeSpec definitions and addresses API consistency issues.

Key changes:

  • Makes metadata a required parameter for set_metadata methods in BlobClient and BlobContainerClient
  • Updates changelog with new features and breaking changes for v0.5.0
  • Regenerates code from updated TypeSpec definitions

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tsp-location.yaml Updates commit hash for TypeSpec regeneration
assets.json Updates asset tag for test resources
CHANGELOG.md Adds v0.5.0 changelog entries with new features and breaking changes
blob_client.rs Updates set_metadata method signature to require metadata parameter and fixes docstring
blob_client.rs (tests) Updates test calls to match new set_metadata API signature
checkpoint_store.rs Refactors EventHub code to work with new set_metadata API

@vincenttran-msft
Copy link
Member Author

cc: @LarryOsterman Larry for the EventHubs portion that was refactored as a result of the breaking change. 🔨

@vincenttran-msft vincenttran-msft enabled auto-merge (squash) September 15, 2025 23:48
@vincenttran-msft vincenttran-msft merged commit 0d97ee4 into Azure:main Sep 16, 2025
17 checks passed
@vincenttran-msft vincenttran-msft deleted the vincenttran/prep_v5_release branch September 16, 2025 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants