Changelog
Source:NEWS.md
azr 0.3.1
CRAN release: 2026-03-04
- Interactive credentials (
AuthCodeCredential,DeviceCodeCredential) now attempt silent token acquisition via refresh token before prompting the user interactively.
azr 0.3.0
CRAN release: 2026-02-17
- Added
azr_storage_clientinterface to the Azure Storage API. - Added
CachedTokenCredentialfor non-interactive sessions that reuse previously cached tokens fromAuthCodeCredentialorDeviceCodeCredentialwithout triggering a new authentication flow. - Refactored
api_client$.fetch():req_datais now split into separatequeryandbodyarguments,req_methodis renamed tomethod, aheadersargument was added, and path interpolation now usesrlang::englue()instead ofglue::glue().
azr 0.2.1
CRAN release: 2026-01-07
azr 0.2.0
CRAN release: 2025-12-04
New features
- Added
api_clientR6 class providing a base HTTP client for Azure APIs with automatic authentication, retry logic, and error handling. - Added
api_resourceandapi_servicesclasses for Azure Resource Manager interactions. - Introduced custom credentials function support in API clients for flexible authentication.
- Added response handler callbacks to customize API response processing.
Authentication improvements
- Enhanced credential chain with support for Azure CLI authentication.
- Added interactive authentication flows (Device Code and Auth Code).
- Improved client secret credential handling.
- Fixed authentication issues with auth-code flow.
Bug fixes and improvements
- Fixed credential validation to properly check function objects in
api_client. - Fixed issues with Graph client authentication and request handling.
- Improved error messages and logging throughout the package.
- Added comprehensive tests for core functionality.
- Enhanced documentation with examples and usage guides.