Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.77 KB

NEXT_CHANGELOG.md

File metadata and controls

44 lines (32 loc) · 1.77 KB

NEXT CHANGELOG

Release v1.12.0

Major Changes

New Features and Improvements

  • Added personal access token (PAT) authentication (Private Preview). PAT authentication for Zerobus requires server-side enablement. Pass auth=PersonalAccessToken(token) to create_stream() (sync and async), or call personal_access_token(token) on the persistent stream builder, to authenticate with a Databricks PAT created with the zerobus API scope. The token stays in the Rust core, so no Python callback runs per request, and it is never shown in repr(). It is compiled into the wheel; no extra is needed. See examples/sync_example_pat.py.

Bug Fixes

Documentation

  • Documented the GCP workspace URL and Zerobus endpoint formats. The formats for AWS, Azure, and GCP now live in one connection URL table, and this SDK's README, examples, proto generator, and API docs link to it instead of repeating cloud-specific URLs.
  • The examples exit with an error naming the missing environment variable instead of falling back to placeholder values.

Internal Changes

Breaking Changes

Deprecations

API Changes

  • Added PersonalAccessToken, exported from zerobus and zerobus.sdk.shared. It raises ValueError for an empty token (Private Preview).
  • create_stream(auth=...) now accepts a PersonalAccessToken as well as a FederatedToken. As before, auth= cannot be combined with client_id/client_secret (Private Preview).
  • Added PersistentStreamBuilder.personal_access_token(token), taking the token string or a PersonalAccessToken. It replaces an earlier oauth() or headers_provider() call, and they replace it (Private Preview).