github cashapp/sqldelight 2.0.0-alpha04
Version 2.0.0-alpha04 (2022-10-03)

latest releases: 2.0.2, 2.0.1, 2.0.0...
19 months ago

Breaking Changes

  • The Paging 3 extension API has changed to only allow int types for the count.
  • The coroutines extension now requires a dispatcher to be passed in instead of defaulting.

Added

  • [HSQL Dialect] Hsql: Support using DEFAULT for generated columns in Insert (#3372 by Philip Wedemann)
  • [PostgreSQL Dialect] PostgreSQL: Support using DEFAULT for generated columns in INSERT (#3373 by Philip Wedemann)
  • [PostgreSQL Dialect] Add NOW() to PostgreSQL (#3403 by Philip Wedemann)
  • [PostgreSQL Dialect] PostgreSQL Add NOT operator (#3504 by Philip Wedemann)
  • [Paging] Allow passing in CoroutineContext to *QueryPagingSource (#3384)
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Native Driver] Add callback to hook into DatabaseConfiguration creation of NativeSqliteDriver (#3512 by Sven Jacobs)

Changed

  • [Paging] Add a default dispatcher to the KeyedQueryPagingSource backed QueryPagingSource function (#3385)
  • [Paging] Make OffsetQueryPagingSource only work with Int (#3386)
  • [Async Runtime] Move await* to upper class ExecutableQuery (#3524 by Philip Wedemann)
  • [Coroutines Extensions] Remove default params to flow extensions (#3489)

Fixed

  • [Gradle Plugin] Update to Kotlin 1.7.20 (#3542 by Zac Sweers)
  • [R2DBC Driver] Adopt R2DBC changes which do not always send a value (#3525 by Philip Wedemann)
  • [HSQL Dialect] Fix failing sqlite VerifyMigrationTask with Hsql (#3380 by Philip Wedemann)
  • [Gradle Plugin] Convert tasks to use lazy configuration API (by Matthew Haughton)
  • [Gradle Plugin] Avoid NPEs in Kotlin 1.7.20 (#3398 by Zac Sweers)
  • [Gradle Plugin] Fix description of squash migrations task (#3449)
  • [IDE Plugin] Fix NoSuchFieldError in newer Kotlin plugins (#3422 by Madis Pink)
  • [IDE Plugin] IDEA: UnusedQueryInspection - fix ArrayIndexOutOfBoundsException. (#3427 by Niklas Baudy)
  • [IDE Plugin] Use reflection for old kotlin plugin references
  • [Compiler] Custom dialect with extension function don't create imports (#3338 by Philip Wedemann)
  • [Compiler] Fix escaping CodeBlock.of("${CodeBlock.toString()}") (#3340 by Philip Wedemann)
  • [Compiler] Await async execute statements in migrations (#3352)
  • [Compiler] Fix AS (#3370 by Philip Wedemann)
  • [Compiler] getObject method supports automatic filling of the actual type. (#3401 by Rob X)
  • [Compiler] Fix codegen for async grouped returning statements (#3411)
  • [Compiler] Infer the Kotlin type of bind parameter, if possible, or fail with a better error message (#3413 by Philip Wedemann)
  • [Compiler] Don't allow ABS("foo") (#3430 by Philip Wedemann)
  • [Compiler] Support inferring kotlin type from other parameters (#3431 by Philip Wedemann)
  • [Compiler] Always create the database implementation (#3540 by Philip Wedemann)
  • [Compiler] Relax javaDoc and add it to custom mapper function too (#3554 Philip Wedemann)
  • [Compiler] Fix DEFAULT in binding (by Philip Wedemann)
  • [Paging] Fix Paging 3 (#3396)
  • [Paging] Allow construction of OffsetQueryPagingSource with Long (#3409)
  • [Paging] Don't statically swap Dispatchers.Main (#3428)

Don't miss a new sqldelight release

NewReleases is sending notifications on new releases.