You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add explicit OpenAPI component registration plumbing so handlers can register referenced schemas and avoid dangling $ref entries. Introduce a register_components(...) hook on OperationModifier/ResponseModifier (with defaults) and implement it for body/response/validation extractors (Json, ValidatedJson, AsyncValidatedJson, Query, Created, WithStatus, ApiError, etc.). Thread a component_registrar fn through Route and MethodRouter (collecting per-method registrars) and invoke registrars when routes and nested routers are added to RustApi, and when individual routes are registered. Update OpenApiSpec default jsonSchemaDialect to the OAS 3.1 dialect URL. Tests updated to assert the dialect and to add a snapshot test that verifies manually-registered routes populate components. Also update CHANGELOG and RELEASES with the new release notes describing these changes.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+64Lines changed: 64 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,70 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
## [0.1.410] - 2026-03-09
11
+
12
+
### Added
13
+
14
+
#### Production Defaults Preset (`rustapi-core`)
15
+
-**One-call production baseline**: `.production_defaults("service-name")` enables `RequestIdLayer`, `TracingLayer`, and built-in health probes in a single builder call.
16
+
-`ProductionDefaultsConfig` for granular control: `.version()`, `.tracing_level()`, `.request_id()`, `.tracing()`, `.health_endpoints()`.
17
+
-`.production_defaults_with_config(config)` for full customization.
18
+
19
+
#### Health Check System (`rustapi-core`)
20
+
-**Built-in `/health`, `/ready`, `/live` endpoints** — Kubernetes-compatible probes out of the box.
21
+
-`HealthCheckBuilder` with `.add_check(name, async_fn)` for custom dependency checks.
0 commit comments