chore: release alkhttp 0.2.0
- version bump 0.1.0 -> 0.2.0 (new public API: OpenableAlpn establisher fields + with_establisher builder; rides alkcall 0.5's semver-incompatible channels types) - README usage snippet 0.1 -> 0.2 - changelog: cut [0.2.0], add the missing alkcall 0.5.0 wave (ADR-049 establisher pass) to the dependency history Verification: cargo test (454 passed), cargo test --all-features (587 passed), clippy -D warnings (default + all-features), cargo fmt --check, cargo doc --no-deps, cargo publish --dry-run --allow-dirty
This commit is contained in:
@@ -6,6 +6,8 @@ this crate adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.2.0] — 2026-09-06
|
||||
|
||||
### Changed
|
||||
|
||||
- **`alkcall` dependency bumped to 0.2** with the `gateway` feature
|
||||
@@ -28,6 +30,21 @@ this crate adheres to [Semantic Versioning](https://semver.org/).
|
||||
validate before dispatch.
|
||||
- 0.4.1 — early-arrival chunks are parked for un-adopted
|
||||
channels, closing the open/first-data race on the WS overlay.
|
||||
- 0.5.0 — the channels establisher phase (ADR-049):
|
||||
`OpenableAlpn` gains `establisher: Option<OpenEstablisher>` and
|
||||
`establisher_timeout: Option<Duration>` (both default `None` via
|
||||
`OpenableAlpn::new`, so existing constructions compile
|
||||
unchanged) plus a `with_establisher(establisher, timeout)`
|
||||
builder; the WS ferry calls
|
||||
`register_openable_with_establisher`, threading both fields
|
||||
through. With an establisher attached, the open op awaits the
|
||||
bounded establishment phase before the reply and resolves
|
||||
`channel:open_failed` with `details.reason` on failure — the
|
||||
channel never exists consumer-side. Without one, behavior is
|
||||
the pre-0.5 shape. The alkcall 0.5.0 `open_channel` error-type
|
||||
change needs no alkhttp change (this crate never calls
|
||||
`open_channel`; `from_wss` uses `ChannelClient::from_connection`
|
||||
only).
|
||||
- **`/publish` chunk validation uses the registry-owned validator**
|
||||
(CF-003). The local compile-once `PublishSchemaCache`
|
||||
(`gateway/schema_cache.rs`) is removed — `publish_schema` is
|
||||
|
||||
Generated
+1
-1
@@ -48,7 +48,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "alkhttp"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"alkcall",
|
||||
"arc-swap",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "alkhttp"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.85"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
@@ -161,7 +161,7 @@ A lean single-side build takes `default-features = false` plus the side
|
||||
it needs:
|
||||
|
||||
```toml
|
||||
alkhttp = { version = "0.1", default-features = false, features = ["server"] }
|
||||
alkhttp = { version = "0.2", default-features = false, features = ["server"] }
|
||||
```
|
||||
|
||||
## Security posture
|
||||
|
||||
Reference in New Issue
Block a user