|
2 | 2 |
|
3 | 3 | All notable changes to this project are documented in this file. |
4 | 4 |
|
5 | | -## [0.3.0] — 2026-03-13 |
| 5 | +## [0.3.0] - 2026-03-13 |
6 | 6 |
|
7 | 7 | ### Added |
8 | | -- Browser-safe unified client parity for: |
9 | | - - `all_mids()` / `sse_all_mids()` |
10 | | - - `l2_book()` / `sse_l2_book()` |
11 | | - - `asset_contexts()` / `sse_asset_contexts()` |
12 | | -- Unified `consensus_pulse()` client method. |
13 | | -- Status API client: |
14 | | - - `hypercore_sdk/status.py` |
15 | | -- Python stdio MCP server: |
16 | | - - `hypercore_sdk/mcp.py` |
17 | | - - `hypercore_sdk/mcp_cli.py` |
18 | | -- Tests for unified snapshot/SSE parity, status client, and MCP server: |
19 | | - - `tests/test_unified_stream.py` |
20 | | - - `tests/test_status.py` |
21 | | - - `tests/test_mcp.py` |
22 | | - - `tests/test_cli.py` |
23 | | -- Dedicated liquidation support in client and examples (`StreamLiquidations` path), plus unified `liquidation_cascade` helpers and MCP passthrough. |
24 | | -- Provider matrix benchmark option for liquidation feed benchmarking. |
25 | | -- Project tracking docs: |
26 | | - - `PROJECT_STATE.md` |
27 | | - - `AGENTS.md` |
28 | | -- Container deployment artifacts: |
29 | | - - `Dockerfile` |
30 | | - - `docker-compose.yml` |
31 | | - - `DEPLOYMENT.md` |
32 | | -- Auth/key-scope preflight utility: `examples/preflight_feed_auth.py` for rpc/unified/disk-ws/grpc validation. |
33 | | -- Provider benchmark JSON template now includes scoped key wiring guidance for gRPC vs unified/disk streams. |
34 | | -- Live gRPC console example for side-by-side `l2Book` and `trades` bridge feeds (`examples/grpc_l2book_trades_console.py`). |
| 8 | + |
| 9 | +- Public package metadata for Python distribution, including license, authors, URLs, classifiers, and package manifest controls. |
| 10 | +- Customer-facing documentation, contribution guide, and a basic connection example. |
| 11 | +- Refreshed API interface reference for external consumers and support handoff. |
| 12 | +- GitHub Actions workflows for CI and tagged releases. |
| 13 | +- Browser-safe unified stream parity for all-mids, L2 book, and asset contexts. |
| 14 | +- Status API client, stdio MCP server, and expanded test coverage. |
35 | 15 |
|
36 | 16 | ### Changed |
37 | | -- `hypercore_sdk/cli.py` now exposes unified commands for `consensus-pulse`, `all-mids`, `l2-book`, `asset-contexts`, `liquidations`, and `cascades`. |
38 | | -- README and API reference now document the Python MCP server and the browser-safe unified interfaces. |
39 | | -- Unified stream client query construction was cleaned up to remove repeated ad hoc param-building paths while keeping request semantics unchanged. |
40 | | -- Feed benchmark split between market WS and disk-sync WS. |
41 | | -- README setup/troubleshooting now documents virtualenv-first install flow. |
42 | | -- `.gitignore` expanded for coverage, caches, local outputs, and egg metadata. |
43 | | -- Default endpoint targets updated to Aleatoric stream infrastructure: |
44 | | - - Market/disk WS default `wss://disk.grpc.aleatoric.systems/` |
45 | | - - Unified API default `https://unified.grpc.aleatoric.systems` |
46 | | - - gRPC default `hl.grpc.aleatoric.systems:443` |
47 | | -- Feed latency benchmark now records per-attempt audit stamps, metric-kind summaries, and event-age stats where source timestamps exist. |
48 | | -- Key selection hardened across feed benchmark, matrix runner, and preflight script to ignore malformed placeholder keys and prefer RPC-scoped keys for gRPC checks. |
49 | | -- Provider benchmark and auth preflight output now make scoped endpoint auth failures explicit, reducing false attribution of partial-provider results to latency regressions. |
50 | | -- Example credential loading and scoped key selection are now centralized in `hypercore_sdk/example_auth.py`, removing drift across benchmark, preflight, provider-matrix, and gRPC live examples. |
51 | | -- Benchmark and preflight HTTP checks now classify upstream `502/503/504` responses as `upstream_unavailable`, and feed benchmark output now includes `auth_key_sources` plus `availability_alerts`. |
52 | | -- Feed benchmark output is now typed via `hypercore_sdk/benchmark_models.py`, supports `--profile-json` / `--out-json`, ships reproducible benchmark profiles plus March 10, 2026 baseline snapshots, and can emit machine-readable availability exit codes. |
53 | | -- `examples/grpc_l2book_trades_console.py` now: |
54 | | - - reports which key source it selected |
55 | | - - runs gRPC health and `PriceService` preflight before streaming |
56 | | - - renders compact gRPC auth-preflight failures instead of raw `_InactiveRpcError` blobs |
57 | | - - fails fast with a clear diagnosis when `PriceService` access returns `403/PERMISSION_DENIED`, including the broader case where health and stream RPCs are both denied by the endpoint |
58 | | -- gRPC live examples now prefer `ALEATORIC_GRPC_KEY` and RPC-scoped keys before `GRPC_STREAM_KEY` / `UNIFIED_STREAM_KEY`, fixing false `403` failures in mixed-key environments. |
59 | | -- README and project-state docs now explain how to distinguish local key-selection drift from endpoint-side gRPC authorization failures. |
60 | | -- README and deployment docs now formalize the containerized SDK runtime/build model and explicitly scope out the external bridge server. |
61 | | -- CI and release automation now run tests, mypy, package builds, and `twine check` for push/PR validation and tagged releases. |
62 | | -- CI now also builds Docker `runtime`/`dev` targets, validates `docker-compose.yml`, runs a containerized CLI smoke, and tagged releases publish the runtime image to GHCR. |
63 | | -- `AGENTS.md` now requires packaging validation alongside the existing gRPC local-vs-endpoint auth verification rules. |
64 | 17 |
|
65 | | -## [0.3.0] - 2026-03-08 |
| 18 | +- Reframed the repository as a public Aleatoric Systems SDK for external customers. |
| 19 | +- Standardized release validation around `pytest`, `mypy`, `python -m build`, and `twine check`. |
| 20 | +- Rewrote the README around installation, authentication, examples, release flow, and support. |
| 21 | +- Expanded MCP tests to treat the published tool matrix as a contract. |
| 22 | + |
| 23 | +## [0.2.0] - 2026-03-08 |
66 | 24 |
|
67 | 25 | ### Added |
68 | | -- Read-only SDK architecture for RPC, WS, gRPC, unified stream, and high-value info surfaces. |
69 | | -- CLI command groups for `price`, `intel`, `rpc`, `stream`, `grpc`, and `speed`. |
70 | | -- Example scripts for auth preflight, latency benchmarking, and live stream consumers. |
| 26 | + |
| 27 | +- Read-only SDK architecture for RPC, WebSocket, gRPC, unified stream, and higher-level info surfaces. |
| 28 | +- CLI commands for `price`, `intel`, `rpc`, `stream`, `grpc`, and `speed`. |
| 29 | +- Example scripts for auth preflight, live streams, and benchmark workflows. |
0 commit comments