Releases: ctripcorp/SQLlin
Releases · ctripcorp/SQLlin
1.2.4
1.2.3
All
- Update
Kotlin's version to1.9.21
sqllin-dsl
- Now, the
ORDER_BYclause could ignore theOrderByWayparameter like SQL. - Optimize the performance in concurrent scenarios. Some types have changed, but users don't need to change the code.
- Now,
SelectStatementhas been changed to lazy deserialization mode, that's means the first time you invoke the
functionSelectStatement#getResultswill consume more time. But, correspondingly, executingSELECTstatements will be faster. - Add the
enableSimpleSQLLogparameter toDatabase's constructor, default bytrue, if you set it to
false, you can disable the simple SQL logout.
sqllin-driver
- Deprecated the public API
CommonCursor#forEachRows, you can replace withCommonCursor#forEachRow. This
change just for fixing a typo :). And, theCommonCursor#forEachRowswill be removed in next version.
sqllin-processor
- Update
KSP's version to1.9.21-1.0.15
1.2.2
All
- Update
Kotlin's version to1.9.20
sqllin-dsl
- Add the new native target support:
linuxArm64 - Add the new API
Database#suspendedScope, it could be used to ensure concurrency safety(#55) - Begin with this version, sqllin-dsl depends on kotlinx.coroutines version
1.7.3 - Breaking change: Remove the public class
DBEntity, we have deprecated it in version1.1.1
sqllin-driver
- Add the new native target support:
linuxArm64
sqllin-processor
- Update
KSP's version to1.9.20-1.0.13 - Fix the bug for when the code that is generated by
sqllin-processorcan't be compiled(#58)
1.2.1
All
- Update
Kotlin's version to1.9.10
sqllin-driver
- Fix the problem: Native driver does not respect isReadOnly. On native platforms.
Now, if a user setisReadOnly = trueinDatabaseConfigurtaion, the database file must exist. And, if opening in read-write mode
fails due to OS-level permissions, the user will get a read-only database, and if the user try to modify the database, will receive
a runtime exception. Thanks for @nbransby
sqllin-processor
- Update
KSP's version to1.9.10-1.0.13 - Now, if your data class with
@DBRowcan't be solved or imported successfully(UsingKSNode#validateto judge), the
ClauseProcessorwould try to resolve it in second round
1.2.0
1.1.1
1.1.0
All
- Remove the
iosArm32,watchosX86andmingwX86these three targets' support - Add the new native target support:
watchosDeviceArm64 - Update
kotlinx.serialization's version to1.5.1
sqllin-driver
- Enable the
New Native Driverto replace SQLiter - Make some unnecessary APIs be internal (
CursorImpl,DatabaseConnectionImpland more...) - Add the new public function:
Cursor#next - Add the new public function:
deleteDatabase - Add the new public property:
DatabaseConnection#isClosed - Deprecated the public property:
DatabaseConnection#closed
1.0.1
1.0.0
1.0-alpha01
Project initialization.