Skip to content

Commit 32d7af9

Browse files
authored
version: 发布1.1.8版本 (#81)
1 parent ce81a2c commit 32d7af9

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Changelog
22

3+
## [1.1.8](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.8) (2026-06-12)
4+
5+
### Features
6+
7+
* Session: Reworked session history storage from `Event.model_flags`-based model visibility to an active/historical split, with `Session.events` holding the active model window and `Session.historical_events` optionally retaining events moved out by max-event filtering, TTL, or summarization.
8+
* Session: Added `SessionServiceConfig.store_historical_events`, updated Redis, SQL, and InMemory persistence semantics for active/historical events, and kept list APIs lightweight by omitting both active and historical events from `list_sessions()`.
9+
* Session: Optimized summarization by keeping `[summary_event, recent_events...]` as the new active window and checking only the leading summary anchor instead of repeatedly scanning the event list.
10+
* Model: Added configuration support for OpenAI/Anthropic APIs and LiteLLM prompt cache.
11+
12+
### Bug Fixes
13+
14+
* Telemetry: Propagated span context correctly in async generators by using `start_span` with context attach/detach, and fixed member-agent input tracing to prefer `override_messages` over `user_content`.
15+
16+
## [1.1.7](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.7) (2026-06-05)
17+
18+
### Bug Fixes
19+
20+
* Runner: Added `close_session_service_on_close` and `close_memory_service_on_close` controls so short-lived runners can skip closing externally managed session and memory services, such as shared Redis-backed services.
21+
* MCP: Updated Streamable HTTP session creation to prefer the non-deprecated `streamable_http_client` API, with fallback support for older MCP SDKs that only expose `streamablehttp_client`.
22+
* MCP: Moved Streamable HTTP headers and timeout configuration onto an owned `httpx.AsyncClient`, avoiding deprecated transport arguments while keeping the HTTP client lifecycle tied to the MCP session context.
23+
* Storage: Fixed frequent sqlite warnings in `SqlSessionService` by consistently using database-side `func.now()` for update timestamps.
24+
25+
326
## [1.1.6](https://github.com/trpc-group/trpc-agent-python/releases/tag/v1.1.6) (2026-06-03)
427

528
### Features

tests/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
def test_version():
1212
"""Test the version module."""
13-
assert __version__ == '1.1.6'
13+
assert __version__ == '1.1.8'

trpc_agent_sdk/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
This module defines the version information for TRPC Agent
1010
"""
1111

12-
__version__ = '1.1.6'
12+
__version__ = '1.1.8'

0 commit comments

Comments
 (0)