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

pre-release44 minutes ago

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

Features Added

  • Added support for session authentication. Set Session on ClientOptions to configure it. Sessions apply only to
    clients authenticated with an azcore.TokenCredential, and only to the file reads they send to the blob endpoint;
    requests to the DFS endpoint, writes and every other operation keep using the bearer token. With
    SessionOptions.Enabled set to true, reads are authenticated with a session created and cached per file system.
    The default, nil, currently resolves to disabled; false disables sessions explicitly.
    • Each client created with a constructor has its own session cache. Clients derived from it with
      service.Client.NewFileSystemClient, filesystem.Client.NewDirectoryClient and filesystem.Client.NewFileClient
      share that cache. Clients created with directory.Client.NewFileClient and
      directory.Client.NewSubdirectoryClient have their own cache, so navigating through a directory can create
      additional sessions for the same file system.
    • The account name that signs session requests is derived from the client's URL, or set with
      SessionOptions.AccountName for a custom domain. When it can be determined from neither, client construction
      fails if SessionOptions.Enabled was set to true.
  • Added support for data locality in managed downloads through LayoutAwareRouting on file.DownloadBufferOptions
    and file.DownloadFileOptions. When it is set to true and the initial read carries the service's layout download
    hint, the remaining chunks are routed to the endpoint that serves each one. The default, nil, currently resolves to
    disabled; false disables it explicitly. When the service can't provide a layout, downloads use the client's
    configured endpoint.

Bugs Fixed

  • The token credential constructors now return the error from creating their blob client instead of discarding it.

Other Changes

  • Updated azblob version to 1.9.0-beta.1
  • 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.