@cloudflare/think@0.7.0
cloudflare/agents@cloudflare/think@0.7.0May 19, 2026by github-actions[bot]
AI Summary
This minor release adds experimental Postgres-backed session, context, and search providers for external storage via Hyperdrive-compatible pg clients. Session APIs have been updated to consistently return promises for better async/await support, with cache-aware handling for idempotent appends and compaction overlays.
Key Highlights
- Added experimental Postgres-backed session, context, and search providers
- Support for Hyperdrive-compatible pg clients for external session storage
- Session APIs now consistently return promises for async/await support
- Think's session integration updated with cache-aware handling for idempotent appends
- Compaction overlays included for the async session API
New Features
- Experimental Postgres-backed session provider for external storage
- Experimental Postgres-backed context provider for external storage
- Experimental Postgres-backed search provider for external storage
- Consistent promise-based session APIs
- Cache-aware handling for idempotent appends and compaction overlays
Full Release Notes
### Minor Changes
- [#1297](https://github.com/cloudflare/agents/pull/1297) [`d151e6d`](https://github.com/cloudflare/agents/commit/d151e6d6ccd37820c37d5fd4208a531fd8144950) Thanks [@mattzcarey](https://github.com/mattzcarey)! - Add experimental Postgres-backed session, context, and search providers for external session storage via Hyperdrive-compatible `pg` clients.
Session APIs now consistently return promises so callers can use the same surface with local SQLite or external storage providers. Think's session integration has been updated for the async session API, including cache-aware handling for idempotent appends and compaction overlays.