Skip to content

Releases

v0.3.0

Choose a tag to compare

@phil-a phil-a released this 09 Nov 01:01
ee5e879

This release adds managed identity authentication, so apps on Azure can use Blob Storage without an account key.

{:waffle_azure, "~> 0.3.0"}

Added

  • Managed identity authentication. Set credential: :managed_identity to authorize with a Microsoft Entra token. For a user-assigned identity, use {:managed_identity, client_id: "..."}. It works on App Service, Functions, Container Apps, and hosts with the Instance Metadata Service, such as VMs and AKS nodes.
  • User delegation SAS. With a managed identity, signed: true returns user delegation SAS URLs. They keep working with Shared Key access turned off.
  • Waffle.Storage.Azure.AuthError, which reports a token or delegation key that couldn't be fetched.

See Managed identity for setup.

Account keys are still the default, so existing configurations don't need to change.

v0.2.0

Choose a tag to compare

@phil-a phil-a released this 05 Nov 16:01
v0.2.0
3b891b4

Arc is deprecated, so this release moves the adapter to Waffle 2.0 and renames the package from arc_azure to waffle_azure.

{:waffle_azure, "~> 0.2.0"},
{:waffle, "~> 2.0"}

Breaking changes

  • The package is now waffle_azure and the module is Waffle.Storage.Azure.
  • Configuration has moved to Waffle's bucket and asset_host settings, replacing container and cdn_url. A custom asset_host now includes the container.
  • Your account and key now go under config :waffle_azure.
  • Elixir 1.16 or later is required.

To upgrade, follow Migrating from arc_azure.

Added

  • Signed URLs
  • Stream uploads
  • Block uploads for large files
  • Deleting by plain file name
  • Blob properties other than content_type, set through s3_object_headers

Changed

  • URLs are now percent-encoded.
  • signed: true now returns a working signed URL, and the temp_url_* options are gone.
  • delete logs any failure and still returns :ok.
  • ex_azure and erlazure are replaced by a small Req-based client, since ex_azure no longer compiles on current Elixir.

Release v0.1.2

Choose a tag to compare

@phil-a phil-a released this 18 Jun 19:34
5ee0308
  • Pass in content-type of object
  • Updated ex_doc
  • Added examples in docs

Initial release

Choose a tag to compare

@phil-a phil-a released this 26 Mar 20:09
v0.1.0

Update configuration for cdn_url in readme