Skip to content

v1.11.0

Choose a tag to compare

@mpangrazzi mpangrazzi released this 13 Feb 16:17
a7cb36c

✨ New Features

Context Variable Propagation in Sync Streaming

The sync streaming_generator now propagates contextvars into the pipeline execution thread. This means caller-set context, such as tracing/span IDs, request-scoped state, or authentication tokens is correctly available inside the pipeline thread during streaming execution.

The async streaming paths (asyncio.create_task, asyncio.to_thread) already handled this automatically and are unaffected.

🎨 Other Changes

  • Use deepset/haystack:stable as the base Docker image instead of the previous default

What's Changed

  • chore: use deepset/haystack:stable as base Docker image by @anakin87 in #216
  • Add contextvars copying to sync streaming generator by @mpangrazzi in #217

Full Changelog: v1.10.0...v1.11.0