Skip to content

fix(deps): update sqldelight to v2.1.0 #4735

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 16, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
app.cash.sqldelight 2.0.2 -> 2.1.0 age adoption passing confidence
app.cash.sqldelight:coroutines-extensions 2.0.2 -> 2.1.0 age adoption passing confidence
app.cash.sqldelight:sqlite-driver 2.0.2 -> 2.1.0 age adoption passing confidence
app.cash.sqldelight:android-driver 2.0.2 -> 2.1.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

sqldelight/sqldelight (app.cash.sqldelight)

v2.1.0

Compare Source

Added
  • [WASM Driver] Add support for wasmJs to web worker driver (#​5534 by [Ilya Gulya][IlyaGulya])
  • [PostgreSQL Dialect] Support PostgreSql UnNest Array to rows (#​5673 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql TSRANGE/TSTZRANGE support (#​5297 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql Right Full Join (#​5086 by [Griffio][griffio])
  • [PostgreSQL Dialect] Postrgesql extract from temporal types (#​5273 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql array contains operators (#​4933 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql drop constraint (#​5288 by [Griffio][griffio])
  • [PostgreSQL Dialect] Postgresql type casting (#​5089 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql lateral join operator for subquery (#​5122 by [Griffio][griffio])
  • [PostgreSQL Dialect] Postgresql ILIKE operator (#​5330 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql XML type (#​5331 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql AT TIME ZONE (#​5243 by [Griffio][griffio])
  • [PostgreSQL Dialect] Support postgresql order by nulls (#​5199 by [Griffio][griffio])
  • [PostgreSQL Dialect] Add PostgreSQL current date/time function support (#​5226 by [Drew Dobson][drewd])
  • [PostgreSQL Dialect] PostgreSql Regex operators (#​5137 by [Griffio][griffio])
  • [PostgreSQL Dialect] add brin gist (#​5059 by [Griffio][griffio])
  • [MySQL Dialect] Support RENAME INDEX for MySql dialect (#​5212 by [Oren Kislev][orenkislev-faire])
  • [JSON Extension] Add alias to json table function (#​5372 by [Griffio][griffio])
Changed
  • [Compiler] Generated query files return row counts for simple mutators (#​4578 by [Marius Volkhart][MariusV])
  • [Native Driver] Update NativeSqlDatabase.kt to change readonly flag for DELETE, INSERT, and UPDATE statements (#​5680 by [Griffio][griffio])
  • [PostgreSQL Dialect] Change PgInterval to String (#​5403 by [Griffio][griffio])
  • [PostgreSQL Dialect] Support SqlDelight modules to implement PostgreSql extensions (#​5677 by [Griffio][griffio])
Fixed
  • [Compiler] fix: notify queries when executing group statements with result (#​5006 by [Vitor Hugo Schwaab][vitorhugods])
  • [Compiler] Fix SqlDelightModule type resolver (#​5625 by [Griffio][griffio])
  • [Compiler] Fix 5501 insert object escaped column (#​5503 by [Griffio][griffio])
  • [Compiler] Compiler: Improve error message such that path links are clickable with the correct line & char position. (#​5604 by [Niklas Baudy][vanniktech])
  • [Compiler] Fix issue 5298: allow keywords to be used as table names
  • [Compiler] fix named executes and add test
  • [Compiler] Consider foreign key table constraints when sorting initialization statements (#​5325 by [Leon Linhart][TheMrMilchmann])
  • [Compiler] Align error underlines properly when tabs are involved (#​5224 by [Drew Dobson][drewd])
  • [JDBC Driver] Fix memory leak for connectionManager during end of transaction
  • [JDBC Driver] Run SQLite migrations inside transaction as mentioned in documentation (#​5218 by [Lukáš Moravec][morki])
  • [JDBC Driver] Fix leaking connections after transaction commit / rollback (#​5205 by [Lukáš Moravec][morki])
  • [Gradle Plugin] Execute DriverInitializer before GenerateSchemaTask (#​5562 by [Emeka Nwagu][nwagu])
  • [Runtime] Fix crash in LogSqliteDriver when real driver is Async (#​5723 by [Eric Denman][edenman])
  • [Runtime] Fix StringBuilder capacity (#​5192 by [Jan Bína][janbina])
  • [PostgreSQL Dialect] PostgreSql create or replace view (#​5407 by [Griffio][griffio])
  • [PostgreSQL Dialect] Postgresql to_json (#​5606 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql numeric resolver (#​5399 by [Griffio][griffio])
  • [PostgreSQL Dialect] sqlite windows function (#​2799 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql SELECT DISTINCT ON (#​5345 by [Griffio][griffio])
  • [PostgreSQL Dialect] alter table add column if not exists (#​5309 by [Griffio][griffio])
  • [PostgreSQL Dialect] Postgresql async bind parameter (#​5313 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql boolean literals (#​5262 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql window functions (#​5155 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql isNull isNotNull types (#​5173 by [Griffio][griffio])
  • [PostgreSQL Dialect] PostgreSql select distinct (#​5172 by [Griffio][griffio])
  • [Paging Extension] paging refresh initial load fix (#​5615 by [Eva][evant])
  • [Paging Extension] Add MacOS native targets (#​5324 by [Vitor Hugo Schwaab][vitorhugods])
  • [IntelliJ Plugin] K2 Support

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner May 16, 2025 22:42
@renovate renovate bot requested review from jmartinesp and removed request for a team May 16, 2025 22:42
@renovate renovate bot added the PR-Dependencies Pull requests that update a dependency file label May 16, 2025
@bmarty
Copy link
Member

bmarty commented May 21, 2025

@jmartinesp I can have a look at this one

@jmartinesp
Copy link
Member

Oh, the fix is quite simple, just returning Unit at a couple of methods. I actually started working on it but had to switch to another issue with a higher priority. Feel free to take it, and thanks!

Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/axBEbc

Copy link

@ElementBot
Copy link
Collaborator

Warnings
⚠️

gradle/libs.versions.toml#L14 - A newer version of androidx.datastore:datastore-preferences than 1.1.6 is available: 1.1.7

⚠️

gradle/libs.versions.toml#L19 - A newer version of androidx.media3:media3-ui than 1.6.1 is available: 1.7.1

⚠️

gradle/libs.versions.toml#L23 - A newer version of androidx.compose:compose-bom than 2025.04.00 is available: 2025.05.01

⚠️

gradle/libs.versions.toml#L40 - A newer version of io.coil-kt.coil3:coil-test than 3.1.0 is available: 3.2.0

⚠️

gradle/libs.versions.toml#L42 - A newer version of com.bumble.appyx:testing-junit4 than 1.7.0 is available: 1.7.1

⚠️

gradle/libs.versions.toml#L45 - A newer version of me.saket.telephoto:zoomable-image-coil than 0.15.1 is available: 0.16.0

⚠️

gradle/libs.versions.toml#L75 - A newer version of com.google.firebase:firebase-bom than 33.13.0 is available: 33.14.0

⚠️

gradle/libs.versions.toml#L172 - A newer version of org.matrix.rustcomponents:sdk-android than 25.5.13 is available: 25.5.21

⚠️

gradle/libs.versions.toml#L186 - A newer version of org.maplibre.gl:android-sdk than 11.8.7 is available: 11.8.8

⚠️

gradle/libs.versions.toml#L189 - The native library arm64-v8a/libopuscodec.so (from io.element.android:opusencoder:1.1.0) is not 16 KB aligned

⚠️

gradle/libs.versions.toml#L210 - A newer version of io.element.android:element-call-embedded than 0.9.0 is available: 0.11.1

Generated by 🚫 dangerJS against 804919c

Copy link
Contributor Author

renovate bot commented May 21, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link

codecov bot commented May 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.13%. Comparing base (f61be3a) to head (804919c).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4735      +/-   ##
===========================================
- Coverage    80.13%   80.13%   -0.01%     
===========================================
  Files         2129     2129              
  Lines        56449    56446       -3     
  Branches      7055     7055              
===========================================
- Hits         45236    45233       -3     
  Misses        8795     8795              
  Partials      2418     2418              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bmarty
Copy link
Member

bmarty commented May 22, 2025

Yes, this is what I have done.

I am now wondering if we should find a way (Konsist?) to prevent methods from using = instead of { ... } between the declaration and the body when the return type is Unit. This is actually "leaking" some data. I know that we already have some coroutine Job that are "leaked" because of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants