- New: Compiled statements extend an abstract type.
- Fix: Primitive types in parameters will be boxed if nullable.
- Fix: All required factories for bind args are present in factory method.
- Fix: Escaped column names are marshalled correctly.
- New: SQLite arguments can be passed typesafely through the Factory
- New: IntelliJ plugin performs formatting on .sq files
- New: Support for SQLite timestamp literals
- Fix: Parameterized types can be clicked through in IntelliJ
- Fix: Escaped column names no longer throw RuntimeExceptions if grabbed from Cursor.
- Fix: Gradle plugin doesn't crash trying to print exceptions.
- New: Native support for shorts as column java type
- New: Javadoc on generated mappers and factory methods
- Fix: group_concat and nullif functions have proper nullability
- Fix: Compatibility with Android Studio 2.2-alpha
- Fix: WITH RECURSIVE no longer crashes plugin
- New: Compilation errors link to source file.
- New: Right-click to copy SQLDelight code as valid SQLite.
- New: Javadoc on named statements will appear on generated Strings.
- Fix: Generated view models include nullability annotations.
- Fix: Generated code from unions has proper type and nullability to support all possible columns.
- Fix: sum and round SQLite functions have proper type in generated code.
- Fix: CAST's, inner selects bugfixes.
- Fix: Autocomplete in CREATE TABLE statements.
- Fix: SQLite keywords can be used in packages.
- New: Marshal can be created from the factory.
- Fix: IntelliJ plugin generates factory methods with proper generic order.
- Fix: Function names can use any casing.
- Fix: IntelliJ plugin generates classes with proper generic order.
- Fix: Column definitions can use any casing.
- New: Mappers are generated per query instead of per table.
- New: Java types can be imported in .sq files.
- New: SQLite functions are validated.
- Fix: Remove duplicate errors.
- Fix: Uppercase column names and java keyword column names do not error.
- New: Autocompletion and find usages now work for views and aliases.
- Fix: Compile-time validation now allows functions to be used in selects.
- Fix: Support insert statements which only declare default values.
- Fix: Plugin no longer crashes when a project not using SQLDelight is imported.
- Fix: Interface visibility changed back to public to avoid Illegal Access runtime exceptions from method references.
- Fix: Subexpressions are evaluated properly.
- New: Column definitions use SQLite types and can have additional 'AS' constraint to specify java type.
- New: Bug reports can be sent from the IDE.
- Fix: Autocomplete functions properly.
- Fix: SQLDelight model files update on .sq file edit.
- Removed: Attached databases no longer supported.
- New: Compile-time validation of the columns used by insert, update, delete, index, and trigger statements.
- Fix: Don't crash IDE plugin on file move/create.
- New: Ctrl+
/
(Cmd+/
on OSX) toggles comment of the selected line(s). - New: Compile-time validation of the columns used by SQL queries.
- Fix: Support Windows paths in both the IDE and Gradle plugin.
- New: Added copy constructor to Marshal class.
- New: Update to Kotlin 1.0 final.
- Fix: Report 'sqldelight' folder structure problems in a non-failing way.
- Fix: Forbid columns named
table_name
. Their generated constant clashes with the table name constant. - Fix: Ensure IDE plugin generates model classes immediately and regardless of whether
.sq
files were opened. - Fix: Support Windows paths in both the IDE and Gradle plugin.
- Fix: Remove code which prevented the Gradle plugin from being used in most projects.
- Fix: Add missing compiler dependency on the Antlr runtime.
- Fix: Ensure the Gradle plugin points to the same version of the runtime as itself.
Initial release.