Skip to content

Commit

Permalink
Prepare for release 2.0.0-alpha04
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecKazakova committed Oct 3, 2022
1 parent e6bb43e commit 3eaacc3
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
50 changes: 50 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,52 @@
# Change Log

## [2.0.0-alpha04] - 2022-10-03

### 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][hfhbd])
- [PostgreSQL Dialect] PostgreSQL: Support using DEFAULT for generated columns in INSERT (#3373 by [Philip Wedemann][hfhbd])
- [PostgreSQL Dialect] Add NOW() to PostgreSQL (#3403 by [Philip Wedemann][hfhbd])
- [PostgreSQL Dialect] PostgreSQL Add NOT operator (#3504 by [Philip Wedemann][hfhbd])
- [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][svenjacobs])

### 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][hfhbd])
- [Coroutines Extensions] Remove default params to flow extensions (#3489)

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

## [2.0.0-alpha03] - 2022-06-17

### Breaking Changes
Expand Down Expand Up @@ -793,3 +840,6 @@ Initial release.
[julioromano]: https://github.com/julioromano
[PaulWoitaschek]: https://github.com/PaulWoitaschek
[kpgalligan]: https://github.com/kpgalligan
[robx]: https://github.com/robxyy
[madisp]: https://github.com/madisp
[svenjacobs]: https://github.com/svenjacobs
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,5 +1,5 @@
GROUP=app.cash.sqldelight
VERSION_NAME=2.0.0-SNAPSHOT
VERSION_NAME=2.0.0-alpha04

POM_URL=https://github.com/cashapp/sqldelight/
POM_SCM_URL=https://github.com/cashapp/sqldelight/
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Expand Up @@ -89,7 +89,7 @@ kotlin-js = { id = "org.jetbrains.kotlin.js", version.ref = "kotlin" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
intellij = { id = "org.jetbrains.intellij", version = "1.6.0" }
grammarKitComposer = { id = "com.alecstrong.grammar.kit.composer", version = "0.1.10" }
publish = { id = "com.vanniktech.maven.publish", version = "0.22.0" }
publish = { id = "com.vanniktech.maven.publish", version = "0.20.0" }
spotless = { id = "com.diffplug.spotless", version = "6.10.0" }
changelog = { id = "org.jetbrains.changelog", version = "1.3.1" }
shadow = { id = "com.github.johnrengelman.shadow", version = "7.1.2" }
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Expand Up @@ -243,4 +243,4 @@ plugins:

extra:
versions:
sqldelight: '2.0.0-alpha03'
sqldelight: '2.0.0-alpha04'

0 comments on commit 3eaacc3

Please sign in to comment.