Skip to content

v1.28.0

Latest

Choose a tag to compare

@skynetcap skynetcap released this 09 Feb 19:21

πŸš€ v1.28.0 Release Notes β€” RPC + WSS Coverage & Reliability Update

This release delivers a major API coverage and reliability upgrade across both HTTP RPC and WebSocket PubSub (WSS).
It closes documented Solana method/parameter gaps, strengthens typed Java ergonomics (less stringly-typed caller code), and improves subscription lifecycle behavior with better reconnect/resubscribe stability and test coverage.


✨ Highlights

  • βœ… Expanded Solana API parity for both RPC and PubSub methods
  • πŸ”’ Typed overloads for key RPC methods to reduce map/string parameter usage
  • 🧠 getProgramAccounts improvements including withContext response compatibility
  • πŸ“‘ WSS subscription enhancements for richer subscribe/unsubscribe coverage
  • ♻️ Reconnect/resubscribe hardening with deterministic restoration behavior
  • πŸ§ͺ Broader test coverage (unit + integration) for all newly added request flows
  • πŸ“ Improved Javadocs and inline comments for maintainability

🌐 RPC Improvements

Expanded typed parameter support

Added/extended typed overloads for key methods so callers can use Java types directly instead of building ad-hoc maps:

  • getLatestBlockhash(...)
  • getBalance(...)
  • getTransaction(...)
  • getSupply(...)
  • getBlock(...)
  • getBlockProduction(...)
  • requestAirdrop(...)
  • simulateTransaction(...)
  • vote-account related config paths

getProgramAccounts coverage

  • Improved support for documented parameter combinations
  • Handles both response shapes:
    • standard list response
    • withContext wrapper response
  • Advanced usage is routed through typed config patterns instead of generic string maps

πŸ“‘ WebSocket (WSS) Improvements

Subscription API coverage

Enhanced support for:

  • signatureSubscribe (including extended options)
  • logsSubscribe (mentions/filter variants)
  • blockSubscribe (extended config options)
  • programSubscribe (typed config usage)

Unsubscribe parity

Added explicit method aliases to match documented Solana PubSub unsubscribe methods:

  • accountUnsubscribe
  • blockUnsubscribe
  • logsUnsubscribe
  • programUnsubscribe
  • rootUnsubscribe
  • signatureUnsubscribe
  • slotUnsubscribe
  • slotsUpdatesUnsubscribe
  • voteUnsubscribe

Reconnect & resubscribe reliability

  • Improved stability around reconnect behavior
  • Strengthened resubscribe flow handling for active/pending subscriptions
  • Reduced race-condition risk in subscription restoration paths

πŸ§ͺ Testing & Quality

  • Added new unit + integration tests for newly supported overloads and config paths
  • Added targeted websocket tests for richer WSS subscribe payloads
  • Stabilized websocket unit tests with deterministic mocked connection state
  • Verified touched files are lint-clean

πŸ”§ Developer Experience

  • Refined API ergonomics toward typed overloads/config objects
  • Reduced reliance on caller-side string-key maps for newly touched APIs
  • Added and expanded Javadocs + inline comments to clarify behavior and usage

πŸ“Œ Migration Notes

If you were using map-based parameter entry points in the newly refactored areas, prefer the new typed overloads/config classes for forward compatibility and better compile-time safety.


πŸ™Œ Summary

This release focuses on completeness + correctness + ergonomics: more Solana API parity, safer typed calling patterns, stronger websocket behavior under reconnect, and better confidence through improved testing.