Repository navigation
Releases
Releases · thanos/azure_sdk
v0.4.1
Changelog
v0.4.1 - 2026-10-01
Added
AzureSDK.Storage.Blob.properties/4— Blob HEAD / Get Blob Properties
(content_lengthas integer, content type, ETag, last-modified, user metadata)AzureSDK.Storage.Blob.exists?/4— three-waytrue/false/
{:error, %AzureSDK.Error{}}(only not-found maps tofalse)
Changed
Blob.download_stream/4usesproperties/4for the initial size/ETag HEAD
(no intended behavioral change)
v0.4.0 - 2026-10-01
Added
AzureSDK.Storage.Queue: create, delete, exists?, metadata, set_metadata,
properties (approximate message count), list / list_page / list_stream
(with:include_metadata), clear_messagesAzureSDK.Storage.Queue.Message: put, get, peek, delete, update.:message_encodingis:base64(default; Azure Functions and v11 SDKs)
or:none(plain text; v12 Python and .NET defaults). Text that is not
valid Base64 is reported asInvalidMessageEncoding, never guessed.update/4without:contentchanges only the visibility timeout and keeps
the message body.put/4returns{:ok, message}(id, pop receipt, times; no content).delete/4treats404 MessageNotFoundas already deleted.- Out-of-range counts, timeouts, TTLs and bodies over 64 KiB return
InvalidArgumentwithout a request.
- Put Message, Get Messages and Update Message set
metadata.idempotent: false
so ambiguous 5xx / transport failures are not retried (Put would duplicate,
Get has visibility side effects, Update issues a new pop receipt) Queue.StreamError- Livebook
livebooks/queue_storage.livemd
v0.3.0 - 2026-09-30
Breaking
Blob.download_stream/4returns{:ok, stream}after one HEAD request and
fetches the blob with Range requests while you enumerate. A failed range
raisesAzureSDK.Storage.Blob.StreamErrorduring enumeration; v0.2.0
downloaded everything first and returned{:error, error}up front.download_stream/4pins the blob's ETag: if the blob is overwritten while you
enumerate, the next range raisesStreamError(HTTP 412) instead of returning
bytes from the new version.Blob.upload_stream/5always returnscontent: nil; v0.2.0 returned the
uploaded bytes.- The
[:azure_sdk, :blob, :put]event fromupload_stream/5carries
streaming: trueinstead ofbuffered: true. Container.list_stream/2andlist_blobs_stream/3raise
AzureSDK.Storage.Container.StreamErrorwhen a page fails.
Changed
Blob.upload_stream/5uses Put Block / Put Block List with bounded:block_size
(default 4 MiB) instead of buffering the full enumerable. Each upload uses a
random block-ID prefix, so concurrent uploads to one blob cannot mix blocks.
An upload that would need more than 50,000 blocks returnsBlockCountExceeded.Blob.download_stream/4uses HTTP Range requests with:chunk_sizeinstead of
a single full download
Added
AzureSDK.Storage.Conditions:If-*and:lease_idheaders for blob ops;
date conditions accept aDateTimeAzureSDK.Storage.Blob.Block:put_block/6,put_block_list/5,
upload_prefix/0,block_id/3AzureSDK.Storage.Blob.Lease: acquire, renew, change, release, break.
acquire/4always sends a proposed lease id so a retried acquire is safe.Blob.download/4:rangeoption for a single byte rangeContainer.list_page/2,list_stream/2,list_blobs_page/3,list_blobs_stream/3
with:prefix,:max_results,:markerAzureSDK.Storage.Sas: Shared Key blob/container SAS generation and
user-delegation key / SAS helpers. Permissions are normalized to service
order, times are signed as UTC, and missing options returnInvalidArgument.Blob.StreamErrorandContainer.StreamErrorexceptions
v0.2.0 - 2026-09-29
Breaking
AzureSDK.Identity.Credentialnow requiresauthorize_request/2returning
{:ok, request} | {:error, error}(replaces infalliblesign_request/2)- Entra credentials implement
TokenCredential.get_token/3instead of signing directly - Retry policy defaults include
jitter: trueandmax_retry_after_ms: 60_000;
transport errors and HTTP 408/500/502/504 retry only for idempotent requests
(429 and 503 are always retried) DefaultAzureCredentialchain is Environment → Managed Identity (Environment
already covers workload identity) and stops at the first error that is not
CredentialUnavailableManagedIdentityCredential.get_token/3requires exactly one scope- The reserved management client module is
@moduledoc falseand no longer exportst/0 - Empty future-service modules are
@moduledoc false(hidden from Hexdocs)
Added
TokenCredential,AccessToken,Pipeline.BearerClientSecretCredential,ManagedIdentityCredential,WorkloadIdentityCredentialEnvironmentCredential,DefaultAzureCredential- Supervised
TokenCachewith expiry buffer and acquire coalescing AzureSDK.ApplicationOTP application- Retry:
Retry-After/x-ms-retry-after-ms, full jitter, idempotent transport classification, 401 token refresh-once AzureSDK.Storage.ServiceVersion- Guide
guides/azure_identity.md; updated authentication Livebook - Architecture docs under
plans/
Changed
- Pipeline authorization is fallible and does not HTTP-retry auth failures
- Telemetry:
[:azure_sdk, :auth, :token_cache, :hit | :miss],[:azure_sdk, :auth, :token, :acquire] - Roadmap: Identity → Production Blob → Queue → Table → ARM → BEAM
Fixed
TokenCacheno longer hangs a cache key when a credential raises or its
acquiring process exits; waiters receiveTokenAcquisitionFailed.clear/1
replies to pending waiters, and expired tokens are prunedDefaultAzureCredentialcache keys include the chain's identities, so
different chains no longer share tokens- Credential and
AccessTokenstructs hide secrets frominspect/2 SharedKeyCredential.authorize_request/2returnsInvalidCredentialfor a
non-Base64 key instead of raisingRetry-Afteris honored beyondmax_delay_ms, up tomax_retry_after_ms- IMDS requests set a 1s connect timeout so an unreachable endpoint fails fast
v0.1.0 - 2026-06-12
Added
- Multi-service architecture with Identity, Data Plane, Management, and Platform layers
AzureSDK.Core.Pipeline- reusable Req-based request pipeline with retry and telemetry- Identity plane:
SharedKeyCredential,SASCredential, credential behaviour - Blob Storage: upload, download, delete, metadata, listing, buffered stream helpers
- Container management: create, delete, list, list blobs, metadata
- Standardized
AzureSDK.Errorstruct - XML parsers hidden behind public structs and maps
- Azurite integration tests and Docker Compose environment
- Architecture plans, educational guides, and Livebooks
- GitHub Actions CI: format, Credo, Doctor, Sobelow, Dialyzer, test matrix, docs
Design stubs (documented, not implemented)
- OAuth credentials (Client Secret, Managed Identity, DefaultAzureCredential)
- Queue, Table, File Share, Data Lake storage services
- Management plane (Storage Account operations)
- BEAM integrations (Broadway, Flow, Explorer, Nx)
What's Changed
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Changelog
v0.4.0 - 2026-10-01
Added
AzureSDK.Storage.Queue: create, delete, exists?, metadata, set_metadata,
properties (approximate message count), list / list_page / list_stream
(with:include_metadata), clear_messagesAzureSDK.Storage.Queue.Message: put, get, peek, delete, update.:message_encodingis:base64(default; Azure Functions and v11 SDKs)
or:none(plain text; v12 Python and .NET defaults). Text that is not
valid Base64 is reported asInvalidMessageEncoding, never guessed.update/4without:contentchanges only the visibility timeout and keeps
the message body.put/4returns{:ok, message}(id, pop receipt, times; no content).delete/4treats404 MessageNotFoundas already deleted.- Out-of-range counts, timeouts, TTLs and bodies over 64 KiB return
InvalidArgumentwithout a request.
- Put Message, Get Messages and Update Message set
metadata.idempotent: false
so ambiguous 5xx / transport failures are not retried (Put would duplicate,
Get has visibility side effects, Update issues a new pop receipt) Queue.StreamError- Livebook
livebooks/queue_storage.livemd
v0.3.0 - 2026-09-30
Breaking
Blob.download_stream/4returns{:ok, stream}after one HEAD request and
fetches the blob with Range requests while you enumerate. A failed range
raisesAzureSDK.Storage.Blob.StreamErrorduring enumeration; v0.2.0
downloaded everything first and returned{:error, error}up front.download_stream/4pins the blob's ETag: if the blob is overwritten while you
enumerate, the next range raisesStreamError(HTTP 412) instead of returning
bytes from the new version.Blob.upload_stream/5always returnscontent: nil; v0.2.0 returned the
uploaded bytes.- The
[:azure_sdk, :blob, :put]event fromupload_stream/5carries
streaming: trueinstead ofbuffered: true. Container.list_stream/2andlist_blobs_stream/3raise
AzureSDK.Storage.Container.StreamErrorwhen a page fails.
Changed
Blob.upload_stream/5uses Put Block / Put Block List with bounded:block_size
(default 4 MiB) instead of buffering the full enumerable. Each upload uses a
random block-ID prefix, so concurrent uploads to one blob cannot mix blocks.
An upload that would need more than 50,000 blocks returnsBlockCountExceeded.Blob.download_stream/4uses HTTP Range requests with:chunk_sizeinstead of
a single full download
Added
AzureSDK.Storage.Conditions:If-*and:lease_idheaders for blob ops;
date conditions accept aDateTimeAzureSDK.Storage.Blob.Block:put_block/6,put_block_list/5,
upload_prefix/0,block_id/3AzureSDK.Storage.Blob.Lease: acquire, renew, change, release, break.
acquire/4always sends a proposed lease id so a retried acquire is safe.Blob.download/4:rangeoption for a single byte rangeContainer.list_page/2,list_stream/2,list_blobs_page/3,list_blobs_stream/3
with:prefix,:max_results,:markerAzureSDK.Storage.Sas: Shared Key blob/container SAS generation and
user-delegation key / SAS helpers. Permissions are normalized to service
order, times are signed as UTC, and missing options returnInvalidArgument.Blob.StreamErrorandContainer.StreamErrorexceptions
v0.2.0 - 2026-09-29
Breaking
AzureSDK.Identity.Credentialnow requiresauthorize_request/2returning
{:ok, request} | {:error, error}(replaces infalliblesign_request/2)- Entra credentials implement
TokenCredential.get_token/3instead of signing directly - Retry policy defaults include
jitter: trueandmax_retry_after_ms: 60_000;
transport errors and HTTP 408/500/502/504 retry only for idempotent requests
(429 and 503 are always retried) DefaultAzureCredentialchain is Environment → Managed Identity (Environment
already covers workload identity) and stops at the first error that is not
CredentialUnavailableManagedIdentityCredential.get_token/3requires exactly one scope- The reserved management client module is
@moduledoc falseand no longer exportst/0 - Empty future-service modules are
@moduledoc false(hidden from Hexdocs)
Added
TokenCredential,AccessToken,Pipeline.BearerClientSecretCredential,ManagedIdentityCredential,WorkloadIdentityCredentialEnvironmentCredential,DefaultAzureCredential- Supervised
TokenCachewith expiry buffer and acquire coalescing AzureSDK.ApplicationOTP application- Retry:
Retry-After/x-ms-retry-after-ms, full jitter, idempotent transport classification, 401 token refresh-once AzureSDK.Storage.ServiceVersion- Guide
guides/azure_identity.md; updated authentication Livebook - Architecture docs under
plans/
Changed
- Pipeline authorization is fallible and does not HTTP-retry auth failures
- Telemetry:
[:azure_sdk, :auth, :token_cache, :hit | :miss],[:azure_sdk, :auth, :token, :acquire] - Roadmap: Identity → Production Blob → Queue → Table → ARM → BEAM
Fixed
TokenCacheno longer hangs a cache key when a credential raises or its
acquiring process exits; waiters receiveTokenAcquisitionFailed.clear/1
replies to pending waiters, and expired tokens are prunedDefaultAzureCredentialcache keys include the chain's identities, so
different chains no longer share tokens- Credential and
AccessTokenstructs hide secrets frominspect/2 SharedKeyCredential.authorize_request/2returnsInvalidCredentialfor a
non-Base64 key instead of raisingRetry-Afteris honored beyondmax_delay_ms, up tomax_retry_after_ms- IMDS requests set a 1s connect timeout so an unreachable endpoint fails fast
v0.1.0 - 2026-06-12
Added
- Multi-service architecture with Identity, Data Plane, Management, and Platform layers
AzureSDK.Core.Pipeline- reusable Req-based request pipeline with retry and telemetry- Identity plane:
SharedKeyCredential,SASCredential, credential behaviour - Blob Storage: upload, download, delete, metadata, listing, buffered stream helpers
- Container management: create, delete, list, list blobs, metadata
- Standardized
AzureSDK.Errorstruct - XML parsers hidden behind public structs and maps
- Azurite integration tests and Docker Compose environment
- Architecture plans, educational guides, and Livebooks
- GitHub Actions CI: format, Credo, Doctor, Sobelow, Dialyzer, test matrix, docs
Design stubs (documented, not implemented)
- OAuth credentials (Client Secret, Managed Identity, DefaultAzureCredential)
- Queue, Table, File Share, Data Lake storage services
- Management plane (Storage Account operations)
- BEAM integrations (Broadway, Flow, Explorer, Nx)
What's Changed
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Changelog
v0.3.0 - 2026-09-30
Breaking
Blob.download_stream/4returns{:ok, stream}after one HEAD request and
fetches the blob with Range requests while you enumerate. A failed range
raisesAzureSDK.Storage.Blob.StreamErrorduring enumeration; v0.2.0
downloaded everything first and returned{:error, error}up front.download_stream/4pins the blob's ETag: if the blob is overwritten while you
enumerate, the next range raisesStreamError(HTTP 412) instead of returning
bytes from the new version.Blob.upload_stream/5always returnscontent: nil; v0.2.0 returned the
uploaded bytes.- The
[:azure_sdk, :blob, :put]event fromupload_stream/5carries
streaming: trueinstead ofbuffered: true. Container.list_stream/2andlist_blobs_stream/3raise
AzureSDK.Storage.Container.StreamErrorwhen a page fails.
Changed
Blob.upload_stream/5uses Put Block / Put Block List with bounded:block_size
(default 4 MiB) instead of buffering the full enumerable. Each upload uses a
random block-ID prefix, so concurrent uploads to one blob cannot mix blocks.
An upload that would need more than 50,000 blocks returnsBlockCountExceeded.Blob.download_stream/4uses HTTP Range requests with:chunk_sizeinstead of
a single full download
Added
AzureSDK.Storage.Conditions:If-*and:lease_idheaders for blob ops;
date conditions accept aDateTimeAzureSDK.Storage.Blob.Block:put_block/6,put_block_list/5,
upload_prefix/0,block_id/3AzureSDK.Storage.Blob.Lease: acquire, renew, change, release, break.
acquire/4always sends a proposed lease id so a retried acquire is safe.Blob.download/4:rangeoption for a single byte rangeContainer.list_page/2,list_stream/2,list_blobs_page/3,list_blobs_stream/3
with:prefix,:max_results,:markerAzureSDK.Storage.Sas: Shared Key blob/container SAS generation and
user-delegation key / SAS helpers. Permissions are normalized to service
order, times are signed as UTC, and missing options returnInvalidArgument.Blob.StreamErrorandContainer.StreamErrorexceptions
v0.2.0 - 2026-09-29
Breaking
AzureSDK.Identity.Credentialnow requiresauthorize_request/2returning
{:ok, request} | {:error, error}(replaces infalliblesign_request/2)- Entra credentials implement
TokenCredential.get_token/3instead of signing directly - Retry policy defaults include
jitter: trueandmax_retry_after_ms: 60_000;
transport errors and HTTP 408/500/502/504 retry only for idempotent requests
(429 and 503 are always retried) DefaultAzureCredentialchain is Environment → Managed Identity (Environment
already covers workload identity) and stops at the first error that is not
CredentialUnavailableManagedIdentityCredential.get_token/3requires exactly one scope- The reserved management client module is
@moduledoc falseand no longer exportst/0 - Empty future-service modules are
@moduledoc false(hidden from Hexdocs)
Added
TokenCredential,AccessToken,Pipeline.BearerClientSecretCredential,ManagedIdentityCredential,WorkloadIdentityCredentialEnvironmentCredential,DefaultAzureCredential- Supervised
TokenCachewith expiry buffer and acquire coalescing AzureSDK.ApplicationOTP application- Retry:
Retry-After/x-ms-retry-after-ms, full jitter, idempotent transport classification, 401 token refresh-once AzureSDK.Storage.ServiceVersion- Guide
guides/azure_identity.md; updated authentication Livebook - Architecture docs under
plans/
Changed
- Pipeline authorization is fallible and does not HTTP-retry auth failures
- Telemetry:
[:azure_sdk, :auth, :token_cache, :hit | :miss],[:azure_sdk, :auth, :token, :acquire] - Roadmap: Identity → Production Blob → Queue → Table → ARM → BEAM
Fixed
TokenCacheno longer hangs a cache key when a credential raises or its
acquiring process exits; waiters receiveTokenAcquisitionFailed.clear/1
replies to pending waiters, and expired tokens are prunedDefaultAzureCredentialcache keys include the chain's identities, so
different chains no longer share tokens- Credential and
AccessTokenstructs hide secrets frominspect/2 SharedKeyCredential.authorize_request/2returnsInvalidCredentialfor a
non-Base64 key instead of raisingRetry-Afteris honored beyondmax_delay_ms, up tomax_retry_after_ms- IMDS requests set a 1s connect timeout so an unreachable endpoint fails fast
v0.1.0 - 2026-06-12
Added
- Multi-service architecture with Identity, Data Plane, Management, and Platform layers
AzureSDK.Core.Pipeline- reusable Req-based request pipeline with retry and telemetry- Identity plane:
SharedKeyCredential,SASCredential, credential behaviour - Blob Storage: upload, download, delete, metadata, listing, buffered stream helpers
- Container management: create, delete, list, list blobs, metadata
- Standardized
AzureSDK.Errorstruct - XML parsers hidden behind public structs and maps
- Azurite integration tests and Docker Compose environment
- Architecture plans, educational guides, and Livebooks
- GitHub Actions CI: format, Credo, Doctor, Sobelow, Dialyzer, test matrix, docs
Design stubs (documented, not implemented)
- OAuth credentials (Client Secret, Managed Identity, DefaultAzureCredential)
- Queue, Table, File Share, Data Lake storage services
- Management plane (Storage Account operations)
- BEAM integrations (Broadway, Flow, Explorer, Nx)
What's Changed
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Changelog
v0.2.0 - 2026-09-29
Breaking
AzureSDK.Identity.Credentialnow requiresauthorize_request/2returning
{:ok, request} | {:error, error}(replaces infalliblesign_request/2)- Entra credentials implement
TokenCredential.get_token/3instead of signing directly - Retry policy defaults include
jitter: trueandmax_retry_after_ms: 60_000;
transport errors and HTTP 408/500/502/504 retry only for idempotent requests
(429 and 503 are always retried) DefaultAzureCredentialchain is Environment → Managed Identity (Environment
already covers workload identity) and stops at the first error that is not
CredentialUnavailableManagedIdentityCredential.get_token/3requires exactly one scope- The reserved management client module is
@moduledoc falseand no longer exportst/0 - Empty future-service modules are
@moduledoc false(hidden from Hexdocs)
Added
TokenCredential,AccessToken,Pipeline.BearerClientSecretCredential,ManagedIdentityCredential,WorkloadIdentityCredentialEnvironmentCredential,DefaultAzureCredential- Supervised
TokenCachewith expiry buffer and acquire coalescing AzureSDK.ApplicationOTP application- Retry:
Retry-After/x-ms-retry-after-ms, full jitter, idempotent transport classification, 401 token refresh-once AzureSDK.Storage.ServiceVersion- Guide
guides/azure_identity.md; updated authentication Livebook - Architecture docs under
plans/
Changed
- Pipeline authorization is fallible and does not HTTP-retry auth failures
- Telemetry:
[:azure_sdk, :auth, :token_cache, :hit | :miss],[:azure_sdk, :auth, :token, :acquire] - Roadmap: Identity → Production Blob → Queue → Table → ARM → BEAM
Fixed
TokenCacheno longer hangs a cache key when a credential raises or its
acquiring process exits; waiters receiveTokenAcquisitionFailed.clear/1
replies to pending waiters, and expired tokens are prunedDefaultAzureCredentialcache keys include the chain's identities, so
different chains no longer share tokens- Credential and
AccessTokenstructs hide secrets frominspect/2 SharedKeyCredential.authorize_request/2returnsInvalidCredentialfor a
non-Base64 key instead of raisingRetry-Afteris honored beyondmax_delay_ms, up tomax_retry_after_ms- IMDS requests set a 1s connect timeout so an unreachable endpoint fails fast
v0.1.0 - 2026-06-12
Added
- Multi-service architecture with Identity, Data Plane, Management, and Platform layers
AzureSDK.Core.Pipeline- reusable Req-based request pipeline with retry and telemetry- Identity plane:
SharedKeyCredential,SASCredential, credential behaviour - Blob Storage: upload, download, delete, metadata, listing, buffered stream helpers
- Container management: create, delete, list, list blobs, metadata
- Standardized
AzureSDK.Errorstruct - XML parsers hidden behind public structs and maps
- Azurite integration tests and Docker Compose environment
- Architecture plans, educational guides, and Livebooks
- GitHub Actions CI: format, Credo, Doctor, Sobelow, Dialyzer, test matrix, docs
Design stubs (documented, not implemented)
- OAuth credentials (Client Secret, Managed Identity, DefaultAzureCredential)
- Queue, Table, File Share, Data Lake storage services
- Management plane (Storage Account operations)
- BEAM integrations (Broadway, Flow, Explorer, Nx)
What's Changed
- v0.2.0 Identity + Core Contracts by @thanos in #18
- v0.2.0 release prep is in place. by @thanos in #32
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Changelog
v0.1.0 — 2026-06-12
Added
- Multi-service architecture with Identity, Data Plane, Management, and Platform layers
AzureSDK.Core.Pipeline— reusable Req-based request pipeline with retry and telemetry- Identity plane:
SharedKeyCredential,SASCredential, credential behaviour - Blob Storage: upload, download, delete, metadata, listing, buffered stream helpers
- Container management: create, delete, list, list blobs, metadata
- Standardized
AzureSDK.Errorstruct - XML parsers hidden behind public structs and maps
- Azurite integration tests and Docker Compose environment
- Architecture plans, educational guides, and Livebooks
- GitHub Actions CI: format, Credo, Doctor, Sobelow, Dialyzer, test matrix, docs
Design stubs (documented, not implemented)
- OAuth credentials (Client Secret, Managed Identity, DefaultAzureCredential)
- Queue, Table, File Share, Data Lake storage services
- Management plane (Storage Account operations)
- BEAM integrations (Broadway, Flow, Explorer, Nx)
What's Changed
New Contributors
Full Changelog: https://github.com/thanos/azure_sdk/commits/v0.1.0