Skip to content

Update storage to latest tsp#878

Merged
jhendrixMSFT merged 2 commits intoAzure:mainfrom
jhendrixMSFT:update-storage
Feb 25, 2026
Merged

Update storage to latest tsp#878
jhendrixMSFT merged 2 commits intoAzure:mainfrom
jhendrixMSFT:update-storage

Conversation

@jhendrixMSFT
Copy link
Member

Removed test for pub(crate) items as we now have dedicated tests for that scenario.

Removed test for pub(crate) items as we now have dedicated tests for
that scenario.
Copilot AI review requested due to automatic review settings February 25, 2026 00:03
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 pull request updates the Azure Blob Storage TypeSpec definitions and regenerates Rust code for the latest API version. The changes include updating to API version 2026-04-06, adding new error codes, converting several unions to enums, and restructuring client initialization patterns. The PR also removes tests for pub(crate) items as mentioned in the description.

Changes:

  • Updated API versions from 2025-01-05 to 2026-04-06
  • Converted extensible unions to non-extensible enums for many types
  • Added comprehensive StorageErrorCode enum with 100+ error codes
  • Renamed models (e.g., BlobItemInternalBlobItem, StorageErrorError)
  • Changed client initialization from explicit constructors to customizeCode pattern
  • Updated response headers and removed many date response headers
  • Added new SKU types and versioned fields with @added decorators

Reviewed changes

Copilot reviewed 6 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
models.tsp Added StorageErrorCode union, new SKU types, updated model names and XML names
main.tsp Updated service versions to 2025-11-05, 2026-02-06, 2026-04-06
client.tsp Changed from explicit client initialization to customizeCode pattern, added scope exclusions
testing.rs Updated model references from BlobItemInternal to BlobItem, ListBlobsFlatSegmentResponse to ListBlobsResponse
lib.rs Removed pub(crate) test touching code
xml_helpers.rs Removed unused XML helper structs
models_serde.rs Removed ParquetConfiguration serialization
models_impl.rs Removed Page impl for ListBlobsHierarchySegmentResponse, removed TryFrom impls for unused types
models.rs Renamed models, added StorageErrorCode enum, removed query-related models
enums_serde.rs Added/updated enum serialization for new types
enums.rs Changed many extensible unions to non-extensible enums, added StorageErrorCode variants
*_client.rs Removed explicit constructors, updated API version to 2026-04-06, changed method signatures

Copy link
Member

@heaths heaths left a comment

Choose a reason for hiding this comment

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

Namespace stayed put, so that seems to be the main thing here w.r.t. #877

@jhendrixMSFT jhendrixMSFT merged commit cf52cd5 into Azure:main Feb 25, 2026
5 checks passed
@jhendrixMSFT jhendrixMSFT deleted the update-storage branch February 25, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants