Skip to content

v0.2.0

Choose a tag to compare

@phil-a phil-a released this 05 Nov 16:01
· 3 commits to master since this release
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.