Releases: ctripcorp/SQLlin
Releases · ctripcorp/SQLlin
2.1.0
sqllin-dsl
- Support typealias of supported types(primitive types, String, ByteArray etc) in generated tables
- Support enumerated types in DSL APIs, includes
=,!=,<,<=,>,>=operators - Support
<,<=,>,>=,IN,BETWEEN...ANDoperators for String - Support
=,!=,<,<=,>,>=,IN,BETWEEN...ANDoperators for ByteArray - Add a new condiction function
ISNOTfor Boolean, andISstarts to support to receive a nullable parameter - Refactored CREATE statements building process, move it from runtime to compile-time.
- New experimental API for COLLATE NOCASE keyword:
CollateNoCase - New experimental API for single column with UNIQUE keyword:
Unique - New Experimental API for composite column groups with UNIQUE keyword:
CompositeUnique
2.0.0
All
- Update
Kotlin's version to2.2.21 - Remove the Desuger configuration
- Update minimal supported Android version from API 23 to 24
sqllin-dsl
- Optimized performance for SQL assembly
- 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 to3.50.3.0 - Breaking change: The data type of
bindParamsinDatabaseConnection#querychanged fromArray<out String?>?toArray<out Any?>?
sqllin-processor
- Update
KSP's version to2.3.0
1.4.4
1.4.3
1.4.2
1.4.1
All
- Update
Kotlin's version to2.1.10
sqllin-dsl
- Update
kotlinx.coroutines's version to1.10.1 - Update
kotlinx.serialization's version to1.8.0 - Add some DslMaker annotations, make the DSL apis be more readable
sqllin-driver
- Update the
sqlite-jdbc's version to3.48.0.0
sqllin-processor
- Update
KSP's version to2.1.10-1.0.29
1.4.0
1.3.2
All
- Update
Kotlin's version to1.9.24
sqllin-dsl
- Now, you can annotate properties with
kotlinx.serialization.transmintin your data classes to ignore these properties when serialization or deserialization andTableclasses generation.
sqllin-processor
- Update
KSP's version to1.9.24-1.0.20
1.3.1
sqllin-dsl
- Fix a crash when a data class doesn't contain any
Stringelement. - Fix the issue#81 about insert and query null values
- Fix some wrongs about generation of SQL syntax
sqllin-driver
- Breaking change: Remove the deprecated API
CommonCursor#forEachRows - Breaking change: the
getInt,getLong,getFloatandgetDoublewill throw an exception when the value is NULL in SQLite on JVM and native platforms, like on Android in older versions. - Add a new public API:
CommonCursor#isNull, for check if the value is NULL in SQLite
1.3.0
All
- Update
Kotlin's version to1.9.23
sqllin-dsl
- Update
kotlinx.coroutines's version to1.8.0 - Update
kotlinx.serialization's version to1.6.3 - Modify the SQL statements' splicing method, that fixed the issue#77 that users can't read/write special symbols as the values in SQL statements.
- Performance optimization, use
ArrayDequeto replace the LinkedList for SQL statements management (self-implemented). - The parameter
enableSimpleSQLLogof theDatabase's constructors of isfalseby default.
sqllin-driver
- Update the
sqlite-jdbc's version to3.45.3.0
sqllin-processor
- Update
KSP's version to1.9.23-1.0.20