All Versions
39
Latest Version
Avg Release Cycle
67 days
Latest Release
50 days ago

Changelog History
Page 1

  • v1.4.4

    October 08, 2020

    βž• Added

    • πŸ‘ [PostgreSQL Dialect] Support data-modifying statements in WITH
    • πŸ‘ [PostgreSQL Dialect] Support substring function
    • πŸ”Œ [Gradle Plugin] Added verifyMigrations flag for validating migrations during SQLDelight compilation (#1872)

    πŸ”„ Changed

    • [Compiler] Flag SQLite specific functions as unknown in non-SQLite dialects
    • πŸ”§ [Gradle Plugin] Provide a warning when the sqldelight plugin is applied but no databases are configured (#1421)

    πŸ›  Fixed

    • [Compiler] Report an error when binding a column name in an ORDER BY clause (#1187 by Eliezer Graber)
    • ⚠ [Compiler] Registry warnings appear when generating the db interface (#1792)
    • [Compiler] Incorrect type inference for case statement (#1811)
    • πŸ‘ [Compiler] Provide better errors for migration files with no version (#2006)
    • [Compiler] Required database type to marshal is incorrect for some database type ColumnAdapter's (#2012)
    • [Compiler] Nullability of CAST (#1261)
    • ⚠ [Compiler] Lots of name shadowed warnings in query wrappers (#1946 by Eliezer Graber)
    • [Compiler] Generated code is using full qualifier names (#1939)
    • πŸ”€ [IDE Plugin] Trigger sqldelight code gen from gradle syncs
    • πŸ”Œ [IDE Plugin] Plugin not regenerating database interface when changing .sq files (#1945)
    • πŸ“¦ [IDE Plugin] Issue when moving files to new packages (#444)
    • 🚚 [IDE Plugin] If theres nowhere to move the cursor, do nothing instead of crashing (#1994)
    • πŸ“¦ [IDE Plugin] Use empty package name for files outside of a gradle project (#1973)
    • πŸ”Œ [IDE Plugin] Fail gracefully for invalid types (#1943)
    • πŸ”Œ [IDE Plugin] Throw a better error message when encountering an unknown expression (#1958)
    • πŸ— [Gradle Plugin] SQLDelight bleeds IntelliJ dependencies onto buildscript class path (#1998)
    • πŸ”Œ [Gradle Plugin] "JavadocIntegrationKt not found" compilation error when adding method doc in *.sq file (#1982)
    • πŸ”§ [Gradle Plugin] SqlDeslight gradle plugin doesn't support Configuration Caching (CoCa). (#1947 by StΓ©phane Nicolas)
    • [SQLite JDBC Driver] SQLException: database in auto-commit mode (#1832)
    • [Coroutines Extension] Fix IR backend for coroutines-extensions (#1918 by Derek Ellis)
  • v1.4.3

    September 04, 2020

    βž• Added

    • [MySQL Dialect] Add support for MySQL last_insert_id function (by Kelvin Law)
    • πŸ‘ [PostgreSQL Dialect] Support SERIAL data type (by Veyndan Stuart & Felipe Lima)
    • πŸ‘ [PostgreSQL Dialect] Support PostgreSQL RETURNING (by Veyndan Stuart)

    πŸ›  Fixed

    • 0️⃣ [MySQL Dialect] Treat MySQL AUTO_INCREMENT as having a default value (#1823)
    • [Compiler] Fix Upsert statement compiler error (#1809 by Eliezer Graber)
    • [Compiler] Fix issue with invalid Kotlin being generated (#1925 by Eliezer Grabar)
    • πŸ‘ [Compiler] Have a better error message for unknown functions (#1843)
    • [Compiler] Expose string as the type for the second parameter of instr
    • πŸ”Œ [IDE Plugin] Fix daemon bloat and UI thread stalling for IDE plugin (#1916)
    • πŸ”Œ [IDE Plugin] Handle null module scenario (#1902)
    • πŸ“¦ [IDE Plugin] In unconfigured sq files return empty string for the package name (#1920)
    • βœ… [IDE Plugin] Fix grouped statements and add an integration test for them (#1820)
    • πŸ”Œ [IDE Plugin] Use built in ModuleUtil to find the module for an element (#1854)
    • πŸ”Œ [IDE Plugin] Only add valid elements to lookups (#1909)
    • πŸ”Œ [IDE Plugin] Parent can be null (#1857)
  • v1.4.2

    August 27, 2020

    βž• Added

    • πŸ‘ [Runtime] Support new JS IR backend
    • πŸ”Œ [Gradle Plugin] Add generateSqlDelightInterface Gradle task. (by Niklas Baudy)
    • πŸ”Œ [Gradle Plugin] Add verifySqlDelightMigration Gradle task. (by Niklas Baudy)

    πŸ›  Fixed

    • πŸ”Œ [IDE Plugin] Use the gradle tooling API to facilitate data sharing between the IDE and gradle
    • 0️⃣ [IDE Plugin] Default to false for schema derivation
    • πŸ”Œ [IDE Plugin] Properly retrieve the commonMain source set
    • [MySQL Dialect] Added minute to mySqlFunctionType() (by MaaxGr)
  • v1.4.1

    August 21, 2020

    βž• Added

    • πŸ‘ [Runtime] Support Kotlin 1.4.0 (#1859)

    πŸ”„ Changed

    • πŸ”Œ [Gradle Plugin] Make AGP dependency compileOnly (#1362)

    πŸ›  Fixed

    • [Compiler] Add optional javadoc to column defintion rule and to table interface generator (#1224 by Daniel Eke)
    • πŸ‘ [SQLite Dialect] Add support for sqlite fts5 auxiliary functions highlight, snippet, and bm25 (by Daniel Rampelt)
    • πŸ‘ [MySQL Dialect] Support MySQL bit data type
    • πŸ‘ [MySQL Dialect] Support MySQL binary literals
    • [PostgreSQL Dialect] Expose SERIAL from sql-psi (by Veyndan Stuart)
    • [PostgreSQL Dialect] Add BOOLEAN data type (by Veyndan Stuart)
    • [PostgreSQL Dialect] Add NULL column constraint (by Veyndan Stuart)
    • πŸ‘ [HSQL Dialect] Adds AUTO_INCREMENT support to HSQL (by Ryan Harter)
  • 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