Skip to main content
Version: 4.35.0

Azure Blob Storage SAS Token Renewal

Version: 4.35.0 Date: 2026-02-13

Goal: Fix broken downloads when Azure SAS token expires, without requiring document migration.

Solution: Separate SAS token from container URL — token is now stored in config and applied at download time.

Features:

  • New config format: containerUrl + sasToken (separate fields)
  • Token renewal only requires config update, no document migration needed
  • Backward compatible with existing documents (old format still works)

Implementation Details:

  • Download detects format via ? presence in remote URL
  • Old format (remote contains ?): URL used as-is
  • New format (no ? in remote): URL built from containerUrl + filename + sasToken
  • Upload stores filename only when new config format is used
  • @deprecated v4.35.0 markers added for future cleanup

Files Modified:

  • src/utils/downloadHelpers.ts - Smart URL construction based on remote format
  • src/services/fileProtect/uploadHandlers/azureBlob.pipe.ts - Support new config format, store filename only