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
- **Added new concurrency model system**
- Created `AndroidxSqliteConcurrencyModel` with multiple concurrency strategies
- Added support for single reader/writer, multiple readers, and multiple readers with single writer patterns
- Enhanced WAL mode support with configurable reader connection counts
- **Refactored driver architecture**
- Split `AndroidxSqliteDriver` into focused components:
- `AndroidxSqliteExecutingDriver` - handles SQL execution
- `AndroidxSqliteDriverHolder` - manages schema initialization and lifecycle
- `AndroidxSqliteConfigurableDriver` - provides driver configuration
- Improved separation of concerns and testability
- **Enhanced SQL handling and safety**
- Added `AndroidxSqliteSpecialCase` enum for special SQL operations
- Created `AndroidxSqliteUtils` for SQL parsing and analysis
- Improved journal mode setting with dedicated connection handling
- Enhanced foreign key constraint validation
- **Improved connection pool management**
- Refactored `ConnectionPool` with better concurrency control
- Added safer connection acquisition/release patterns
- Enhanced transaction handling with proper connection isolation
- **Expanded test coverage**
- Added comprehensive `ConnectionPoolTest` suite
- Added `AndroidxSqliteUtilsTest` for SQL parsing validation
- Updated existing tests to work with new architecture
- **Documentation improvements**
- Updated README with new concurrency model documentation
- Added detailed API documentation for new components
Copy file name to clipboardExpand all lines: integration/src/commonTest/kotlin/com/eygraber/sqldelight/androidx/driver/integration/AndroidxSqliteConcurrencyIntegrationTest.kt
Copy file name to clipboardExpand all lines: integration/src/commonTest/kotlin/com/eygraber/sqldelight/androidx/driver/integration/AndroidxSqliteIntegrationTest.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@ abstract class AndroidxSqliteIntegrationTest {
0 commit comments