Skip to content

Commit 56922da

Browse files
committed
Prepare for release 1.5.0
1 parent d873c08 commit 56922da

File tree

4 files changed

+74
-3
lines changed

4 files changed

+74
-3
lines changed

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# Change Log
22

3+
## [1.5.0] - 2021-04-23
4+
### Added
5+
- [SQLite Javascript Driver] Enable sqljs-driver publication (#1667 by [Derek Ellis][dellisd])
6+
- [Paging3 Extension] Extension for Android Paging 3 Library (#1786 by [Kevin Cianfarini][kevincianfarini])
7+
- [MySQL Dialect] Adds support for mysql's ON DUPLICATE KEY UPDATE conflict resolution. (by [Ryan Harter][rharter])
8+
- [SQLite Dialect] Add compiler support for SQLite offsets() (by [Quinton Roberts][qjroberts])
9+
- [IDE Plugin] Add import quick fix for unknown type (#683 by [Alexander Perfilyev][aperfilyev])
10+
- [IDE Plugin] Add unused import inspection (#1161 by [Alexander Perfilyev][aperfilyev])
11+
- [IDE Plugin] Add unused query inspection (by [Alexander Perfilyev][aperfilyev])
12+
- [IDE Plugin] Add unused column inspection (#569 by [Alexander Perfilyev][aperfilyev])
13+
- [IDE Plugin] Automatically bring imports on copy/paste (#684 by [Alexander Perfilyev][aperfilyev])
14+
- [IDE Plugin] Pop a balloon when there are incompatibilities between gradle/intellij plugin versions
15+
- [IDE Plugin] Insert Into ... VALUES(?) parameter hints (#506 by [Alexander Perfilyev][aperfilyev])
16+
- [IDE Plugin] Inline parameter hints (by [Alexander Perfilyev][aperfilyev])
17+
- [Runtime] Include an API in the runtime for running migrations with callbacks (#1844)
18+
19+
### Changed
20+
- [Compiler] Smart cast "IS NOT NULL" queries (#867)
21+
- [Compiler] Protect against keywords that will fail at runtime (#1471, #1629)
22+
- [Gradle Plugin] Reduce size of gradle plugin from 60mb -> 13mb.
23+
- [Gradle Plugin] Properly support android variants, and remove support for KMM target-specific sql (#1039)
24+
- [Gradle Plugin] Pick a minimum sqlite version based on minsdk (#1684)
25+
- [Native Driver] Native driver connection pool and performance updates
26+
27+
### Fixed
28+
- [Compiler] NBSP before lambdas (by [Benoît Quenaudon][oldergod])
29+
- [Compiler] Fix incompatible types in generated bind* and cursor.get* statements
30+
- [Compiler] SQL clause should persist adapted type (#2067)
31+
- [Compiler] Column with only NULL keyword should be nullable
32+
- [Compiler] Dont generate mapper lambda with type annotations (#1957)
33+
- [Compiler] If custom queries would clash, use the file name as an additional package suffix (#1057, #1278)
34+
- [Compiler] Ensure foreign key cascades cause query listeners to be notified (#1325, #1485)
35+
- [Compiler] If unioning two of the same type, return the table type (#1342)
36+
- [Compiler] Ensure params to ifnull and coalesce can be nullable (#1263)
37+
- [Compiler] Correctly use query-imposed nullability for expressions
38+
- [MySQL Dialect] Support MySQL if statements
39+
- [PostgreSQL Dialect] Retrieve NUMERIC and DECIMAL as Double in PostgreSQL (#2118)
40+
- [SQLite Dialect] UPSERT notifications should account for BEFORE/AFTER UPDATE triggers. (#2198 by [Anders Ha][andersio])
41+
- [SQLite Driver] Use multiple connections for threads in the SqliteDriver unless we are in memory (#1832)
42+
- [JDBC Driver] JDBC Driver assumes autoCommit is true (#2041)
43+
- [JDBC Driver] Ensure that we close connections on exception (#2306)
44+
- [IDE Plugin] Fix GoToDeclaration/FindUsages being broken on Windows due to path separator bug (#2054 by [Angus Holder][AngusH])
45+
- [IDE Plugin] Ignore gradle errors instead of crashing in the IDE.
46+
- [IDE Plugin] If a sqldelight file is moved to a non-sqldelight module, do not attempt codegen
47+
- [IDE Plugin] Ignore codegen errors in IDE
48+
- [IDE Plugin] Ensure that we dont try to negatively substring (#2068)
49+
- [IDE Plugin] Also ensure project is not disposed before running gradle action (#2155)
50+
- [IDE Plugin] Arithmetic on nullable types should also be nullable (#1853)
51+
- [IDE Plugin] Make 'expand * intention' work with additional projections (#2173 by [Alexander Perfilyev][aperfilyev])
52+
- [IDE Plugin] If kotlin resolution fails during GoTo, dont attempt to go to sqldelight files
53+
- [IDE Plugin] If IntelliJ encounters an exception while sqldelight is indexing, dont crash
54+
- [IDE Plugin] Handle exceptions that happen while detecting errors before codegen in the IDE
55+
- [IDE Plugin] Make the IDE plugin compatible with Dynamic Plugins (#1536)
56+
- [Gradle Plugin] Race condition generating a database using WorkerApi (#2062 by [Stéphane Nicolas][stephanenicolas])
57+
- [Gradle Plugin] classLoaderIsolation prevents custom jdbc usage (#2048 by [Ben Asher][BenA])
58+
- [Gradle Plugin] Improve missing packageName error message (by [Niklas Baudy][vanniktech])
59+
- [Gradle Plugin] SQLDelight bleeds IntelliJ dependencies onto buildscript class path (#1998)
60+
- [Gradle Plugin] Fix gradle build caching (#2075)
61+
- [Gradle Plugin] Do not depend on kotlin-native-utils in Gradle plugin (by [Ilya Matveev][ilmat192])
62+
- [Gradle Plugin] Also write the database if there are only migration files (#2094)
63+
- [Gradle Plugin] Ensure diamond dependencies only get picked up once in the final compilation unit (#1455)
64+
65+
Also just a general shoutout to [Matthew Haughton][3flex] who did a lot of work to improve the SQLDelight infrastructure this release.
66+
367
## [1.4.4] - 2020-10-08
468
### Added
569
- [PostgreSQL Dialect] Support data-modifying statements in WITH
@@ -386,3 +450,10 @@ Initial release.
386450
[felipecsl]: https://github.com/felipecsl
387451
[dellisd]: https://github.com/dellisd
388452
[stephanenicolas]: https://github.com/stephanenicolas
453+
[oldergod]: https://github.com/oldergod
454+
[qjroberts]: https://github.com/qjroberts
455+
[kevincianfarini]: https://github.com/kevincianfarini
456+
[andersio]: https://github.com/andersio
457+
[ilmat192]: https://github.com/ilmat192
458+
[3flex]: https://github.com/3flex
459+
[aperfilyev]: https://github.com/aperfilyev

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SQLite
2727
* [Android](https://cashapp.github.io/sqldelight/android_sqlite)
2828
* [Native (iOS, macOS, or Windows)](https://cashapp.github.io/sqldelight/native_sqlite)
2929
* [JVM](https://cashapp.github.io/sqldelight/jvm_sqlite)
30-
* Javascript (Work In Progress)
30+
* [Javascript](https://cashapp.github.io/sqldelight/js_sqlite)
3131
* [Multiplatform](https://cashapp.github.io/sqldelight/multiplatform_sqlite)
3232

3333
[MySQL (JVM)](https://cashapp.github.io/sqldelight/jvm_mysql/)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.squareup.sqldelight
2-
VERSION_NAME=1.5.0-SNAPSHOT
2+
VERSION_NAME=1.5.0
33

44
POM_URL=https://github.com/square/sqldelight/
55
POM_SCM_URL=https://github.com/square/sqldelight/

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,4 +200,4 @@ plugins:
200200

201201
extra:
202202
versions:
203-
sqldelight: '1.4.4'
203+
sqldelight: '1.5.0'

0 commit comments

Comments
 (0)