mirror of
https://github.com/s2-streamstore/s2.git
synced 2026-09-29 18:16:03 +00:00
## 🤖 New release * `s2-lite`: 0.43.0 -> 0.43.1 (✓ API compatible changes) * `s2-sdk`: 0.35.0 -> 0.35.1 (✓ API compatible changes) * `s2-cli`: 0.43.0 -> 0.43.1 * `s2-testcontainers`: 0.43.0 -> 0.43.1 <details><summary><i><b>Changelog</b></i></summary><p> ## `s2-lite` <blockquote> ## [0.43.1] - 2026-09-28 ### Bug Fixes - Resolve AWS region from profile chain for static credentials ([#780](https://github.com/s2-streamstore/s2/issues/780)) <!-- generated by git-cliff --> </blockquote> ## `s2-sdk` <blockquote> ## [0.35.1] - 2026-09-28 ### Features - Surface http2 knobs relevant to flow control ([#776](https://github.com/s2-streamstore/s2/issues/776)) <!-- generated by git-cliff --> </blockquote> ## `s2-cli` <blockquote> ## [0.43.1] - 2026-09-28 <!-- generated by git-cliff --> </blockquote> ## `s2-testcontainers` <blockquote> ## [0.43.1] - 2026-09-28 <!-- generated by git-cliff --> </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). Co-authored-by: release-pleaze[bot] <262023388+release-pleaze[bot]@users.noreply.github.com> |
History
|
|
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| README.md | ||
s2-testcontainers
Testcontainers helpers for the S2 Docker image, with a paved path for s2-lite integration tests.
See examples/s2_lite.rs for a complete example that
starts s2-lite, builds an SDK client, and ensures a basin/stream.
For lower-level composition with testcontainers, use s2_image() for the raw S2 Docker image or s2_lite_image() for a container request with the lite subcommand configured:
use s2_testcontainers::{s2_config_for_endpoint, s2_image, s2_lite_image};
let image = s2_image();
let request = s2_lite_image();
let config = s2_config_for_endpoint("http://localhost:8080", "ignored").unwrap();