We’re excited to announce the release of azure-blob
, a brand-new Ruby gem designed to replace the now-deprecated azure-storage-blob
and the Azure adapter for Active Storage.
The Rails team will stop maintaining Azure support for Active Storage. Starting with Rails 8 you’ll see this message when trying to use Active Storage with Azure:
ActiveStorage::Service::AzureStorageService is deprecated and will be
removed in Rails 8.1.
Please try the azure-blob gem instead.
This gem is not maintained by the Rails team, so please test your applications before deploying to production.
The original gem, azure-storage-blob
, has been deprecated and will be unsupported by Microsoft starting this week. It has not been updated since December 2021, leading to a host of issues for developers, including compatibility problems and difficulties in upgrading applications that rely on it.
But fear not! Test Double is here to help! With our new azure-blob
, you get a modern, efficient solution for interacting with Azure Blob Storage.
Why choose azure-blob?
No external dependencies: Unlike its predecessor, azure-blob only relies on the libraries bundled with Ruby, making it leaner and more efficient.
Managed Identities (Entra ID) Support: This new gem introduces support for Managed Identities, enhancing security by eliminating the need for shared secrets. This is a feature that wasn’t available in the old Active Storage adapter.
Easy migration: Just swap out the gem and the adapter name in your config! Check out the migration guide.
Standalone usability: It’s versatile enough to be used both within and outside of Rails, offering flexibility for various applications without requiring Rails as a dependency.
In other words, the new azure-blob
is a simple way to resolve the upgrade challenges posed by the deprecated gem while also boosting your app’s security.
Stay tuned for more updates, and check out the gem today!