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
release(v6.2.0): telemetry endpoint_type field (#138)
* release(v6.2.0): telemetry endpoint_type + v6.2.0 version bump
#1525 — Add endpoint_type field to checkpoint telemetry
- New _classify_endpoint() helper in axonflow/telemetry.py classifies the
configured URL into one of: localhost, private_network, remote, unknown.
The raw URL is never sent or hashed — only the classification.
- _build_payload() now threads endpoint_type through; _do_ping() calls
the classifier using the agent endpoint from the client config.
- 11 new unit tests cover localhost (hostname, IPv4, IPv6, 0.0.0.0,
*.localhost), private network (RFC1918 v4, link-local, *.local,
*.internal, *.lan, *.intranet), remote (public IPv4, public hostnames),
malformed URLs (unknown), and case-insensitivity.
- The payload test explicitly asserts no URL-shaped strings leak into
the serialized payload.
Version bumps:
- axonflow/_version.py: 6.1.0 → 6.2.0
- pyproject.toml: 6.0.0 → 6.2.0 (was a stale version-mismatch bug)
* docs(changelog): add v6.2.0 entry
* fix(lint): ruff cleanup for telemetry.py
- Extract _LOCALHOST_HOSTS frozenset to scope the S104 'bind to all
interfaces' lint suppression to the tuple literal (0.0.0.0 is a
valid localhost indicator in a client-endpoint context)
- Split try/else to satisfy TRY300 (return statement should be in
else block, not after try)
- Sort imports in test file (I001)
- Keep PLR0911 too-many-returns ignore as noqa comment (splitting the
classifier further would hurt readability without benefit)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,18 @@ All notable changes to the AxonFlow Python SDK will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [6.2.0] - 2026-04-09
9
+
10
+
### Added
11
+
12
+
-**Telemetry `endpoint_type` field.** The anonymous telemetry ping now includes an SDK-derived classification of the configured AxonFlow endpoint as one of `localhost`, `private_network`, `remote`, or `unknown`. The raw URL is never sent and is not hashed. This helps distinguish self-hosted evaluation from real production deployments on the checkpoint dashboard. Opt out as before via `DO_NOT_TRACK=1` or `AXONFLOW_TELEMETRY=off`.
13
+
14
+
### Changed
15
+
16
+
- Examples and documentation updated to reflect the new AxonFlow platform v6.2.0 defaults for `PII_ACTION` (now `warn` — was `redact`) and the new `AXONFLOW_PROFILE` env var. No SDK API changes; the SDK continues to pass `PII_ACTION` through unchanged.
0 commit comments