release: Java SDK v6.0.0#140
Merged
Merged
Conversation
Major release. Driven by a single observable-contract change: WebhookSubscription.equals() and .hashCode() are now identity-based on id, not value-based on every field. The prior value-based equality was a bug — WebhookSubscription is an entity, not a value object — but equals/hashCode are part of the public Java contract that callers depend on for set deduplication, map lookup, and identity caches, so the fix is breaking per strict semver. Bumps: - pom.xml: 5.7.0 -> 6.0.0 - CHANGELOG [Unreleased] -> [6.0.0] - 2026-04-25 Wire-shape baseline regenerated against community SHA 10d44eb4 (post platform v7.4.2 spec corrections). DynamicPolicyInfo entry auto-resolves. Net 39 -> 38. Coordinated v6 alignment release: ships same day as TypeScript v6.0.0, Python v6.7.0, Go v5.7.0. The TS and Java repos needed major bumps; Python and Go ship as minor because their changes are purely additive.
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
Major release — driven by a single observable-contract change.
`WebhookSubscription.equals()` and `.hashCode()` are now identity-based on `id`, not value-based on every field. The prior value-based equality was a bug — `WebhookSubscription` is an entity, not a value object — but `equals` / `hashCode` are part of the public Java contract that callers depend on for set deduplication, map lookup, and identity caches, so the fix is breaking per strict semver. See CHANGELOG `[6.0.0]` for the rationale.
The 6-arg constructor is preserved as a source-compat overload for callers building local instances; only `equals` / `hashCode` semantics changed.
Bumps
Wire-shape baseline regen
Pin SHA bumped `bf1ca22a` → `10d44eb4`. `DynamicPolicyInfo` auto-resolves. Net 39 → 38.
Coordinated release
Ships same day as TS v6.0.0 (PolicyInfo rename — the other BREAKING SDK), Python v6.7.0 (additive — minor), Go v5.7.0 (additive — minor). The semver asymmetry is principled.
Test plan