-
Notifications
You must be signed in to change notification settings - Fork 0
Comparing changes
Open a pull request
base repository: edgeandnode/sqlx
base: main
head repository: transact-rs/sqlx
compare: main
- 15 commits
- 70 files changed
- 13 contributors
Commits on Aug 17, 2026
-
Fix PostgreSQL memory leak when statement cache is disabled (transact…
…-rs#4337) * fix(postgres): check if statement caching is enabled before assigning an id * test(postgres): add regression test for transact-rs#4328
Configuration menu - View commit details
-
Copy full SHA for 56fbf87 - Browse repository at this point
Copy the full SHA 56fbf87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e57d05 - Browse repository at this point
Copy the full SHA 6e57d05View commit details
Commits on Aug 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 54ee68b - Browse repository at this point
Copy the full SHA 54ee68bView commit details -
docs(macros): document that bind parameter nullability is not compile…
…-checked (transact-rs#4345) Restructures the "Nullability: Bind Parameters" section of the query! macro documentation to state upfront that the nullability of bind parameters is not verified at compile time, why (SQLx does not parse SQL), and give the concrete example from transact-rs#2642. The previous phrasing understated the limitation and hid it behind guidance about WHERE clauses, which is now demoted to a sub-section. Closes transact-rs#2642
Configuration menu - View commit details
-
Copy full SHA for 218ff5f - Browse repository at this point
Copy the full SHA 218ff5fView commit details
Commits on Aug 19, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2cd6369 - Browse repository at this point
Copy the full SHA 2cd6369View commit details -
sqlx-cli: drop the literal style override that was invisible on light…
… terminals (transact-rs#4263) * sqlx-cli: use cyan instead of white for help text literals White is invisible on light terminal backgrounds. Cyan is readable on both light and dark backgrounds, so it's a better default for the literal style. Fixes transact-rs#4112 * sqlx-cli: drop the literal style override Default terminal color is readable on both light and dark backgrounds, which is the original bug. No need to pick a specific replacement color. Signed-off-by: Charlie Tonneslan <cst0520@gmail.com> --------- Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 531030b - Browse repository at this point
Copy the full SHA 531030bView commit details -
bugfix: streamline and fix AnyQueryResult::last_insert_id() for SQLite (
transact-rs#4205) * fix: make MySqlQueryResult -> AnyQueryResult conversion more consistent & robust - replaced custom map_result function with From<T> implementation * fix: unify PgQueryResult -> AnyQueryResult conversion code path - replaced custom map_result function with From<T> implementation * fix: make SqliteQueryResult -> AnyQueryResult conversion respect last_insert_rowid - replaced custom map_result function with From<T> implementation - fixed bug causing AnyQueryResult.last_insert_id to always be None for Sqlite backend * test(sqlite): add any_sets_last_insert_id - added test - updated required-features * test(mysql): add any_sets_last_insert_id - added test - updated required-features * test(postgres): add any_sets_last_insert_id - added test - updated required-features * fix(tests): use different syntax to address compiler errors * fix(test/postgres): slightly change bind syntax as required for this backend
Configuration menu - View commit details
-
Copy full SHA for ebc408a - Browse repository at this point
Copy the full SHA ebc408aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 80f44db - Browse repository at this point
Copy the full SHA 80f44dbView commit details -
fix(sqlite): correct sub-second decoding of pre-epoch REAL datetimes (t…
…ransact-rs#4340) Datetimes stored as a REAL Julian day number (e.g. via SQLite's julianday()) were decoded by splitting the UNIX timestamp with trunc()/fract().abs(). timestamp_opt() always adds the nanoseconds forward in time, so for values before 1970 this pushed the result up to ~2 seconds off and could move it onto the wrong side of the epoch (e.g. 1969-12-31 23:59:59.5 decoded as 1970-01-01 00:00:00.5). Round seconds toward negative infinity with floor() and take the sub-second remainder relative to that, so nanos is always a valid forward offset. Post-epoch values are unaffected. Adds unit tests for the pre- and post-epoch paths.
Configuration menu - View commit details
-
Copy full SHA for 4fc0fb8 - Browse repository at this point
Copy the full SHA 4fc0fb8View commit details -
chore: Add README to examples (transact-rs#4264)
Some simple clarification for the use of the examples.
Configuration menu - View commit details
-
Copy full SHA for 3d16ce6 - Browse repository at this point
Copy the full SHA 3d16ce6View commit details
Commits on Aug 20, 2026
-
Reuse the TLS connector across connection attempts (transact-rs#4242)
* feat(sqlx-core): split connector creation from handshake * feat(sqlx-mysql, sqlx-postgres): cache the TLS connector
Configuration menu - View commit details
-
Copy full SHA for d029396 - Browse repository at this point
Copy the full SHA d029396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d15be8 - Browse repository at this point
Copy the full SHA 1d15be8View commit details
Commits on Sep 2, 2026
-
docs: clarify
Pool::sizeandPool::num_idle(transact-rs#4398)`num_idle` was documented as returning connections "active and idle", which reads as active plus idle. It only counts idle ones. `size` was documented as "currently active. This includes idle connections" which is incomplete: `try_increment_size()` bumps the counter before the connection is established, so connections still being opened are counted too.
Configuration menu - View commit details
-
Copy full SHA for c113e72 - Browse repository at this point
Copy the full SHA c113e72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e1a65 - Browse repository at this point
Copy the full SHA 09e1a65View commit details -
docs(postgres): document default TimeZone=UTC session behavior (trans…
…act-rs#4344) Adds a "Note: TimeZone" section to PgConnectOptions documentation explaining that SQLx sets the session TimeZone to UTC on connection, why this is done, and how it differs from psql's default behavior (which can surprise users of functions like date_trunc, now, etc.). Closes transact-rs#3226
Configuration menu - View commit details
-
Copy full SHA for 03af8bc - Browse repository at this point
Copy the full SHA 03af8bcView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main