prep(v5.3.0): fix IPv6 endpoint classification — Release Pending (2026-04-09)#126
Merged
saurabhjain1592 merged 1 commit intomainfrom Apr 8, 2026
Merged
prep(v5.3.0): fix IPv6 endpoint classification — Release Pending (2026-04-09)#126saurabhjain1592 merged 1 commit intomainfrom
saurabhjain1592 merged 1 commit intomainfrom
Conversation
v5.3.0 prep for the planned 2026-04-09 release. Not cut here — PR stays open for user review. Review finding P3 (user-reported): - classifyEndpoint now handles IPv6 private ranges and expanded loopback forms that previously fell through to REMOTE: - IPv6 ULA (fc00::/7, RFC 4193) → private_network - IPv6 link-local (fe80::/10) → private_network - Expanded IPv6 loopback (0:0:0:0:0:0:0:1) → localhost - IPv6 unspecified (::) → localhost - Matches Python and Go SDK behavior. Implementation: new expandIPv6(addr) helper expands :: compression into a full 8-hextet form for prefix comparison. ULA detection checks first hextet starts with 'fc' or 'fd'. Link-local detection checks first hextet in [fe80..febf]. Deprecated site-local fec0::/10 stays remote. Tests: 26/26 pass (up from 20 in v5.2.0). New cases for IPv6 ULA, link- local, expanded loopback, unspecified, public IPv6, deprecated site-local. Manifest bumps: - pom.xml: 5.2.0 → 5.3.0 - v5.2.0 changelog entry date corrected 2026-04-09 → 2026-04-08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
v5.3.0 prep — Release Pending (2026-04-09). Staged for the planned release tomorrow with Greg's work. NOT released here.
Review findings addressed
P3 (user-reported) — IPv6 classification
fc00::/7) →private_networkfe80::/10) →private_network0:0:0:0:0:0:0:1) →localhost::→localhostremotefec0::/10→remoteImplementation
expandIPv6(addr)static helper expands::compression into a full 8-hextet form for prefix comparison. Assumes input is fromURI.getHost()after bracket stripping.fcorfd.[fe80..febf](lex comparison).Changelog + manifest
pom.xml: 5.2.0 → 5.3.0 (manifest bump per user direction)## [5.3.0] - Release Pending (2026-04-09)header — user finalizes at release timeTests
mvn test -Dtest=TelemetryEndpointTypeTest→ 26/26 pass (up from 20 in v5.2.0). New cases: IPv6 ULA (fd00, fd12:3456, fc00, fcff:ffff), link-local (fe80, febf), expanded loopback, unspecified, deprecated site-local, public IPv6 (2001:4860, 2606:4700).Not released
No tag, no publish, no merge. PR stays OPEN for user review.