Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump sqldelight from 2.0.1 to 2.0.2 (WPB-10501) #2714

Closed
wants to merge 5 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 23, 2024

Bumps sqldelight from 2.0.1 to 2.0.2.
Updates app.cash.sqldelight:runtime from 2.0.1 to 2.0.2

Release notes

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

Version 2.0.2 (2024-04-05)

Change Log

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by Marius Volkhart)
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])

  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])

  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])

  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)

  • [IDE Plugin] Use the extensions array instead of stream (#5127)

... (truncated)

Changelog

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

[2.0.2] - 2024-04-05

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by [Marius Volkhart][MariusV])
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])
  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])
  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])
  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)
  • [IDE Plugin] Use the extensions array instead of stream (#5127)
Commits

Updates app.cash.sqldelight:coroutines-extensions from 2.0.1 to 2.0.2

Release notes

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

Version 2.0.2 (2024-04-05)

Change Log

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by Marius Volkhart)
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])

  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])

  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])

  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)

  • [IDE Plugin] Use the extensions array instead of stream (#5127)

... (truncated)

Changelog

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

[2.0.2] - 2024-04-05

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by [Marius Volkhart][MariusV])
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])
  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])
  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])
  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)
  • [IDE Plugin] Use the extensions array instead of stream (#5127)
Commits

Updates app.cash.sqldelight:android-driver from 2.0.1 to 2.0.2

Release notes

Sourced from app.cash.sqldelight:android-driver's releases.

Version 2.0.2 (2024-04-05)

Change Log

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by Marius Volkhart)
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])

  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])

  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])

  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)

  • [IDE Plugin] Use the extensions array instead of stream (#5127)

... (truncated)

Changelog

Sourced from app.cash.sqldelight:android-driver's changelog.

[2.0.2] - 2024-04-05

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by [Marius Volkhart][MariusV])
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])
  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])
  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])
  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)
  • [IDE Plugin] Use the extensions array instead of stream (#5127)
Commits

Updates app.cash.sqldelight:androidx-paging3-extensions from 2.0.1 to 2.0.2

Release notes

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

Version 2.0.2 (2024-04-05)

Change Log

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by Marius Volkhart)
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])

  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])

  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])

  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)

  • [IDE Plugin] Use the extensions array instead of stream (#5127)

... (truncated)

Changelog

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

[2.0.2] - 2024-04-05

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by [Marius Volkhart][MariusV])
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])
  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])
  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])
  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])
  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)
  • [IDE Plugin] Use the extensions array instead of stream (#5127)
Commits

Updates app.cash.sqldelight:native-driver from 2.0.1 to 2.0.2

Release notes

Sourced from app.cash.sqldelight:native-driver's releases.

Version 2.0.2 (2024-04-05)

Change Log

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by Marius Volkhart)
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])

  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])

  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])

  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 by [Griffio][griffio])

  • [IDE Plugin] Fix error handler crash (#4988 by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] BugSnag fails to init in IDEA 2023.3 (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] PluginException when opening .sq file in IntelliJ via plugin (by [Alexander Perfilyev][aperfilyev])

  • [IDE Plugin] Dont bundle the kotlin lib into the intellij plugin as its already a plugin dependency (#5126)

  • [IDE Plugin] Use the extensions array instead of stream (#5127)

... (truncated)

Changelog

Sourced from app.cash.sqldelight:native-driver's changelog.

[2.0.2] - 2024-04-05

Added

  • [PostgreSQL Dialect] Add PostgreSQL STRING_AGG function (#4950 by [André Danielsson][anddani])
  • [PostgreSQL Dialect] Add SET statement to pg dialect (#4927 by [Bastien de Luca][de-luca])
  • [PostgreSQL Dialect] Add PostgreSql alter column sequence parameters (#4916 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add postgresql alter column default support for insert statement (#4912 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSql alter sequence and drop sequence (#4920 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add Postgres Regex function definitions (#5025 by [Marius Volkhart][MariusV])
  • [PostgreSQL Dialect] Add grammar for GIN (#5027 by [Griffio][griffio])

Changed

  • [IDE Plugin] Minimum version of 2023.1 / Android Studio Iguana
  • [Compiler] Allow overriding the type nullability in encapsulatingType (#4882 by [Eliezer Graber][eygraber])
  • [Compiler] Inline the column names for SELECT *
  • [Gradle Plugin] switch to processIsolation (#5068 by [Emeka Nwagu][nwagu])
  • [Android Runtime] Increase Android minSDK to 21 (#5094 by [Philip Wedemann][hfhbd])
  • [Drivers] Expose more JDBC/R2DBC statement methods for dialect authors (#5098 by [Philip Wedemann][hfhbd])

Fixed

  • [PostgreSQL Dialect] Fix postgresql alter table alter column (#4868 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4448 missing import for table model (#4885 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4932 postgresql default constraint functions (#4934 by [Griffio][griffio])
  • [PostgreSQL Dialect] fixes 4879 postgresql class-cast error in alter table rename column during migrations (#4880 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fix 4474 PostgreSql create extension (#4541 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5018 PostgreSql add Primary Key not nullable types (#5020 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 4703 aggregate expressions (#5071 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5028 PostgreSql json (#5030 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5040 PostgreSql json operators (#5041 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes json operator binding for 5040 (#5100 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5082 tsvector (#5104 by [Griffio][griffio])
  • [PostgreSQL Dialect] Fixes 5032 column adjacency for PostgreSql UPDATE FROM statement (#5035 by [Griffio][griffio])
  • [SQLite Dialect] fixes 4897 sqlite alter table rename column (#4899 b...

    Description has been truncated

    Note
    Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Apr 23, 2024
@dependabot dependabot bot requested review from a team, alexandreferris, mchenani, Garzas, ohassine and saleniuk and removed request for a team April 23, 2024 13:33
Bumps `sqldelight` from 2.0.1 to 2.0.2.

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

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

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

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

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

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

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

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

Updates `app.cash.sqldelight:sqlite-3-38-dialect` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/cashapp/sqldelight/releases)
- [Changelog](https://github.com/cashapp/sqldelight/blob/master/CHANGELOG.md)
- [Commits](sqldelight/sqldelight@2.0.1...2.0.2)

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

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

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

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

---
updated-dependencies:
- dependency-name: app.cash.sqldelight:runtime
  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:android-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:androidx-paging3-extensions
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:native-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:sqlite-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:web-worker-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:primitive-adapters
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:sqlite-3-38-dialect
  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:r2dbc-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: app.cash.sqldelight:async-extensions
  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.2 branch from 6d71a92 to 9c2eecd Compare April 24, 2024 12:54
Copy link
Contributor

@yamilmedina yamilmedina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are broken tests in MessageNotificationsTest with this upgrade, related to notifications queries (row_num) So we cannot update until those are fixed.

Copy link

sonarqubecloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link
Contributor

github-actions bot commented Jun 7, 2024

Test Results

0 tests   - 3 339   0 ✅  - 3 232   0s ⏱️ - 4m 53s
0 suites  -   572   0 💤  -   107 
0 files    -   572   0 ❌ ±    0 

Results for commit fc90b8e. ± Comparison against base commit 06c284a.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

Datadog Report

Branch report: dependabot/gradle/sqldelight-2.0.2
Commit report: d152316
Test service: kalium-jvm

❌ 9 Failed (0 Known Flaky), 2913 Passed, 52 Skipped, 12.37s Total Time

❌ Failed Tests (9)

This report shows up to 5 failed tests.

  • givenConversationIsArchived_whenMessageInserted_thenDoNotNotify[jvm] - com.wire.kalium.persistence.dao.message.MessageNotificationsTest - Details

    Expand for error
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1179)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1190)
     	at app//org.sqlite.core.DB.throwex(DB.java:1150)
     	at app//org.sqlite.core.NativeDB.prepare_utf8(Native Method)
     	at app//org.sqlite.core.NativeDB.prepare(NativeDB.java:132)
     	at app//org.sqlite.core.DB.prepare(DB.java:264)
     	at app//org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46)
     ...
    
  • givenConversationLastNotifiedDateIsNull_whenNewMessageInserted_thenNotificationPropagated[jvm] - com.wire.kalium.persistence.dao.message.MessageNotificationsTest - Details

    Expand for error
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1179)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1190)
     	at app//org.sqlite.core.DB.throwex(DB.java:1150)
     	at app//org.sqlite.core.NativeDB.prepare_utf8(Native Method)
     	at app//org.sqlite.core.NativeDB.prepare(NativeDB.java:132)
     	at app//org.sqlite.core.DB.prepare(DB.java:264)
     	at app//org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46)
     ...
    
  • givenConversation_whenMessageNormalInserted_thenIsSelfDeleteFlagSetToFalse[jvm] - com.wire.kalium.persistence.dao.message.MessageNotificationsTest - Details

    Expand for error
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1179)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1190)
     	at app//org.sqlite.core.DB.throwex(DB.java:1150)
     	at app//org.sqlite.core.NativeDB.prepare_utf8(Native Method)
     	at app//org.sqlite.core.NativeDB.prepare(NativeDB.java:132)
     	at app//org.sqlite.core.DB.prepare(DB.java:264)
     	at app//org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46)
     ...
    
  • givenConversation_whenMessageSelfDeleteMessageInserted_thenIsSelfDeleteFlagSetToTrue[jvm] - com.wire.kalium.persistence.dao.message.MessageNotificationsTest - Details

    Expand for error
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1179)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1190)
     	at app//org.sqlite.core.DB.throwex(DB.java:1150)
     	at app//org.sqlite.core.NativeDB.prepare_utf8(Native Method)
     	at app//org.sqlite.core.NativeDB.prepare(NativeDB.java:132)
     	at app//org.sqlite.core.DB.prepare(DB.java:264)
     	at app//org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46)
     ...
    
  • givenConversation_whenMessageWithReplyOnMyMessageInserted_thenNotificationMarkedAsReply[jvm] - com.wire.kalium.persistence.dao.message.MessageNotificationsTest - Details

    Expand for error
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     
     org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing database (no such column: row_num)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1179)
     	at app//org.sqlite.core.DB.newSQLException(DB.java:1190)
     	at app//org.sqlite.core.DB.throwex(DB.java:1150)
     	at app//org.sqlite.core.NativeDB.prepare_utf8(Native Method)
     	at app//org.sqlite.core.NativeDB.prepare(NativeDB.java:132)
     	at app//org.sqlite.core.DB.prepare(DB.java:264)
     	at app//org.sqlite.core.CorePreparedStatement.<init>(CorePreparedStatement.java:46)
     ...
    

@vitorhugods
Copy link
Member

vitorhugods commented Jul 3, 2024

Seems to be a bug within SqlDelight.

We will need a 2.0.3 build. So, I'll investigate further.

This is the query that is facing issues:

getNotificationsMessages:
WITH NumberedMessages AS (
    SELECT
        -- other fields
        ROW_NUMBER() OVER (PARTITION BY m.conversation_id ORDER BY m.creation_date DESC) AS row_num
    FROM
        Message m
    JOIN
        User u ON m.sender_user_id = u.qualified_id
    JOIN
        Conversation c ON m.conversation_id = c.qualified_id
    LEFT JOIN
        MessageAssetContent ac ON m.id = ac.message_id AND m.conversation_id = ac.conversation_id
    LEFT JOIN
        MessageTextContent tc ON m.id = tc.message_id AND m.conversation_id = tc.conversation_id
    WHERE
        -- Criteria
)
SELECT
    -- some fields
FROM
    NumberedMessages
WHERE
   row_num <= 10
ORDER BY
    date DESC;

However, take a look into the ROW_NUMBER() OVER ... field.
SqlDelight code generator does this:

WITH NumberedMessages AS (
    SELECT
        -- more fields
        row_num -- It completely removed the rest of the query here
    FROM
        Message m
    JOIN
        User u ON m.sender_user_id = u.qualified_id
    JOIN
        Conversation c ON m.conversation_id = c.qualified_id
    LEFT JOIN

@datadog-wireapp
Copy link

datadog-wireapp bot commented Jul 23, 2024

Datadog Report

Branch report: dependabot/gradle/sqldelight-2.0.2
Commit report: ce35b5e
Test service: kalium-jvm

✅ 0 Failed, 1 Passed, 0 Skipped, 0s Total Time

Copy link

sonarqubecloud bot commented Aug 8, 2024

@yamilmedina yamilmedina changed the title chore(deps): bump sqldelight from 2.0.1 to 2.0.2 chore(deps): bump sqldelight from 2.0.1 to 2.0.2 (WPB-10501) Aug 8, 2024
@echoes-hq echoes-hq bot added the echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

@yamilmedina yamilmedina self-assigned this Aug 9, 2024
Copy link
Contributor

github-actions bot commented Sep 9, 2024

This PR is stale because it has been open 30 days with no activity. Please update it or close it in case is not relevant anymore.

@github-actions github-actions bot added the stale label Sep 9, 2024
@stale stale bot removed the stale label Dec 5, 2024
Copy link

sonarqubecloud bot commented Dec 5, 2024

@yamilmedina
Copy link
Contributor

Raised issue on SQLDelight bug tracker.

@vitorhugods
Copy link
Member

Closing it for now. We definitely can't update to 2.0.2 and it would be nice to have dependabot work on other things :)

@vitorhugods vitorhugods closed this Dec 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 5, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/gradle/sqldelight-2.0.2 branch December 5, 2024 14:57
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 DO NOT MERGE echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. java Pull requests that update Java code 👕 size: XS type: chore 🧹
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants