Skip to content

v4.5.0

Latest

Choose a tag to compare

@hogan-yuan hogan-yuan released this 14 Aug 07:28
· 18 commits to main since this release
68080b6

Added

  • AI Agent (all languages): AgentContext.public_agents (GET /v1/ai/agents, the Explore catalog); optional parent_message_id for conversation / conversation_streamed; and fuller response modeling — ConversationResponse.further_questions, the complete Reference payload, ChatStartedPayload (chat_id / error / error_message), and Interrupt.interactions / QuestionOption.label (with null lists tolerated).

Changed

  • All languages: every HttpClient now shares a single process-wide reqwest::Client (one connection pool / DNS cache / TLS state instead of one per context).

Fixed

  • All languages: the TradeContext / QuoteContext reconnect loop now stops when the context is dropped — no more leaked reconnect tasks, HTTP pools, or WebSocket state.
  • Java SDK: JNI memory safety — invalid arguments now throw IllegalArgumentException instead of aborting the JVM; callback threads no longer abort on failure; and native-handle objects (Config / HttpClient / OAuth / every *Context) are safe under concurrent use and close (no more double-free / use-after-free / SIGSEGV).

Full changelog: https://github.com/longbridge/openapi/blob/v4.5.0/CHANGELOG.md