github Azure/azure-sdk-for-go sdk/storage/azfile/v1.8.0-beta.1

pre-release53 minutes ago

1.8.0-beta.1 (2026-11-12)

Features Added

  • Exported ShareNFSSettings and ShareNFSSettingsEncryptionInTransit types.
  • Added structured message (XSM/1.0) CRC64 content validation for azfile uploads and downloads via the new TransferValidationTypeComputeStructuredMessageCRC64 transfer validation option.
  • Added TransactionalValidation support on CreateOptions for structured message CRC64 content validation when creating a file with initial data.
  • Added support for addressing files and directories by file ID (?fileid=<FileID>) for service version 2027-03-07:
    • Added NewFileClientByFileID and NewDirectoryClientByFileID methods on share Client. They return an error for an empty file ID.
    • Added FileID field on sas.URLParts.
    • Added GetFileLinks method on file Client that returns the hard links of a file. It is only supported on a file Client that addresses the file by file ID.
    • GetProperties on file and directory Client returns the name of the resource in FileName when it is addressed by file ID.
    • A file or directory Client that addresses the resource by file ID only supports GetProperties and GetFileLinks (files only). All other operations, including lease operations and GetSASURL, return an error wrapping the new fileerror.FileIDNotSupported without sending a request. GetFileLinks on a path based file Client returns an error wrapping the new fileerror.FileIDRequired.
  • Added Files Change Feed support on shares: EnableChangeFeed and ChangeFeedRetentionInDays in share CreateOptions and SetPropertiesOptions, and EnableChangeFeed, ChangeFeedRetentionInDays and ChangeFeedBlobContainerName in the share GetProperties response.
  • Added support for share creation time for service version 2027-03-07. The creation time of a share is returned in CreationTime by GetProperties on share Client and in ShareProperties by NewListSharesPager on service Client.

Bugs Fixed

  • Fixed SAS signing to convert StartTime and ExpiryTime values to UTC before encoding them, so non-UTC times keep the intended instant.
  • Fixed NewListFilesAndDirectoriesPager failing the whole page when the service returned a file name, directory name or prefix with a malformed URL encoding. The value is now returned as sent by the service.

Other Changes

  • Updated azcore version to 1.23.2
  • Updated sdk/storage/internal version to 0.2.0-beta.1

Don't miss a new azure-sdk-for-go release

NewReleases is sending notifications on new releases.