Skip to content

fix(deps): update sqlx4k to v1.15.0 - #84

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sqlx4k
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sqlx4k

Conversation

@renovate

@renovate renovate Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
io.github.smyrgeorge:sqlx4k-codegen 1.13.0 → 1.15.0 age confidence
io.github.smyrgeorge:sqlx4k-sqlite 1.13.0 → 1.15.0 age confidence

Warning

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


Release Notes

smyrgeorge/sqlx4k (io.github.smyrgeorge:sqlx4k-codegen)

v1.15.0

Compare Source

Release Notes: Version 1.15.0

This release adds row streaming with fetch() on every driver, a Gradle plugin that configures sqlx4k from a single sqlx4k { } block, and database-reported error details on SQLError.

🚀 New Features
  • Streaming results with fetch(): db.fetch(sql, fetchSize = 1_000) returns a cold Flow<ResultSet.Row>; fetch(sql, rowMapper) returns Flow<T>. Rows are emitted as the database produces them, in chunks of fetchSize, instead of being collected in memory. Available on PostgreSQL, MySQL/MariaDB, SQLite and SQLite-Cipher, on native and JVM drivers, pools, connections and transactions. A failure fails the collection with an SQLError.
  • Gradle plugin (io.github.smyrgeorge.sqlx4k): Configure the driver, generated package, extensions (Pgmq, Arrow) and code-generator args from one block. The plugin applies KSP, registers sqlx4k-codegen, wires generated sources and task ordering, and adds the driver and extension dependencies at the matching version (addDependencies = false to opt out). The examples now build with it.
  • Database error details on SQLError: new sqlState (PostgreSQL, MySQL), nativeCode (MySQL, SQLite) and kind properties. SQLError.Kind classifies errors portably: UniqueViolation, ForeignKeyViolation, NotNullViolation, CheckViolation, ExclusionViolation, Deadlock, SerializationFailure, LockTimeout, Other. Same mapping on native and JVM drivers.
🐛 Fixes
  • Parallel Rust builds: per-module cargo builds and cinterop tasks are serialized via a shared build service, so concurrent target builds no longer race on the generated cbindgen header.
🛠 Improvements
  • Error-detail and streaming tests for every driver (common, JVM, native, Android host).
  • Rust crates: tokio sync + macros features, futures-core / futures-util for row streams.
  • Build, bootstrap and publish scripts cover the new plugin module.
⚠️ Compatibility
  • QueryExecutor gained abstract fetch(...) members. Custom implementations of the interface must add them; built-in drivers are unaffected.
📦 Dependency Updates
  • Kotlin: 2.4.20 → 2.4.21
  • gradle/actions: 6.3.0 → 6.4.0 (#​181)

Full Changelog: smyrgeorge/sqlx4k@1.14.0...1.15.0

v1.14.0

Compare Source

Release Notes: Version 1.14.0

This release adds optimistic locking, transaction savepoints and MariaDB batch inserts, and hardens the native drivers so connection errors are reported instead of aborting the process.

🚀 New Features
  • Optimistic locking with @Version: Annotate a single non-nullable Int/Long property. Generated update()/delete() check the version, update()/batchUpdate() increment it in SQL and read it back via RETURNING. Conflicts fail with the new SQLError.Code.OptimisticLockFailed. In-memory test repositories behave the same way.
  • Transaction savepoints: savepoint(name), releaseSavepoint(name), rollbackToSavepoint(name), plus a scoped savepoint { ... }: Result<T> that releases on success and rolls back on failure.
  • MariaDB dialect: batchInsert via multi-row INSERT ... RETURNING (MariaDB 10.5+). batchUpdate is reported as unsupported on MariaDB.
🐛 Fixes
  • Cancellation-safe transactions: transactions and savepoints roll back when the coroutine is cancelled. CancellationException is rethrown rather than captured in a Result.
  • No more native panics: PostgreSQL, MySQL, SQLite and SQLite-Cipher drivers return driver/connection errors (Io, Tls, Protocol, Decode, ...) as SQLError instead of panicking. Messages containing NUL bytes are sanitized.
🛠 Improvements
  • Platform-specific error and transaction tests for every driver module.
  • Dokka covers sqlx4k-codegen-test and sqlx4k-sqlite-cipher.
  • Issue templates for bug reports and feature requests.
  • README: banner, restructured Transactions/savepoints sections, context-parameter docs, feature overview.
📦 Dependency Updates
  • Kotlin: 2.4.10 → 2.4.20
  • KSP: 2.3.11 → 2.3.12
  • Android KMP library plugin: 9.3.2 → 9.4.1
  • JSqlParser: 5.3 → 5.4
  • Robolectric: 4.16.1 → 4.17
  • r2dbc-postgresql: 1.1.2.RELEASE → 1.1.3.RELEASE
  • Gradle wrapper: 9.7.1 → 9.8.0

Full Changelog: smyrgeorge/sqlx4k@1.13.1...1.14.0

v1.13.1

Compare Source

Fixed: #​171

What's Changed

Full Changelog: smyrgeorge/sqlx4k@1.13.0...1.13.1


Configuration

📅 Schedule: (in timezone Etc/UTC)

  • Branch creation
    • "before 6am on monday"
  • 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 force-pushed the renovate/sqlx4k branch from f64fe11 to 705022c Compare October 5, 2026 08:06
@renovate renovate Bot changed the title fix(deps): update sqlx4k to v1.13.1 fix(deps): update sqlx4k to v1.14.0 Oct 5, 2026
@renovate
renovate Bot force-pushed the renovate/sqlx4k branch from 705022c to b89022c Compare October 9, 2026 23:36
@renovate renovate Bot changed the title fix(deps): update sqlx4k to v1.14.0 fix(deps): update sqlx4k Oct 9, 2026
@renovate renovate Bot changed the title fix(deps): update sqlx4k fix(deps): update sqlx4k to v1.15.0 Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants