Skip to content

Conversation

@weirongw23-msft
Copy link
Member

No description provided.

@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Dec 8, 2025
@weirongw23-msft weirongw23-msft marked this pull request as ready for review December 8, 2025 20:30
Copilot AI review requested due to automatic review settings December 8, 2025 20:30
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 implements "STG 101 Features" by adding support for Azure Storage service version 2026-04-06 across multiple storage SDKs (Queue, File Share, Data Lake, and Blob). The changes introduce several new features including delegated user tenant ID support for user delegation keys, source encryption key support for copy operations, access tier conditional delete operations, and enhanced documentation for content validation options.

Key Changes:

  • Updates API version from 2026-02-06 to 2026-04-06 across all storage services
  • Adds delegated_user_tid parameter to user delegation key operations
  • Adds source_cpk parameter for customer-provided encryption keys in source blob operations
  • Adds access tier conditional parameters (access_tier_if_modified_since, access_tier_if_unmodified_since) for blob deletion
  • Updates storage error codes and adds new file share provisioning error codes
  • Improves validate_content parameter documentation with detailed explanation of checksum options
  • Updates type hints from IO[AnyStr] to IO[bytes] for consistency

Reviewed changes

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

Show a summary per file
File Description
Queue Storage
_queue_service_client.py / _queue_service_client_async.py Adds delegated_user_tid parameter to get_user_delegation_key() method
_shared/response_handlers.py Parses signed_delegated_user_tid from service response
_shared/models.py Adds signed_delegated_user_tid field to UserDelegationKey model and new error codes
_serialize.py Adds 2026-04-06 to supported API versions list
_generated/ files Updates default API version literal from 2026-02-06 to 2026-04-06
File Share Storage
_share_service_client.py / _share_service_client_async.py Adds delegated_user_tid parameter to get_user_delegation_key()
_file_client.py / _file_client_async.py Updates type hints and enhances validate_content documentation
_shared/ files Mirrors queue storage changes for models and response handlers
Data Lake Storage
_data_lake_service_client.py / _data_lake_service_client_async.py Adds delegated_user_tid parameter forwarding to blob service client
_data_lake_file_client.py / _data_lake_file_client_async.py Updates type hints and validate_content documentation
_shared_access_signature.py Adds request_headers and request_query_params parameters to SAS generation functions
Blob Storage
_blob_service_client.py / _blob_service_client_async.py Adds delegated_user_tid parameter to get_user_delegation_key()
_blob_client.py / _blob_client_async.py Adds source_cpk, access tier conditionals, updates type hints and documentation
_blob_client_helpers.py Implements source_cpk parameter handling in helper functions
_shared_access_signature.py Adds request_headers and request_query_params to SAS generation
tests/test_cpk.py Adds commented test for append block with rekeying
tests/test_common_blob.py / test_common_blob_async.py Adds tests for access tier conditional delete
tests/fake_credentials.py Adds new CPK key constants for testing
_generated/ files Updates API version, adds source encryption parameters, access tier conditionals

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

API Change Check

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

azure-storage-blob
azure-storage-file-datalake
azure-storage-file-share
azure-storage-queue

@weirongw23-msft
Copy link
Member Author

/azp run python - storage - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@weirongw23-msft weirongw23-msft merged commit d80e98e into main Jan 26, 2026
20 checks passed
@weirongw23-msft weirongw23-msft deleted the feature/storage-stg101 branch January 26, 2026 19:21
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.

3 participants