Skip to content

Commit a11690d

Browse files
chore(master): release servicewright 0.1.0 (#1)
* chore(master): release servicewright 0.1.0 * docs: write a real changelog entry for the 0.1.0 release --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: AlexeyShalaev <shalaevad.alexey@yandex.ru> Co-authored-by: Alexey Shalaev <75322386+AlexeyShalaev@users.noreply.github.com>
1 parent 2592eba commit a11690d

4 files changed

Lines changed: 21 additions & 3 deletions

File tree

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.0"
2+
".": "0.1.0"
33
}

‎CHANGELOG.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
11
# Changelog
2+
3+
## 0.1.0 (2026-08-12)
4+
5+
Initial release of servicewright.
6+
7+
### Features
8+
9+
* `Host` + `Entrypoint` model — one `AppSpec` runs any number of transports (HTTP, gRPC, scheduler, daemon, one-shot) under a single lifecycle
10+
* Kubernetes-correct shutdown — readiness flips to false before draining, each entrypoint finishes in-flight work inside a grace window, the DI scope closes last
11+
* Failure is visible — an essential entrypoint that dies mid-serve propagates out of `run()`, so the process exit code distinguishes a crash from a graceful stop
12+
* Stop-aware startup — a signal during warmup or bind abandons startup instead of binding ports and reporting ready on a terminating process
13+
* Signal escalation — the first SIGINT/SIGTERM drains gracefully, a second exits immediately with `128 + signum`
14+
* Transport-neutral error taxonomy — one `ServiceError` renders as an RFC 9457 problem document over HTTP and as the mapped `grpc.StatusCode` over gRPC, with one masking rule and a pluggable renderer
15+
* Transport-neutral correlation store — one request id in the logs, in outbound propagation and in the response, bridged into structlog contextvars and OTel Baggage
16+
* DI-agnostic two-tier scopes — `AppScope` for process-lifetime singletons, a fresh `UnitScope` per request/RPC/job; dishka adapter included
17+
* Pluggable observability — metrics, tracing, logging and error tracking as kernel protocols with prometheus, OpenTelemetry, Sentry, structlog and stdlib backends, plus `register_sink` for your own
18+
* Priority-grouped, fail-fast warmup and a health registry driving both the HTTP probes and the gRPC health service
19+
* Zero hard dependencies — `pip install servicewright` pulls nothing; every framework binding lives behind an extra

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "servicewright"
3-
version = "0.0.0"
3+
version = "0.1.0"
44
description = "Batteries-optional microservice runtime: lifecycle, observability, warmup and gRPC/FastAPI transport entities to build services fast"
55
readme = "README.md"
66
requires-python = ">=3.12"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)