From d432c2d5c58df6905fc34624bbc44e7901f4e602 Mon Sep 17 00:00:00 2001 From: Alex Luck Date: Thu, 14 May 2026 14:18:31 -0700 Subject: [PATCH 1/2] updates --- python/CHANGELOG.md | 14 ++++++++++++++ python/pyproject.toml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/python/CHANGELOG.md b/python/CHANGELOG.md index 93734f331..13638a953 100644 --- a/python/CHANGELOG.md +++ b/python/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [v0.16.0] - May 14, 2026 + +### What's New +#### Description, Metadata, and Associated Channels on Test Measurements +`TestMeasurementCreate` and `TestMeasurementUpdate` now accept `description`, `metadata`, and `channel_names` to attach contextual information and link measurements to the channels they were derived from. `channel_names` accepts either channel name strings or `Channel` objects. Descriptions longer than 2000 characters are truncated with a warning to match the server-side limit. + +### Bugfixes +- Pass the configured log file through to test result update calls so update events are written to the `.jsonl` log alongside create events. ([#560](https://github.com/sift-stack/sift/pull/560)) + +### Full Changelog +- [Update protos](https://github.com/sift-stack/sift/pull/559) +- [Fix log not being passed with update calls](https://github.com/sift-stack/sift/pull/560) +- [Add metadata, description, and associated channel support to measurements](https://github.com/sift-stack/sift/pull/561) + ## [v0.15.0] - May 7, 2026 ### What's New diff --git a/python/pyproject.toml b/python/pyproject.toml index 4e0e7165e..0fc34e914 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "sift_stack_py" -version = "0.15.0" +version = "0.16.0" description = "Python client library for the Sift API" requires-python = ">=3.8" readme = { file = "README.md", content-type = "text/markdown" } From f62177c31665ea307ac92167dac4f4568b2e26f4 Mon Sep 17 00:00:00 2001 From: Alex Luck Date: Thu, 14 May 2026 15:31:23 -0700 Subject: [PATCH 2/2] update changelog --- python/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/CHANGELOG.md b/python/CHANGELOG.md index 13638a953..246bf7416 100644 --- a/python/CHANGELOG.md +++ b/python/CHANGELOG.md @@ -9,6 +9,9 @@ This project adheres to [Semantic Versioning](http://semver.org/). #### Description, Metadata, and Associated Channels on Test Measurements `TestMeasurementCreate` and `TestMeasurementUpdate` now accept `description`, `metadata`, and `channel_names` to attach contextual information and link measurements to the channels they were derived from. `channel_names` accepts either channel name strings or `Channel` objects. Descriptions longer than 2000 characters are truncated with a warning to match the server-side limit. +#### Metadata on Test Steps +`TestStepCreate` and `TestStepUpdate` now accept a `metadata` dict so test steps can carry structured key/value context the same way reports and measurements do. The `ReportContext.new_step` / `create_step` and `NewStep.substep` helpers in the test-results context manager forward a new `metadata` kwarg through to the created step. + ### Bugfixes - Pass the configured log file through to test result update calls so update events are written to the `.jsonl` log alongside create events. ([#560](https://github.com/sift-stack/sift/pull/560)) @@ -16,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - [Update protos](https://github.com/sift-stack/sift/pull/559) - [Fix log not being passed with update calls](https://github.com/sift-stack/sift/pull/560) - [Add metadata, description, and associated channel support to measurements](https://github.com/sift-stack/sift/pull/561) +- [Add step metadata support](https://github.com/sift-stack/sift/pull/563) ## [v0.15.0] - May 7, 2026