This release introduces Thor v2.1.5, featuring significant enhancements, new tools, and performance optimizations for developers and node operators. With the debut of thorclient, a Go-based client for interacting with the VeChainThor blockchain, as well as improvements to subscription performance, debugging tools, and API configurations, this update empowers a smoother and more efficient development experience.
What's Changed:
- Thor Client Released: Introduced thorclient, a Go client library enabling developers to interact with VeChainThor accounts, transactions, blocks, events, and other blockchain features via HTTP and WebSocket connections. (#818, #908)
- Subscription Endpoint Caching: Added a simple cache to the beat, beat2, and block subscription endpoints, enhancing CPU performance during high on-chain traffic and heavy subscription loads. (#866)
- Deprecated Endpoints Disabled by Default: Deprecated endpoints are now disabled by default, improving security and resource allocation. Use the
--api-enable-deprecated
flag to re-enable these endpoints if necessary. Deprecated endpoints includePOST /accounts
,POST /accounts/{address}
andWebSocket /subscriptions/beat
(#897) - Raw Query Support for Blocks Endpoint: Added support for the raw query parameter in the /blocks endpoint, returning RLP-encoded block headers for block signature verification. (#899)
- Node Health Endpoint: Introduced a node health API endpoint, enabling quick evaluation of node health through metrics such as blockchain progress and peer connectivity. (#836)
Contributors
@libotony
@otherview
@darrenvechain
@paologalligit
@MakisChristou
@YeahNotSewerSide
@jsvisa
New Contributors
- @YeahNotSewerSide made their first contribution in #899
- @jsvisa made their first contribution in #905
- @freemanzMrojo made their first contribution in #915
Full Changelog: v2.1.4...v2.1.5