From ea452b4dc8b42c162286044f019d35277acfd21e Mon Sep 17 00:00:00 2001 From: quettabit Date: Mon, 11 Aug 2025 01:01:06 -0600 Subject: [PATCH] initial commit --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ docs/source/conf.py | 2 +- pyproject.toml | 2 +- uv.lock | 2 +- 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dbbf90..921401a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ All notable changes to this project will be documented in this file. +## [4.0.0] - 2025-08-11 + +### Features + +- Add access token APIs ([#86](https://github.com/s2-streamstore/s2-sdk-python/issues/86)) +- [**breaking**] Support timestamped records ([#88](https://github.com/s2-streamstore/s2-sdk-python/issues/88)) +- Support `clamp` in `read_session`, `until` in `read` and `read_session` ([#90](https://github.com/s2-streamstore/s2-sdk-python/issues/90)) +- Support `delete-on-empty` config for streams ([#95](https://github.com/s2-streamstore/s2-sdk-python/issues/95)) + +### Bug Fixes + +- Missing return statement in `read_session` ([#92](https://github.com/s2-streamstore/s2-sdk-python/issues/92)) +- Missing `timestamp` in `AppendRecord` msg ([#96](https://github.com/s2-streamstore/s2-sdk-python/issues/96)) +- Mappings between schema types and proto types ([#97](https://github.com/s2-streamstore/s2-sdk-python/issues/97)) + +### Refactor + +- [**breaking**] Rename `auth_token` as `access_token` in `S2` init ([#83](https://github.com/s2-streamstore/s2-sdk-python/issues/83)) +- [**breaking**] Consolidate config params into a single param ([#87](https://github.com/s2-streamstore/s2-sdk-python/issues/87)) +- [**breaking**] Change fencing token type from `bytes` to `str` ([#89](https://github.com/s2-streamstore/s2-sdk-python/issues/89)) +- [**breaking**] Change return types of `check_tail`, `read`, and `read_session` ([#91](https://github.com/s2-streamstore/s2-sdk-python/issues/91)) + +### Documentation + +- Remove `gRPC` mentions ([#82](https://github.com/s2-streamstore/s2-sdk-python/issues/82)) +- Consistent wording and styling ([#102](https://github.com/s2-streamstore/s2-sdk-python/issues/102)) + +### Styling + +- Apply fixes from `uv run poe checker` ([#85](https://github.com/s2-streamstore/s2-sdk-python/issues/85)) + ## [3.0.0] - 2025-03-11 ### Refactor diff --git a/docs/source/conf.py b/docs/source/conf.py index 80b0776..83ed5ab 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -10,7 +10,7 @@ project = "streamstore" copyright = f"{date.today().year}, Bandar Systems Inc" -release = "3.0.0" +release = "4.0.0" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/pyproject.toml b/pyproject.toml index 0aa04de..b33fdb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "streamstore" -version = "3.0.0" +version = "4.0.0" description = "Python SDK for S2, the Stream Store" readme = "README.md" requires-python = ">=3.11" diff --git a/uv.lock b/uv.lock index 7136b8b..b816e07 100644 --- a/uv.lock +++ b/uv.lock @@ -1091,7 +1091,7 @@ wheels = [ [[package]] name = "streamstore" -version = "3.0.0" +version = "4.0.0" source = { editable = "." } dependencies = [ { name = "anyio" },