mdb-engine 0.6.0__py3-none-any.whl → 0.7.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mdb_engine/__init__.py CHANGED
@@ -82,19 +82,13 @@ from .repositories import Entity, MongoRepository, Repository, UnitOfWork
82
82
  from .utils import clean_mongo_doc, clean_mongo_docs
83
83
 
84
84
  __version__ = (
85
- "0.6.0" # Secure-by-default WebSocket authentication with encrypted session keys
86
- # - NEW: WebSocket session key generation and management
87
- # - NEW: Envelope encryption for WebSocket session keys
88
- # - NEW: Secure-by-default CSRF protection (csrf_required: true)
89
- # - NEW: WebSocketSessionManager with private collection storage
90
- # - NEW: Session key endpoint (/auth/websocket-session)
91
- # - NEW: Session key integration in login flow
92
- # - ENHANCED: WebSocket authentication with session key support
93
- # - ENHANCED: CSRF middleware session key validation
94
- # - ENHANCED: Multi-app WebSocket routing with session keys
95
- # - BACKWARD COMPATIBLE: Cookie-based authentication fallback
96
- # - UPDATED: All documentation for secure-by-default approach
97
- # - COMPREHENSIVE: Unit and integration tests for session keys
85
+ "0.7.1" # Memory service initialization fix for multi-app setups
86
+ # - FIXED: Memory service initialization in create_multi_app context
87
+ # - FIXED: get_memory_service() now returns service when memory_config.enabled: true
88
+ # - ENHANCED: Explicit memory service initialization in create_multi_app lifespan
89
+ # - ENHANCED: Better error handling and logging for memory service initialization
90
+ # - ADDED: Comprehensive integration tests for memory service in multi-app context
91
+ # - ADDED: Unit tests for memory service initialization edge cases
98
92
  )
99
93
 
100
94
  __all__ = [
@@ -131,6 +131,12 @@ from .websocket_sessions import (
131
131
  create_websocket_session_endpoint,
132
132
  )
133
133
 
134
+ # WebSocket tickets
135
+ from .websocket_tickets import (
136
+ WebSocketTicketStore,
137
+ create_websocket_ticket_endpoint,
138
+ )
139
+
134
140
  __all__ = [
135
141
  # Base classes
136
142
  "BaseAuthorizationProvider",
@@ -241,4 +247,7 @@ __all__ = [
241
247
  # WebSocket sessions
242
248
  "WebSocketSessionManager",
243
249
  "create_websocket_session_endpoint",
250
+ # WebSocket tickets
251
+ "WebSocketTicketStore",
252
+ "create_websocket_ticket_endpoint",
244
253
  ]