You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dead simple session management with automatic expiration, multiple storage backends, and multi-tenant isolation. Perfect for web apps, APIs, and any system needing reliable sessions.
@@ -117,14 +117,15 @@ Session Lifecycle:
117
117
[Done]
118
118
```
119
119
120
-
## ✨ What's New in v0.5
120
+
## ✨ What's New in v0.6
121
121
122
122
-**🎯 Pydantic Native**: All models are Pydantic-based with automatic validation
123
123
-**🔒 Type-Safe Enums**: No more magic strings - `SessionStatus.ACTIVE`, `ProviderType.REDIS`
124
124
-**📦 Exported Types**: Full IDE autocomplete for `SessionMetadata`, `CSRFTokenInfo`, etc.
125
125
-**⚡ Async Native**: Built from ground-up for async/await
126
126
-**🔄 Backward Compatible**: Existing code works unchanged
127
-
-**✅ 90%+ Test Coverage**: 202 tests, battle-tested
127
+
-**🗂️ Bounded LRU Cache**: In-process session cache is capped at 1024 entries (evicts LRU) — no unbounded memory growth
128
+
-**✅ 90%+ Test Coverage**: 264 tests, battle-tested
128
129
129
130
```python
130
131
from chuk_sessions import SessionManager, SessionStatus, SessionMetadata
description = "CHUK Sessions provides a comprehensive, async-first session management system with automatic expiration, and support for both in-memory and Redis storage backends. Perfect for web applications, MCP servers, API gateways, and microservices that need reliable, scalable session handling."
0 commit comments