All Versions
35
Latest Version
Avg Release Cycle
68 days
Latest Release
44 days ago

Changelog History
Page 1

  • v1.4.0

    June 22, 2020

    ➕ Added

    • 👍 [MySQL Dialect] MySQL support (by Jeff Gulbronson & Veyndan Stuart)
    • 👍 [PostgreSQL Dialect] Experimental PostgreSQL support (by Veyndan Stuat)
    • 👍 [HSQL Dialect] Experimental H2 support (by Marius Volkhart)
    • 👍 [SQLite Dialect] SQLite FTS5 support (by Ben Asher & James Palawaga)
    • 👍 [SQLite Dialect] Support alter table rename column (#1505 by Angus Holder)
    • 👍 [IDE] IDE support for migration (.sqm) files
    • [IDE] Add SQLDelight Live Templates that mimic built-in SQL Live Templates (#1154 by Veyndan Stuart)
    • [IDE] Add new SqlDelight file action (#42 by Roman Zavarnitsyn)
    • [Runtime] transactionWithReturn API for transactions that return results
    • [Compiler] Syntax for grouping multiple SQL statements together in a .sq file
    • 👍 [Compiler] Support generating schemas from migration files
    • 🔌 [Gradle Plugin] Add a task for outputting migration files as valid sql

    🔄 Changed

    • 📚 [Documentation] Overhaul of the documentation website (by Saket Narayan)
    • 🔌 [Gradle Plugin] Improve unsupported dialect error message (by Veyndan Stuart)
    • [IDE] Dynamically change file icon based on dialect (by Veyndan Stuart)
    • [JDBC Driver] Expose a JdbcDriver constructor off of javax.sql.DataSource (#1614)

    🛠 Fixed

    • 👍 [Compiler]Support Javadoc on tables and fix multiple javadoc in one file (#1224)
    • [Compiler] Enable inserting a value for synthesized columns (#1351)
    • [Compiler] Fix inconsistency in directory name sanitizing (by Zac Sweers)
    • [Compiler] Synthesized columns should retain nullability across joins (#1656)
    • 📌 [Compiler] Pin the delete statement on the delete keyword (#1643)
    • [Compiler] Fix quoting (#1525 by Angus Holder)
    • [Compiler] Fix the between operator to properly recurse into expressions (#1279)
    • 👍 [Compiler] Give better error for missing table/column when creating an index (#1372)
    • [Compiler] Enable using the outer querys projection in join constraints (#1346)
    • [Native Driver] Make execute use transationPool (by Ben Asher)
    • [JDBC Driver] Use the jdbc transaction APIs instead of sqlite (#1693)
    • [IDE] Fix virtualFile references to always be the original file (#1782)
    • [IDE] Use the correct throwable when reporting errors to bugsnag (#1262)
    • [Paging Extension] Fix leaky DataSource (#1628)
    • 🔌 [Gradle Plugin] If the output db file already exists when generating a schema, delete it (#1645)
    • 🔌 [Gradle Plugin] Fail migration validation if there are gaps
    • 🔌 [Gradle Plugin] Explicitely use the file index we set (#1644)
  • v1.3.0

    April 03, 2020
    • 🆕 New: [Gradle] Dialect property to specify with sql dialect to compile against.
    • 🆕 New: [Compiler] #1009 Experimental support of the mysql dialect.
    • 🆕 New: [Compiler] #1436 Support of sqlite:3.24 dialect and upsert.
    • 🆕 New: [JDBC Driver] Split out JDBC driver from sqlite jvm driver.
    • 🛠 Fix: [Compiler] #1199 Support lambdas of any length.
    • 🛠 Fix: [Compiler] #1610 Fix the return type of avg() to be nullable.
    • 🛠 Fix: [IntelliJ] #1594 Fix path separator handling which broke Goto and Find Usages on Windows.
  • v1.3.0-rxjava3

    May 20, 2020

    🚀 An add-on for the 1.3.0 release which publishes the new RxJava 3 extensions at com.squareup.sqldelight:rxjava3-extensions.

  • v1.2.2

    January 22, 2020
    • 🆕 New: [Runtime] Support for Windows (mingW), tvOS, watchOS, and macOS architectures.
    • 🛠 Fix: [Compiler] Return type of sum() should be nullable.
    • 🛠 Fix: [Paging] Pass Transacter into QueryDataSourceFactory to avoid race conditions.
    • 🛠 Fix: [IntelliJ Plugin] Don't search through dependencies when looking for a file's package name.
    • 🛠 Fix: [Gradle] #862 Change validator logs in Gradle to debug level.
    • ✨ Enhancement: [Gradle] Convert GenerateSchemaTask to use Gradle worker.
    • Note: sqldelight-runtime artifact renamed to runtime. ios-driver artifact renamed to native-driver
  • v1.2.1

    December 11, 2019
    • 🛠 Fix: [Gradle] Kotlin Native 1.3.60 support.
    • 🛠 Fix: [Gradle] #1287 Warning when syncing.
    • 🛠 Fix: [Compiler] #1469 SynetheticAccessor creation for query.
    • 🛠 Fix: [JVM Driver] Fixed memory leak.
    • 🏗 NOTE: The coroutine extension artifact requires kotlinx bintray maven repository be added to your buildscript.
  • v1.2.0

    August 30, 2019
    • 🆕 New: [Runtime] Stable Flow api.
    • 🛠 Fix: [Gradle] Kotlin Native 1.3.50 support.
    • 🛠 Fix: [Gradle] #1380 Clean build sometimes fails.
    • 🛠 Fix: [Gradle] #1348 Running verify tasks prints "Could not retrieve functions"
    • 🛠 Fix: [Compile] #1405 Can't build project if query contains FTS table joined.
    • 🛠 Fix: [Gradle] #1266 Sporadic gradle build failure while having multiple database modules
  • v1.1.4

    July 11, 2019
    • 🆕 New [Runtime] Experimental kotlin Flow api.
    • 🛠 Fix [Gradle] Kotlin/Native 1.3.40 compatibility.
    • 🛠 Fix [Gradle] #1243 Fix for usage of SQLDelight with Gradle configure on demand.
    • 🛠 Fix [Gradle] #1385 Fix for usage of SQLDelight with incremental annotataion processing.
    • 🛠 Fix [Gradle] Allow gradle tasks to cache.
    • 🛠 Fix [Gradle] #1274 Enable usage of sqldelight extension with kotlin dsl.
    • 🛠 Fix [Compiler] Unique ids are generated for each query deterministically.
    • 🛠 Fix [Compiler] Only notify listening queries when a transaction is complete.
  • v1.1.3

    April 14, 2019
    • 🚀 Gradle Metadata 1.0 release.
  • v1.1.2

    April 14, 2019
    • 🆕 New: [Runtime] #1267 Logging driver decorator.
    • 🛠 Fix: [Compiler] #1254 Split string literals which are longer than 216 characters.
    • 🛠 Fix: [Gradle] #1260 generated sources are recognized as iOS source in Multiplatform Project.
    • 🛠 Fix: [IDE] #1290 kotlin.KotlinNullPointerException in CopyAsSqliteAction.kt:43.
    • 🛠 Fix: [Gradle] #1268 Running linkDebugFrameworkIos* tasks fail in recent versions.
  • v1.1.1

    March 01, 2019
    • 🛠 Fix: [Gradle] Fix module dependency compilation for android projects.
    • 🛠 Fix: [Gradle] #1246 Set up api dependencies in afterEvaluate.
    • 🛠 Fix: [Compiler] Array types are properly printed.