Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 0
Generated: 07:48:25
ContextVM SDK v0.1.31 Release Notes We are excited to announce the release of ContextVM SDK v0.1.31! This update brings powerful new features, significant performance enhancements, and important bug fixes to improve the developer experience and the robustness of your applications. 🚀 New Features - Stateless Mode for Nostr Client Transport To optimize performance and reduce network overhead, we've introduced a stateless mode for the 'NostrClientTransport'. Previously, clients had to complete a handshake before making requests. Now, you can bypass this initialization step, allowing clients to start making method calls immediately. This is especially beneficial for applications requiring fast startup times. For more details, check out our documentation: https://docs.contextvm.org/ts-sdk/transports/nostr-client-transport/#stateless-mode - Capability Exclusion for Whitelisting We've enhanced our server's whitelisting capabilities to provide more granular control. You can now specify an array of `excludedCapabilities` that will not require public key whitelisting. This is perfect for servers that expose a mix of private methods (for whitelisted keys) and public methods (open to everyone), offering greater flexibility in defining your security policies. 🐛 Bug Fixes & Improvements - Enhanced Server Reliability for Long-Lived Connections: We have significantly improved the reliability of deployed servers by overhauling session management for long-lived connections. This includes configurable session cleanup and faster client lookups, leading to greater stability and performance. - Enhanced Nostr Performance: The Nostr transports now benefits from significant performance improvements, thanks to the new stateless client mode and optimized server-side session management. - Correct Unauthorized Error Handling: Servers now correctly send a JSON-RPC error (`-32000`, 'Unauthorized') when a request is made by a non-whitelisted public key, ensuring clients receive clear and standardized feedback. - High-Performance Logging with Pino: Replaced the custom logger with Pino for structured, high-performance logging with flexible configuration options. - Relay Pool Update: The `applesauce-relay` dependency has been updated to v4, and the SDK has been adapted to its new API, improving relay management and debugging. --- This release marks another step forward in making the ContextVM SDK more powerful, secure, and easy to use. We thank our contributors and community for their valuable feedback. The ContextVM Team
2025-10-13 19:00:03 from 1 relay(s)
Login to reply