Skip to content

Releases: ctripcorp/SQLlin

1.2.4

06 Jan 01:39
0df6cec

Choose a tag to compare

All

  • Update Kotlin's version to 1.9.22

sqllin-dsl

  • Update kotlinx.serialization's version to 1.6.2

sqllin-processor

  • Update KSP's version to 1.9.22-1.0.16

1.2.3

28 Nov 11:31
f369fdc

Choose a tag to compare

All

  • Update Kotlin's version to 1.9.21

sqllin-dsl

  • Now, the ORDER_BY clause could ignore the OrderByWay parameter like SQL.
  • Optimize the performance in concurrent scenarios. Some types have changed, but users don't need to change the code.
  • Now, SelectStatement has been changed to lazy deserialization mode, that's means the first time you invoke the
    function SelectStatement#getResults will consume more time. But, correspondingly, executing SELECT statements will be faster.
  • Add the enableSimpleSQLLog parameter to Database's constructor, default by true, if you set it to
    false, you can disable the simple SQL logout.

sqllin-driver

  • Deprecated the public API CommonCursor#forEachRows, you can replace with CommonCursor#forEachRow. This
    change just for fixing a typo :). And, the CommonCursor#forEachRows will be removed in next version.

sqllin-processor

  • Update KSP's version to 1.9.21-1.0.15

1.2.2

08 Nov 06:18
4aeaa95

Choose a tag to compare

All

  • Update Kotlin's version to 1.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 version 1.1.1

sqllin-driver

  • Add the new native target support: linuxArm64

sqllin-processor

  • Update KSP's version to 1.9.20-1.0.13
  • Fix the bug for when the code that is generated by sqllin-processor can't be compiled(#58)

1.2.1

18 Oct 07:13
776e1f9

Choose a tag to compare

All

  • Update Kotlin's version to 1.9.10

sqllin-driver

  • Fix the problem: Native driver does not respect isReadOnly. On native platforms.
    Now, if a user set isReadOnly = true in DatabaseConfigurtaion, 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 to 1.9.10-1.0.13
  • Now, if your data class with @DBRow can't be solved or imported successfully(Using KSNode#validate to judge), the
    ClauseProcessor would try to resolve it in second round

1.2.0

20 Sep 03:46
22f17ad

Choose a tag to compare

sqllin-dsl

  • Add the new JVM target

sqllin-driver

  • Add the new JVM target
  • Breaking change: Remove the public property: DatabaseConnection#closed
  • The Android (<= 9) target supports to set the journalMode and synchronousMode now

1.1.1

12 Aug 08:46
bad20e0

Choose a tag to compare

All

  • Update Kotlin's version to 1.9.0

sqllin-dsl

  • Deprecated the public API DBEntity(#36, #37), any data classes used in sqllin-dsl don't need to extend DBEntity anymore

sqllin-driver

  • Fix a bug about empty ByteArray on native platforms(#30)

sqllin-processor

  • Update KSP's version to 1.9.0-1.0.13

1.1.0

06 Jun 05:21
5aa1715

Choose a tag to compare

All

  • Remove the iosArm32, watchosX86 and mingwX86 these three targets' support
  • Add the new native target support: watchosDeviceArm64
  • Update kotlinx.serialization's version to 1.5.1

sqllin-driver

  • Enable the New Native Driver to replace SQLiter
  • Make some unnecessary APIs be internal (CursorImpl, DatabaseConnectionImpl and 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

14 May 04:04
39cfbbc

Choose a tag to compare

Update Kotlin (1.7.20 -> 1.8.20)
Update KSP (1.7.20-1.0.8 -> 1.8.20-1.0.11)
Update kotlinx.serialization (1.4.1 -> 1.5.0)

1.0.0

29 Dec 04:23

Choose a tag to compare

  • Add the ON clause support
  • Update KSP version to 1.7.20-1.0.8
  • Fix some bugs about JOIN clause
  • Fix some bugs about unit tests

1.0-alpha01

01 Dec 01:07

Choose a tag to compare

Project initialization.