Repository navigation
1.16.0
sqlx4k 1.16.0
Highlights
- Generated ids:
executeWithResult()returnsrowsAffected+lastInsertId(MySQL, SQLite, SQLCipher). Closes #182. - Streaming queries:
streamAll…repository methods returnFlow<T>, with an optional@Query(fetchSize = …). - Exact decimals: NUMERIC/decimal decoding on every driver, including binary NUMERIC and
NUMERIC[]on native PostgreSQL (#184).
Fixes
- Native PostgreSQL: binary NUMERIC decoding, no panic on undecodable columns (#184, thanks @zoujiaqing)
- Native SQLite/SQLCipher: no crash on NUL bytes or invalid UTF-8 in text
- Native MySQL:
_bincollated text no longer hex-encoded; generatedinsert()/update()fixed (error 1064) - JVM MySQL: binary columns returned as bytes; JVM PG/MySQL pool timeouts mapped to
PoolTimedOut - Android SQLite: several connection-pool concurrency fixes
Upgrade notes
- SQLite REAL values use shortest form (
"1", not"1.00"). - JVM SQLite now uses HikariCP; its minimum timeouts apply.
No breaking API changes.
Full changelog: 1.15.0...1.16.0