Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 27, 2023

Bumps sqldelight from 2.0.0-rc02 to 2.0.0.
Updates app.cash.sqldelight:runtime from 2.0.0-rc02 to 2.0.0

Release notes

Sourced from app.cash.sqldelight:runtime's releases.

Version 2.0.0 (2023-07-26)

SQLDelight 2.0

Please see the detailed upgrading information for how to upgrade from SQLDelight 1.x to SQLDelight 2.0. The IntelliJ plugin needs to go through an approval before it lands on the marketplace inside of IntelliJ but can be downloaded and installed from disk below.

The below notes are all changes from SQLDelight 1.5.5. For only the changes from SQLDelight 2.0.0-rc02 please see the Changelog. Some highlights which signify major changes are highlighted.

All Environments

Added

  • [Runtime] Add fun modifier to Listener interface.
  • [Runtime] Add linuxArm64, androidNative and watchosDeviceArm targets to runtime (#4258 by [Philip Wedemann][hfhbd])
  • [Runtime] Add support for async drivers (#3168 by [Derek Ellis][dellisd])
  • [IDE Plugin] Added support for running SQLite, MySQL, and PostgreSQL commands against a running database (#2718 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add support for the android studio DB inspector (#3107 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add sqldelight directory suggestions (#3976 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Compact middle packages in project tree (#3992 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add join clause completion (#4086 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Create view intention and live template (#4074 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Warn about missing WHERE inside DELETE or UPDATE (#4058 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Basic suggested migration (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add import hint action (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add kotlin class completion (by [Alexander Perfilyev][aperfilyev])
  • [Compiler] Support returning at the end of a grouped statement
  • [Compiler] Support compiler extensions via dialect modules and add a SQLite JSON extension (#1379, #2087)
  • [Compiler] Support PRAGMA statements which return a value (#1106)
  • [Compiler] Support generating value types for marked columns
  • [Compiler] Add support for optimistic locks and validation (#1952)
  • [Compiler] Support multi-update statements
  • [Compiler] Customize codegen based on dialect (by [Marius Volkhart][MariusV])
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Gradle Plugin] Expose the classpath for SQLDelight tasks
  • [Gradle Plugin] Add a gradle task for squashing migrations
  • [Gradle Plugin] Add a flag to ignore schema definitions during migration checks

Changed

  • [Everything] Package name has changed from com.squareup.sqldelight to app.cash.sqldelight.
  • [Runtime] Move migration callbacks into main migrate fun
  • [Runtime] Improve addListener api (#4244 by [Philip Wedemann][hfhbd])
  • [Runtime] Use Long as migration version (#4297 by [Philip Wedemann][hfhbd])
  • [Runtime] Enforce that synchronous drivers require a synchronous schema initializer (#4013)
  • [Runtime] Improve async support for Cursors (#4102)
  • [Runtime] Remove deprecated targets (#4149 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove support for old MM (#4148 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove the AfterVersion type without the driver (#3091)
  • [Runtime] Move Schema type to top-level
  • [Runtime] Open dialect and resolver to support 3rd party implementations (#3232 by [Philip Wedemann][hfhbd])
  • [Runtime] Return the updated row count from the drivers execute method
  • [Runtime] Confine SqlCursor to the critical section accessing the connection. (#2123 by [Anders Ha][andersio])
  • [Runtime] Move dialects into their own isolated gradle modules

... (truncated)

Changelog

Sourced from app.cash.sqldelight:runtime's changelog.

[2.0.0] - 2023-07-26

Added

  • [MySQL Dialect] MySQL: support timestamp/bigint in IF expression (#4329 by [Mike Gershunovsky][shellderp])
  • [MySQL Dialect] MySQL: Add now (#4431 by [Philip Wedemann][hfhbd])
  • [Web Driver] Enable NPM package publishing (#4364)
  • [IDE Plugin] Allow users to show the stacktrace when the gradle tooling connect fails (#4383)

Changed

  • [Sqlite Driver] Simplify using schema migrations for JdbcSqliteDriver (#3737 by [Lukáš Moravec][morki])
  • [R2DBC Driver] Real async R2DBC cursor (#4387 by [Philip Wedemann][hfhbd])

Fixed

  • [IDE Plugin] Dont instantiate the database project service until needed (#4382)
  • [IDE Plugin] Handle process cancellation during find usages (#4340)
  • [IDE Plugin] Fix IDE generation of async code (#4406)
  • [IDE Plugin] Move assembly of the package structure to be one-time computed and off the EDT (#4417)
  • [IDE Plugin] Use the correct stub index key for kotlin type resolution on 2023.2 (#4416)
  • [IDE Plugin] Wait for the index to be ready before performing a search (#4419)
  • [IDE Plugin] Dont perform a goto if the index is unavailable (#4420)
  • [Compiler] Fix result expression for grouped statements (#4378)
  • [Compiler] Don't use virtual table as interface type (#4427 by [Philip Wedemann][hfhbd])
Commits

Updates app.cash.sqldelight:postgresql-dialect from 2.0.0-rc02 to 2.0.0

Release notes

Sourced from app.cash.sqldelight:postgresql-dialect's releases.

Version 2.0.0 (2023-07-26)

SQLDelight 2.0

Please see the detailed upgrading information for how to upgrade from SQLDelight 1.x to SQLDelight 2.0. The IntelliJ plugin needs to go through an approval before it lands on the marketplace inside of IntelliJ but can be downloaded and installed from disk below.

The below notes are all changes from SQLDelight 1.5.5. For only the changes from SQLDelight 2.0.0-rc02 please see the Changelog. Some highlights which signify major changes are highlighted.

All Environments

Added

  • [Runtime] Add fun modifier to Listener interface.
  • [Runtime] Add linuxArm64, androidNative and watchosDeviceArm targets to runtime (#4258 by [Philip Wedemann][hfhbd])
  • [Runtime] Add support for async drivers (#3168 by [Derek Ellis][dellisd])
  • [IDE Plugin] Added support for running SQLite, MySQL, and PostgreSQL commands against a running database (#2718 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add support for the android studio DB inspector (#3107 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add sqldelight directory suggestions (#3976 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Compact middle packages in project tree (#3992 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add join clause completion (#4086 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Create view intention and live template (#4074 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Warn about missing WHERE inside DELETE or UPDATE (#4058 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Basic suggested migration (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add import hint action (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add kotlin class completion (by [Alexander Perfilyev][aperfilyev])
  • [Compiler] Support returning at the end of a grouped statement
  • [Compiler] Support compiler extensions via dialect modules and add a SQLite JSON extension (#1379, #2087)
  • [Compiler] Support PRAGMA statements which return a value (#1106)
  • [Compiler] Support generating value types for marked columns
  • [Compiler] Add support for optimistic locks and validation (#1952)
  • [Compiler] Support multi-update statements
  • [Compiler] Customize codegen based on dialect (by [Marius Volkhart][MariusV])
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Gradle Plugin] Expose the classpath for SQLDelight tasks
  • [Gradle Plugin] Add a gradle task for squashing migrations
  • [Gradle Plugin] Add a flag to ignore schema definitions during migration checks

Changed

  • [Everything] Package name has changed from com.squareup.sqldelight to app.cash.sqldelight.
  • [Runtime] Move migration callbacks into main migrate fun
  • [Runtime] Improve addListener api (#4244 by [Philip Wedemann][hfhbd])
  • [Runtime] Use Long as migration version (#4297 by [Philip Wedemann][hfhbd])
  • [Runtime] Enforce that synchronous drivers require a synchronous schema initializer (#4013)
  • [Runtime] Improve async support for Cursors (#4102)
  • [Runtime] Remove deprecated targets (#4149 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove support for old MM (#4148 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove the AfterVersion type without the driver (#3091)
  • [Runtime] Move Schema type to top-level
  • [Runtime] Open dialect and resolver to support 3rd party implementations (#3232 by [Philip Wedemann][hfhbd])
  • [Runtime] Return the updated row count from the drivers execute method
  • [Runtime] Confine SqlCursor to the critical section accessing the connection. (#2123 by [Anders Ha][andersio])
  • [Runtime] Move dialects into their own isolated gradle modules

... (truncated)

Changelog

Sourced from app.cash.sqldelight:postgresql-dialect's changelog.

[2.0.0] - 2023-07-26

Added

  • [MySQL Dialect] MySQL: support timestamp/bigint in IF expression (#4329 by [Mike Gershunovsky][shellderp])
  • [MySQL Dialect] MySQL: Add now (#4431 by [Philip Wedemann][hfhbd])
  • [Web Driver] Enable NPM package publishing (#4364)
  • [IDE Plugin] Allow users to show the stacktrace when the gradle tooling connect fails (#4383)

Changed

  • [Sqlite Driver] Simplify using schema migrations for JdbcSqliteDriver (#3737 by [Lukáš Moravec][morki])
  • [R2DBC Driver] Real async R2DBC cursor (#4387 by [Philip Wedemann][hfhbd])

Fixed

  • [IDE Plugin] Dont instantiate the database project service until needed (#4382)
  • [IDE Plugin] Handle process cancellation during find usages (#4340)
  • [IDE Plugin] Fix IDE generation of async code (#4406)
  • [IDE Plugin] Move assembly of the package structure to be one-time computed and off the EDT (#4417)
  • [IDE Plugin] Use the correct stub index key for kotlin type resolution on 2023.2 (#4416)
  • [IDE Plugin] Wait for the index to be ready before performing a search (#4419)
  • [IDE Plugin] Dont perform a goto if the index is unavailable (#4420)
  • [Compiler] Fix result expression for grouped statements (#4378)
  • [Compiler] Don't use virtual table as interface type (#4427 by [Philip Wedemann][hfhbd])
Commits

Updates app.cash.sqldelight:dialect-api from 2.0.0-rc02 to 2.0.0

Release notes

Sourced from app.cash.sqldelight:dialect-api's releases.

Version 2.0.0 (2023-07-26)

SQLDelight 2.0

Please see the detailed upgrading information for how to upgrade from SQLDelight 1.x to SQLDelight 2.0. The IntelliJ plugin needs to go through an approval before it lands on the marketplace inside of IntelliJ but can be downloaded and installed from disk below.

The below notes are all changes from SQLDelight 1.5.5. For only the changes from SQLDelight 2.0.0-rc02 please see the Changelog. Some highlights which signify major changes are highlighted.

All Environments

Added

  • [Runtime] Add fun modifier to Listener interface.
  • [Runtime] Add linuxArm64, androidNative and watchosDeviceArm targets to runtime (#4258 by [Philip Wedemann][hfhbd])
  • [Runtime] Add support for async drivers (#3168 by [Derek Ellis][dellisd])
  • [IDE Plugin] Added support for running SQLite, MySQL, and PostgreSQL commands against a running database (#2718 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add support for the android studio DB inspector (#3107 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add sqldelight directory suggestions (#3976 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Compact middle packages in project tree (#3992 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add join clause completion (#4086 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Create view intention and live template (#4074 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Warn about missing WHERE inside DELETE or UPDATE (#4058 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Basic suggested migration (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add import hint action (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add kotlin class completion (by [Alexander Perfilyev][aperfilyev])
  • [Compiler] Support returning at the end of a grouped statement
  • [Compiler] Support compiler extensions via dialect modules and add a SQLite JSON extension (#1379, #2087)
  • [Compiler] Support PRAGMA statements which return a value (#1106)
  • [Compiler] Support generating value types for marked columns
  • [Compiler] Add support for optimistic locks and validation (#1952)
  • [Compiler] Support multi-update statements
  • [Compiler] Customize codegen based on dialect (by [Marius Volkhart][MariusV])
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Gradle Plugin] Expose the classpath for SQLDelight tasks
  • [Gradle Plugin] Add a gradle task for squashing migrations
  • [Gradle Plugin] Add a flag to ignore schema definitions during migration checks

Changed

  • [Everything] Package name has changed from com.squareup.sqldelight to app.cash.sqldelight.
  • [Runtime] Move migration callbacks into main migrate fun
  • [Runtime] Improve addListener api (#4244 by [Philip Wedemann][hfhbd])
  • [Runtime] Use Long as migration version (#4297 by [Philip Wedemann][hfhbd])
  • [Runtime] Enforce that synchronous drivers require a synchronous schema initializer (#4013)
  • [Runtime] Improve async support for Cursors (#4102)
  • [Runtime] Remove deprecated targets (#4149 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove support for old MM (#4148 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove the AfterVersion type without the driver (#3091)
  • [Runtime] Move Schema type to top-level
  • [Runtime] Open dialect and resolver to support 3rd party implementations (#3232 by [Philip Wedemann][hfhbd])
  • [Runtime] Return the updated row count from the drivers execute method
  • [Runtime] Confine SqlCursor to the critical section accessing the connection. (#2123 by [Anders Ha][andersio])
  • [Runtime] Move dialects into their own isolated gradle modules

... (truncated)

Changelog

Sourced from app.cash.sqldelight:dialect-api's changelog.

[2.0.0] - 2023-07-26

Added

  • [MySQL Dialect] MySQL: support timestamp/bigint in IF expression (#4329 by [Mike Gershunovsky][shellderp])
  • [MySQL Dialect] MySQL: Add now (#4431 by [Philip Wedemann][hfhbd])
  • [Web Driver] Enable NPM package publishing (#4364)
  • [IDE Plugin] Allow users to show the stacktrace when the gradle tooling connect fails (#4383)

Changed

  • [Sqlite Driver] Simplify using schema migrations for JdbcSqliteDriver (#3737 by [Lukáš Moravec][morki])
  • [R2DBC Driver] Real async R2DBC cursor (#4387 by [Philip Wedemann][hfhbd])

Fixed

  • [IDE Plugin] Dont instantiate the database project service until needed (#4382)
  • [IDE Plugin] Handle process cancellation during find usages (#4340)
  • [IDE Plugin] Fix IDE generation of async code (#4406)
  • [IDE Plugin] Move assembly of the package structure to be one-time computed and off the EDT (#4417)
  • [IDE Plugin] Use the correct stub index key for kotlin type resolution on 2023.2 (#4416)
  • [IDE Plugin] Wait for the index to be ready before performing a search (#4419)
  • [IDE Plugin] Dont perform a goto if the index is unavailable (#4420)
  • [Compiler] Fix result expression for grouped statements (#4378)
  • [Compiler] Don't use virtual table as interface type (#4427 by [Philip Wedemann][hfhbd])
Commits

Updates app.cash.sqldelight:coroutines-extensions from 2.0.0-rc02 to 2.0.0

Release notes

Sourced from app.cash.sqldelight:coroutines-extensions's releases.

Version 2.0.0 (2023-07-26)

SQLDelight 2.0

Please see the detailed upgrading information for how to upgrade from SQLDelight 1.x to SQLDelight 2.0. The IntelliJ plugin needs to go through an approval before it lands on the marketplace inside of IntelliJ but can be downloaded and installed from disk below.

The below notes are all changes from SQLDelight 1.5.5. For only the changes from SQLDelight 2.0.0-rc02 please see the Changelog. Some highlights which signify major changes are highlighted.

All Environments

Added

  • [Runtime] Add fun modifier to Listener interface.
  • [Runtime] Add linuxArm64, androidNative and watchosDeviceArm targets to runtime (#4258 by [Philip Wedemann][hfhbd])
  • [Runtime] Add support for async drivers (#3168 by [Derek Ellis][dellisd])
  • [IDE Plugin] Added support for running SQLite, MySQL, and PostgreSQL commands against a running database (#2718 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add support for the android studio DB inspector (#3107 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add sqldelight directory suggestions (#3976 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Compact middle packages in project tree (#3992 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add join clause completion (#4086 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Create view intention and live template (#4074 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Warn about missing WHERE inside DELETE or UPDATE (#4058 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Basic suggested migration (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add import hint action (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add kotlin class completion (by [Alexander Perfilyev][aperfilyev])
  • [Compiler] Support returning at the end of a grouped statement
  • [Compiler] Support compiler extensions via dialect modules and add a SQLite JSON extension (#1379, #2087)
  • [Compiler] Support PRAGMA statements which return a value (#1106)
  • [Compiler] Support generating value types for marked columns
  • [Compiler] Add support for optimistic locks and validation (#1952)
  • [Compiler] Support multi-update statements
  • [Compiler] Customize codegen based on dialect (by [Marius Volkhart][MariusV])
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Gradle Plugin] Expose the classpath for SQLDelight tasks
  • [Gradle Plugin] Add a gradle task for squashing migrations
  • [Gradle Plugin] Add a flag to ignore schema definitions during migration checks

Changed

  • [Everything] Package name has changed from com.squareup.sqldelight to app.cash.sqldelight.
  • [Runtime] Move migration callbacks into main migrate fun
  • [Runtime] Improve addListener api (#4244 by [Philip Wedemann][hfhbd])
  • [Runtime] Use Long as migration version (#4297 by [Philip Wedemann][hfhbd])
  • [Runtime] Enforce that synchronous drivers require a synchronous schema initializer (#4013)
  • [Runtime] Improve async support for Cursors (#4102)
  • [Runtime] Remove deprecated targets (#4149 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove support for old MM (#4148 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove the AfterVersion type without the driver (#3091)
  • [Runtime] Move Schema type to top-level
  • [Runtime] Open dialect and resolver to support 3rd party implementations (#3232 by [Philip Wedemann][hfhbd])
  • [Runtime] Return the updated row count from the drivers execute method
  • [Runtime] Confine SqlCursor to the critical section accessing the connection. (#2123 by [Anders Ha][andersio])
  • [Runtime] Move dialects into their own isolated gradle modules

... (truncated)

Changelog

Sourced from app.cash.sqldelight:coroutines-extensions's changelog.

[2.0.0] - 2023-07-26

Added

  • [MySQL Dialect] MySQL: support timestamp/bigint in IF expression (#4329 by [Mike Gershunovsky][shellderp])
  • [MySQL Dialect] MySQL: Add now (#4431 by [Philip Wedemann][hfhbd])
  • [Web Driver] Enable NPM package publishing (#4364)
  • [IDE Plugin] Allow users to show the stacktrace when the gradle tooling connect fails (#4383)

Changed

  • [Sqlite Driver] Simplify using schema migrations for JdbcSqliteDriver (#3737 by [Lukáš Moravec][morki])
  • [R2DBC Driver] Real async R2DBC cursor (#4387 by [Philip Wedemann][hfhbd])

Fixed

  • [IDE Plugin] Dont instantiate the database project service until needed (#4382)
  • [IDE Plugin] Handle process cancellation during find usages (#4340)
  • [IDE Plugin] Fix IDE generation of async code (#4406)
  • [IDE Plugin] Move assembly of the package structure to be one-time computed and off the EDT (#4417)
  • [IDE Plugin] Use the correct stub index key for kotlin type resolution on 2023.2 (#4416)
  • [IDE Plugin] Wait for the index to be ready before performing a search (#4419)
  • [IDE Plugin] Dont perform a goto if the index is unavailable (#4420)
  • [Compiler] Fix result expression for grouped statements (#4378)
  • [Compiler] Don't use virtual table as interface type (#4427 by [Philip Wedemann][hfhbd])
Commits

Updates app.cash.sqldelight:compiler-env from 2.0.0-rc02 to 2.0.0

Release notes

Sourced from app.cash.sqldelight:compiler-env's releases.

Version 2.0.0 (2023-07-26)

SQLDelight 2.0

Please see the detailed upgrading information for how to upgrade from SQLDelight 1.x to SQLDelight 2.0. The IntelliJ plugin needs to go through an approval before it lands on the marketplace inside of IntelliJ but can be downloaded and installed from disk below.

The below notes are all changes from SQLDelight 1.5.5. For only the changes from SQLDelight 2.0.0-rc02 please see the Changelog. Some highlights which signify major changes are highlighted.

All Environments

Added

  • [Runtime] Add fun modifier to Listener interface.
  • [Runtime] Add linuxArm64, androidNative and watchosDeviceArm targets to runtime (#4258 by [Philip Wedemann][hfhbd])
  • [Runtime] Add support for async drivers (#3168 by [Derek Ellis][dellisd])
  • [IDE Plugin] Added support for running SQLite, MySQL, and PostgreSQL commands against a running database (#2718 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add support for the android studio DB inspector (#3107 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add sqldelight directory suggestions (#3976 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Compact middle packages in project tree (#3992 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add join clause completion (#4086 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Create view intention and live template (#4074 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Warn about missing WHERE inside DELETE or UPDATE (#4058 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Basic suggested migration (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add import hint action (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add kotlin class completion (by [Alexander Perfilyev][aperfilyev])
  • [Compiler] Support returning at the end of a grouped statement
  • [Compiler] Support compiler extensions via dialect modules and add a SQLite JSON extension (#1379, #2087)
  • [Compiler] Support PRAGMA statements which return a value (#1106)
  • [Compiler] Support generating value types for marked columns
  • [Compiler] Add support for optimistic locks and validation (#1952)
  • [Compiler] Support multi-update statements
  • [Compiler] Customize codegen based on dialect (by [Marius Volkhart][MariusV])
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Gradle Plugin] Expose the classpath for SQLDelight tasks
  • [Gradle Plugin] Add a gradle task for squashing migrations
  • [Gradle Plugin] Add a flag to ignore schema definitions during migration checks

Changed

  • [Everything] Package name has changed from com.squareup.sqldelight to app.cash.sqldelight.
  • [Runtime] Move migration callbacks into main migrate fun
  • [Runtime] Improve addListener api (#4244 by [Philip Wedemann][hfhbd])
  • [Runtime] Use Long as migration version (#4297 by [Philip Wedemann][hfhbd])
  • [Runtime] Enforce that synchronous drivers require a synchronous schema initializer (#4013)
  • [Runtime] Improve async support for Cursors (#4102)
  • [Runtime] Remove deprecated targets (#4149 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove support for old MM (#4148 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove the AfterVersion type without the driver (#3091)
  • [Runtime] Move Schema type to top-level
  • [Runtime] Open dialect and resolver to support 3rd party implementations (#3232 by [Philip Wedemann][hfhbd])
  • [Runtime] Return the updated row count from the drivers execute method
  • [Runtime] Confine SqlCursor to the critical section accessing the connection. (#2123 by [Anders Ha][andersio])
  • [Runtime] Move dialects into their own isolated gradle modules

... (truncated)

Changelog

Sourced from app.cash.sqldelight:compiler-env's changelog.

[2.0.0] - 2023-07-26

Added

  • [MySQL Dialect] MySQL: support timestamp/bigint in IF expression (#4329 by [Mike Gershunovsky][shellderp])
  • [MySQL Dialect] MySQL: Add now (#4431 by [Philip Wedemann][hfhbd])
  • [Web Driver] Enable NPM package publishing (#4364)
  • [IDE Plugin] Allow users to show the stacktrace when the gradle tooling connect fails (#4383)

Changed

  • [Sqlite Driver] Simplify using schema migrations for JdbcSqliteDriver (#3737 by [Lukáš Moravec][morki])
  • [R2DBC Driver] Real async R2DBC cursor (#4387 by [Philip Wedemann][hfhbd])

Fixed

  • [IDE Plugin] Dont instantiate the database project service until needed (#4382)
  • [IDE Plugin] Handle process cancellation during find usages (#4340)
  • [IDE Plugin] Fix IDE generation of async code (#4406)
  • [IDE Plugin] Move assembly of the package structure to be one-time computed and off the EDT (#4417)
  • [IDE Plugin] Use the correct stub index key for kotlin type resolution on 2023.2 (#4416)
  • [IDE Plugin] Wait for the index to be ready before performing a search (#4419)
  • [IDE Plugin] Dont perform a goto if the index is unavailable (#4420)
  • [Compiler] Fix result expression for grouped statements (#4378)
  • [Compiler] Don't use virtual table as interface type (#4427 by [Philip Wedemann][hfhbd])
Commits

Updates app.cash.sqldelight from 2.0.0-rc02 to 2.0.0

Release notes

Sourced from app.cash.sqldelight's releases.

Version 2.0.0 (2023-07-26)

SQLDelight 2.0

Please see the detailed upgrading information for how to upgrade from SQLDelight 1.x to SQLDelight 2.0. The IntelliJ plugin needs to go through an approval before it lands on the marketplace inside of IntelliJ but can be downloaded and installed from disk below.

The below notes are all changes from SQLDelight 1.5.5. For only the changes from SQLDelight 2.0.0-rc02 please see the Changelog. Some highlights which signify major changes are highlighted.

All Environments

Added

  • [Runtime] Add fun modifier to Listener interface.
  • [Runtime] Add linuxArm64, androidNative and watchosDeviceArm targets to runtime (#4258 by [Philip Wedemann][hfhbd])
  • [Runtime] Add support for async drivers (#3168 by [Derek Ellis][dellisd])
  • [IDE Plugin] Added support for running SQLite, MySQL, and PostgreSQL commands against a running database (#2718 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add support for the android studio DB inspector (#3107 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add sqldelight directory suggestions (#3976 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Compact middle packages in project tree (#3992 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add join clause completion (#4086 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Create view intention and live template (#4074 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Warn about missing WHERE inside DELETE or UPDATE (#4058 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Basic suggested migration (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add import hint action (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Add kotlin class completion (by [Alexander Perfilyev][aperfilyev])
  • [Compiler] Support returning at the end of a grouped statement
  • [Compiler] Support compiler extensions via dialect modules and add a SQLite JSON extension (#1379, #2087)
  • [Compiler] Support PRAGMA statements which return a value (#1106)
  • [Compiler] Support generating value types for marked columns
  • [Compiler] Add support for optimistic locks and validation (#1952)
  • [Compiler] Support multi-update statements
  • [Compiler] Customize codegen based on dialect (by [Marius Volkhart][MariusV])
  • [Gradle Plugin] Add better version catalog support for dialects (#3435)
  • [Gradle Plugin] Expose the classpath for SQLDelight tasks
  • [Gradle Plugin] Add a gradle task for squashing migrations
  • [Gradle Plugin] Add a flag to ignore schema definitions during migration checks

Changed

  • [Everything] Package name has changed from com.squareup.sqldelight to app.cash.sqldelight.
  • [Runtime] Move migration callbacks into main migrate fun
  • [Runtime] Improve addListener api (#4244 by [Philip Wedemann][hfhbd])
  • [Runtime] Use Long as migration version (#4297 by [Philip Wedemann][hfhbd])
  • [Runtime] Enforce that synchronous drivers require a synchronous schema initializer (#4013)
  • [Runtime] Improve async support for Cursors (#4102)
  • [Runtime] Remove deprecated targets (#4149 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove support for old MM (#4148 by [Philip Wedemann][hfhbd])
  • [Runtime] Remove the AfterVersion type without the driver (#3091)
  • [Runtime] Move Schema type to top-level
  • [Runtime] Open dialect and resolver to support 3rd party implementations (#3232 by [Philip Wedemann][hfhbd])
  • [Runtime] Return the updated row count from the drivers execute method
  • [Runtime] Confine SqlCursor to the critical section accessing the connection. (#2123 by [Anders Ha][andersio])
  • [Runtime] Move dialects into their own isolated gradle modules

... (truncated)

Changelog

Sourced from app.cash.sqldelight's changelog.

[2.0.0] - 2023-07-26

Added

  • [MySQL Dialect] MySQL: support timestamp/bigint in IF expression (#4329 by [Mike Gershunovsky][shellderp])
  • [MySQL Dialect] MySQL: Add now (#4431 by [Philip Wedemann][hfhbd])
  • [Web Driver] Enable NPM package publishing (#4364)
  • [IDE Plugin] Allow users to show the stacktrace when the gradle tooling connect fails (#4383)

Changed

  • [Sqlite Driver] Simplify using schema migrations for JdbcSqliteDriver (

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 27, 2023
Bumps `sqldelight` from 2.0.0-rc02 to 2.0.0.

Updates `app.cash.sqldelight:runtime` from 2.0.0-rc02 to 2.0.0
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.0-rc02...2.0.0)

Updates `app.cash.sqldelight:postgresql-dialect` from 2.0.0-rc02 to 2.0.0
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.0-rc02...2.0.0)

Updates `app.cash.sqldelight:dialect-api` from 2.0.0-rc02 to 2.0.0
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.0-rc02...2.0.0)

Updates `app.cash.sqldelight:coroutines-extensions` from 2.0.0-rc02 to 2.0.0
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.0-rc02...2.0.0)

Updates `app.cash.sqldelight:compiler-env` from 2.0.0-rc02 to 2.0.0
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.0-rc02...2.0.0)

Updates `app.cash.sqldelight` from 2.0.0-rc02 to 2.0.0
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.0-rc02...2.0.0)

---
updated-dependencies:
- dependency-name: app.cash.sqldelight:runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:postgresql-dialect
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:dialect-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:coroutines-extensions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:compiler-env
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/sqldelight-2.0.0 branch from 698a4cc to d782943 Compare July 31, 2023 02:31
@hfhbd hfhbd merged commit c3b3504 into main Jul 31, 2023
@hfhbd hfhbd deleted the dependabot/gradle/sqldelight-2.0.0 branch July 31, 2023 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant