Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,33 @@

- Date format: YYYY-MM-dd

## 2.0.0 / 2025-10-xx
## 2.0.0 / 2025-10-23

### All

* Update `Kotlin`'s version to `2.2.20`
* Update `Kotlin`'s version to `2.2.21`
* Remove the Desuger configuration
* Update minimal supported Android version from API 23 to 24

### sqllin-dsl

* Optimized performance for SQL assembly
* New API for creating Database: `DSLDBConfiguration`
* New experimental API: `DatabaseScope#CREATE`
* New experimental API: `DatabaseScope#DROP`
* New experimental API: `DatabaseSceop#ALERT`
* New annotation for marking primary key: `PrimaryKey`
* New annotation for marking composite primary key: `CompositePrimaryKey`
* New experimental API for creating Database: `DSLDBConfiguration`
* New experimental DSL API: `DatabaseScope#CREATE`
* New experimental DSL API: `DatabaseScope#DROP`
* New experimental DSL API: `DatabaseSceop#ALERT`
* Support using ByteArray in DSL, that represents BLOB in SQLite

### sqllin-driver

* Update the `sqlite-jdbc`'s version to `3.50.3.0`
* **Breaking change**: The data type of `bindParams` in `DatabaseConnection#query` changed from `Array<out String?>?` to `Array<out Any?>?`

### sqllin-processor

* Update `KSP`'s version to `2.2.20-2.0.4`
* Update `KSP`'s version to `2.3.0`

## 1.4.4 / 2025-07-07

Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[versions]

kotlin = "2.2.20"
kotlin = "2.2.21"
agp = "8.12.3"
ksp = "2.2.20-2.0.4"
ksp = "2.3.0"
serialization = "1.9.0"
coroutines = "1.10.2"
androidx-annotation = "1.9.1"
Expand All @@ -11,7 +11,7 @@ androidx-test-runner = "1.7.0"
sqlite-jdbc = "3.50.3.0"
jvm-toolchain = "21"
android-sdk-compile = "36"
android-sdk-min = "23"
android-sdk-min = "24"
vanniktech-maven-publish = "0.34.0"

[libraries]
Expand Down
Binary file modified sqllin-architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,36 @@ class AndroidTest {
@Test
fun testByteArrayMultipleOperations() = commonTest.testByteArrayMultipleOperations()

@Test
fun testDropTable() = commonTest.testDropTable()

@Test
fun testDropTableExtensionFunction() = commonTest.testDropTableExtensionFunction()

@Test
fun testAlertAddColumn() = commonTest.testAlertAddColumn()

@Test
fun testAlertRenameTableWithTableObject() = commonTest.testAlertRenameTableWithTableObject()

@Test
fun testAlertRenameTableWithString() = commonTest.testAlertRenameTableWithString()

@Test
fun testRenameColumnWithClauseElement() = commonTest.testRenameColumnWithClauseElement()

@Test
fun testRenameColumnWithString() = commonTest.testRenameColumnWithString()

@Test
fun testDropColumn() = commonTest.testDropColumn()

@Test
fun testDropAndRecreateTable() = commonTest.testDropAndRecreateTable()

@Test
fun testAlertOperationsInTransaction() = commonTest.testAlertOperationsInTransaction()

@Before
fun setUp() {
val context = InstrumentationRegistry.getInstrumentation().targetContext
Expand Down
Loading
Loading