Repository navigation
Update ws-support (#15) - #8
Merged
Merged
Conversation
* release: v0.5.4 * Fix infinite compile loop regression from recursive Lazy reference * release: v0.5.5 * Improve root README.md and sqlx-cli/README.md (transact-rs#1262) * readme: Fix inconsistent list style * readme: Improve text alignment * readme: Fix missing links * readme: Consistently use code formatting for runtime & TLS crates and dedup links * readme: Add SQLx is not an ORM section * readme: Improve documentation about offline mode * Rename _expr to expr (transact-rs#1264) * Fix error message about wildcard overrides (transact-rs#1276) Co-authored-by: Austin Bonander <[email protected]> * Fix error message about wildcard overrides (transact-rs#1276) (#8) Co-authored-by: Austin Bonander <[email protected]> Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: Austin Bonander <[email protected]> * Fix error message about wildcard overrides (transact-rs#1276) (#10) Co-authored-by: Austin Bonander <[email protected]> Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: Austin Bonander <[email protected]> * feat(docs): add an FAQ (transact-rs#1319) * doc(faq): mention how to invert `= ANY($1)` * doc(faq): empty array cases for `ANY` and `ALL` * doc(faq): fix wording for empty cases * Update crc 1.8.1 -> 2.0.0 (transact-rs#1256) * Support MACADDR in Postgres (transact-rs#1329) * fix(mysql): implement type traits for `chrono::DateTime<Local>` (transact-rs#1335) closes transact-rs#1222 * Keep track of column typing in SQLite EXPLAIN parsing (transact-rs#1323) * NewRowid, Column opcodes, better pointer handling * Implement tracking of column typing on sqlite explain parser * fmt for sqlite column typing for explain parsing Co-authored-by: marshoepial <[email protected]> * fix(pool): reimplement pool internals with `futures-intrusive` (transact-rs#1320) * fix(pg_money): handle negative values correctly in `PgMoney::from_decimal()` (transact-rs#1334) closes transact-rs#1321 * fix(macros): tell the compiler about external files/env vars to watch (transact-rs#1332) * fix(macros): tell the compiler about external files/env vars to watch closes transact-rs#663 closes transact-rs#681 * feat(cli): add `migrate` subcommand for generating a build script suggest embedding migrations on `sqlx migrate add` in a new project * fix(macros): prefix generated variable names in `query_as!()` (transact-rs#1336) closes transact-rs#1322 * Use tokio `spawn_blocking` instead of `block_in_place` (transact-rs#1333) This fixes a panic when sharing an SQLite connection pool between tokio runtime and actix runtime * Mark the original DatabaseError as source. (transact-rs#1197) * Use postgres as maintenance db unless maintaining postgres itself (transact-rs#1339) Fixes transact-rs#1283. * Fix GitHub Actions and integration test (transact-rs#1346) * fix test suite * rustfmt * need Row * test: fix integration test scripts and update the upstream supported databases Signed-off-by: Atkins Chang <[email protected]> * ci(actions): update supported databases Signed-off-by: Atkins Chang <[email protected]> * ci(actions): use `pg_isready` instead of `sleep` to avoid error cause by database not ready Signed-off-by: Atkins Chang <[email protected]> * feat(core): add `trait PgConnectionInfo` for connection parameter status from server Signed-off-by: Atkins Chang <[email protected]> * test(postgres): fix integration test for postgres Signed-off-by: Atkins Chang <[email protected]> * test(mysql): fix integration tests Signed-off-by: Atkins Chang <[email protected]> * ci(actions): test database against the oldest and newest supported versions Signed-off-by: Atkins Chang <[email protected]> * docs(core): document `trait PgConnectionInfo` Signed-off-by: Atkins Chang <[email protected]> Co-authored-by: Montana Low <[email protected]> * build(deps): bump git2 from 0.13.19 to 0.13.20 (transact-rs#1362) Signed-off-by: Atkins Chang <[email protected]> * sqlite: fix a couple segfaults (transact-rs#1351) * sqlite: use Arc instead of Copy-able StatementHandle This guarantees that StatementHandle is never used after calling `sqlite3_finalize`. Now `sqlite3_finalize` is only called when StatementHandle is dropped. (cherry picked from commit 5eebc05) * sqlite: use Weak poiter to StatementHandle in the worker Otherwise some tests fail to close connection. (cherry picked from commit 5461eee) * Fix segfault due to race condition in sqlite (transact-rs#1300) (cherry picked from commit bb62cf7) * fix(sqlite): run `sqlite3_reset()` in `StatementWorker` this avoids possible race conditions without using a mutex * fix(sqlite): have `StatementWorker` keep a strong ref to `ConnectionHandle` this should prevent the database handle from being finalized before all statement handles have been finalized * fix(sqlite/test): make `concurrent_resets_dont_segfault` runtime-agnostic Co-authored-by: link2xt <[email protected]> Co-authored-by: Adam Cigánek <[email protected]> * Add docs for fetch_all, example for postgres transactions (transact-rs#1255) * reference fetch_all() in query macros * add example for using transactions in postgres * fix: Ignore __CARGO_FIX_PLZ when running "cargo metadata" in macro (transact-rs#1352) * Fix bug for PostgreSQL if the statement has type holes (transact-rs#1363) * fix: wait until ready after executing other helper queries while pg quering is executing Signed-off-by: Atkins Chang <[email protected]> * fix: use tls parameter for testing target Signed-off-by: Atkins Chang <[email protected]> * fix(cli): pin `clap_derive` version (transact-rs#1381) When `clap_derive 3.0.0-beta.4` released, new invocations of `cargo install sqlx-cli` would try to compile that against `clap 3.0.0-beta.2` which caused some breakages. Until `clap 3.0.0` proper is released, we need to pin both versions to insure against potential breakages from automatic upgrades. closes transact-rs#1378 * cockroachdb fix for macro (transact-rs#1386) * preparing 0.5.6 release (transact-rs#1382) * fix(pool): reenable connection reaper * fix warnings * chore: bump published crates to 0.5.6 * chore: update CHANGELOG.md for 0.5.6 * chore: bump versions of sqlx-* in dependencies * fix(macros): use `resolve_path` when getting path for `include_str!()` (transact-rs#1392) fixes transact-rs#1387 * fix(postgres): avoid recursively spawning tasks in `PgListener::drop()` (transact-rs#1393) refactor(pool): deprecate `PoolConnection::release()`, provide renamed alts * chore: prepare 0.5.7 (hotfix) release (transact-rs#1394) * fix(cli) move database_url transact-rs#1391 (transact-rs#1400) * Use promptly instead of dialoguer (transact-rs#1410) See transact-rs#1409 Co-authored-by: David James <[email protected]> * Getting current Handle in Drop (transact-rs#1395) Signed-off-by: Freyskeyd <[email protected]> * Add more debugging info to unresolved type declaration panic (transact-rs#1416) * Don't require cargo to build offline queries (transact-rs#1415) In particular building with bazel and cargo-raze doesn't imply having cargo at all, and deferring the lookup allows same-crate builds to succeed with no change to semantics. Fixes transact-rs#1414 Signed-off-by: Robert Collins <[email protected]> * Add executor trait "aliases" (transact-rs#1412) * feat: allow log level customization (transact-rs#1371) * don't assert #[repr(...)] on `#[derive(sqlx::Type)]` unless needed (transact-rs#1305) * Reduce futures-util features (transact-rs#1427) * Reduce futures-util features * Remove unused futures crate from sqlx-macros * Fix issue transact-rs#1431 (transact-rs#1432) Why: dotenv() must execute before clap's get_matches() Co-authored-by: David James <[email protected]> * Fix CIDR[] not being compatible with Vec<IpNetwork> (transact-rs#1433) * Support the immutable option on SQLite connections (transact-rs#1289) Co-authored-by: Austin Bonander <[email protected]> * Finish support for Postgres COPY (transact-rs#1345) * feat(postgres): WIP implement `COPY FROM/TO STDIN` Signed-off-by: Austin Bonander <[email protected]> * feat(postgres): WIP implement `COPY FROM/TO STDIN` Signed-off-by: Austin Bonander <[email protected]> * test and complete support for postgres copy Co-authored-by: Austin Bonander <[email protected]> * fix: run `cargo fmt` * Support custom initial options for sqlite (transact-rs#1295) * Support custom initial options for sqlite Apply suggestions from code review Co-authored-by: Austin Bonander <[email protected]> Apply suggestions from code review Co-authored-by: Austin Bonander <[email protected]> Use order-preserving map to set pragmas for an initial sqlite statement Use Cow<'static, str> instead of String Co-authored-by: Austin Bonander <[email protected]> * docs: added a note about MySQL syntax in the README example (transact-rs#1445) * fix(mysql): handle multiple waiting results correctly (transact-rs#1439) * test(mysql): add test case for pending rows and dropped transaction * fix(mysql): handle multiple waiting results correctly * Fix a panic in the worker thread when dropping the connection while `SqliteRow`s still exist (transact-rs#1450) * chore(sqlite): add repro for transact-rs#1419 * fix(sqlite): hold a reference to the connection in `SqliteRow` fixes transact-rs#1419 * Upgrade hmac to 0.11 (transact-rs#1443) * Update postgres 14 test to 14rc1 (transact-rs#1454) * Shut down statement worker in Sqlite Connection::close (transact-rs#1453) * add explicit shutdown of sqlite statement worker in Connection::close() Signed-off-by: Andrew Whitehead <[email protected]> * test sqlite database close method Signed-off-by: Andrew Whitehead <[email protected]> * await worker shutdown after dropping SqliteConnection Signed-off-by: Andrew Whitehead <[email protected]> * restore explicit drop Signed-off-by: Andrew Whitehead <[email protected]> * Revert "feat: allow log level customization (transact-rs#1371)" (transact-rs#1465) This reverts commit 719d800. * [SQLite] encoding & decoding `NaiveTime` with correct format (transact-rs#1459) * Fix SQLite encoding format * Update SQLite decoding format * Update sqlx-core/src/sqlite/types/chrono.rs * fixup: add `#[rustfmt::skip]` Co-authored-by: Austin Bonander <[email protected]> Co-authored-by: Austin Bonander <[email protected]> * Add reverting instructions to README (transact-rs#1468) Instructions on reverting migrations are missing from the README. Here are some that others may find helpful. * preparing 0.5.8 release (transact-rs#1466) * preparing 0.5.8 release * fix warnings before release * prepare 0.5.9 hotfix release (transact-rs#1469) * Update README.md (transact-rs#1479) * fix(test): fix mismatched type error in MySQL type tests (transact-rs#1517) * fix new warning about trailing semicolon in expression macros * fix(test): fix mismatched type error in MySQL type tests * Add support for serialized threading mode to sqlite (transact-rs#1514) * Add support for serialized threading mode * Typos * Fix build * Add persistent setter (transact-rs#1503) (transact-rs#1508) * Reduce indexmap version to 1.6.2 (transact-rs#1501) deno_core currently uses `=1.6.2` for indexmap, and Cargo refuses to resolve a version with sqlx's requirement of 1.7.0. https://github.com/denoland/deno/blob/004d07dccd69c9fae8370665632d90401f770938/core/Cargo.toml#L18 * fix(postgres): allow rust_decimal::Decimal in PgRange (transact-rs#1523) * fix(postgres): allow rust_decimal::Decimal in PgRange * test(postgres): add tests for BigDecimal and Decimal in ranges * Update FAQ to include building on docs.rs (transact-rs#1497) Thanks to @jplatte in the sqlx Discord for providing this solution. * docs: revise `Pool` docs in a couple places (transact-rs#1526) * derive Clone, Copy for AnyKind (transact-rs#1474) * fix panic when converting negative chrono::Duration into PgInterval (transact-rs#1475) * fix PgInterval convert failure for negative chrono::Duration * add unit tests for PgInterval * Fix: remove redundancy because nanosecond overflow implies microsecond overflow * Encode/Decode impl for Cow<'_, str> (transact-rs#1343) * Encode/Decode impl for Cow<'_, str> resolves transact-rs#1214 * --wip-- [skip ci] * Add Cow decode/encode to other databases and fix build * Include a reference to the shape of the migration files in the migrate macro documentation (transact-rs#1498) * fix(readme): link to `dotenv` crate closes transact-rs#1405 * fix(readme): show runtime features in quickstart closes transact-rs#1492 * fix(readme): mention `offline` feature closes transact-rs#1490 * fix(readme): mention examples * fix(sqlx-cli/readme): mention `openssl-vendored` * Copy API improvement (transact-rs#1536) (transact-rs#1537) * expose PgCopyIn * downgrade Pool<Posgres> copy_in_raw/out_row to take &self * bump libsqlite3-sys to 0.23.1 (transact-rs#1535) * add #[cfg(not(target_arch = "wasm32"))] to fix compile errors Co-authored-by: Ryan Leckey <[email protected]> Co-authored-by: toshokan <[email protected]> Co-authored-by: Jonas Platte <[email protected]> Co-authored-by: Rohan Sharma <[email protected]> Co-authored-by: Austin Bonander <[email protected]> Co-authored-by: Akhil Velagapudi <[email protected]> Co-authored-by: nomick <[email protected]> Co-authored-by: marshoepial <[email protected]> Co-authored-by: marshoepial <[email protected]> Co-authored-by: guylapid <[email protected]> Co-authored-by: Luca Palmieri <[email protected]> Co-authored-by: Daniel Faust <[email protected]> Co-authored-by: Atkins <[email protected]> Co-authored-by: Montana Low <[email protected]> Co-authored-by: link2xt <[email protected]> Co-authored-by: Adam Cigánek <[email protected]> Co-authored-by: Rafael Epplée <[email protected]> Co-authored-by: Fredrik Østrem <[email protected]> Co-authored-by: Altan Özlü <[email protected]> Co-authored-by: Evan Cameron <[email protected]> Co-authored-by: David James <[email protected]> Co-authored-by: David James <[email protected]> Co-authored-by: Simon Paitrault <[email protected]> Co-authored-by: Robert Collins <[email protected]> Co-authored-by: Elise <[email protected]> Co-authored-by: Emil Gardström <[email protected]> Co-authored-by: Paolo Barbolini <[email protected]> Co-authored-by: David Marcin <[email protected]> Co-authored-by: Montana Low <[email protected]> Co-authored-by: Ghass Mo <[email protected]> Co-authored-by: Vlad Frolov <[email protected]> Co-authored-by: Kohei Suzuki <[email protected]> Co-authored-by: Andrew Whitehead <[email protected]> Co-authored-by: Billy Chan <[email protected]> Co-authored-by: Austin Bonander <[email protected]> Co-authored-by: Erik <[email protected]> Co-authored-by: Yerkebulan Tulibergenov <[email protected]> Co-authored-by: Lucille Blumire <[email protected]> Co-authored-by: Akira Hayakawa <[email protected]> Co-authored-by: Daniel Imfeld <[email protected]> Co-authored-by: meh <[email protected]> Co-authored-by: Russ Weas <[email protected]> Co-authored-by: yuyawk <[email protected]> Co-authored-by: Kirill Mironov <[email protected]> Co-authored-by: Zbigniew Żołnierowicz <[email protected]> Co-authored-by: Akira Hayakawa <[email protected]> Co-authored-by: David Yamnitsky <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
release: v0.5.4
Fix infinite compile loop regression from recursive Lazy reference
release: v0.5.5
Improve root README.md and sqlx-cli/README.md (Improve root README.md and sqlx-cli/README.md transact-rs/sqlx#1262)
readme: Fix inconsistent list style
readme: Improve text alignment
readme: Fix missing links
readme: Consistently use code formatting for runtime & TLS crates and dedup links
readme: Add SQLx is not an ORM section
readme: Improve documentation about offline mode
Rename _expr to expr (Rename _expr to expr transact-rs/sqlx#1264)
Fix error message about wildcard overrides (Fix error message about wildcard overrides transact-rs/sqlx#1276)
Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Jonas Platte [email protected]
Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Jonas Platte [email protected]
Co-authored-by: Austin Bonander [email protected]
feat(docs): add an FAQ (feat(docs): add an FAQ transact-rs/sqlx#1319)
doc(faq): mention how to invert
= ANY($1)doc(faq): empty array cases for
ANYandALLdoc(faq): fix wording for empty cases
Update crc 1.8.1 -> 2.0.0 (Update crc 1.8.1 -> 2.0.0 transact-rs/sqlx#1256)
Support MACADDR in Postgres (Support MACADDR in Postgres transact-rs/sqlx#1329)
fix(mysql): implement type traits for
chrono::DateTime<Local>(fix(mysql): implement type traits forchrono::DateTime<Local>transact-rs/sqlx#1335)closes transact-rs#1222
Keep track of column typing in SQLite EXPLAIN parsing (Keep track of column typing in SQLite EXPLAIN parsing transact-rs/sqlx#1323)
NewRowid, Column opcodes, better pointer handling
Implement tracking of column typing on sqlite explain parser
fmt for sqlite column typing for explain parsing
Co-authored-by: marshoepial [email protected]
fix(pool): reimplement pool internals with
futures-intrusive(fix(pool): reimplement pool internals withfutures-intrusivetransact-rs/sqlx#1320)fix(pg_money): handle negative values correctly in
PgMoney::from_decimal()(handle negative values correctly inPgMoney::from_decimal()transact-rs/sqlx#1334)closes transact-rs#1321
fix(macros): tell the compiler about external files/env vars to watch (fix(macros): tell the compiler about external files/env vars to watch transact-rs/sqlx#1332)
fix(macros): tell the compiler about external files/env vars to watch
closes transact-rs#663
closes transact-rs#681
migratesubcommand for generating a build scriptsuggest embedding migrations on
sqlx migrate addin a new projectquery_as!()(fix(macros): prefix generated variable names inquery_as!()transact-rs/sqlx#1336)closes transact-rs#1322
spawn_blockinginstead ofblock_in_place(Use tokiospawn_blockinginstead ofblock_in_placetransact-rs/sqlx#1333)This fixes a panic when sharing an SQLite connection pool between tokio runtime and actix runtime
Mark the original DatabaseError as source. (Mark the original DatabaseError as source. transact-rs/sqlx#1197)
Use postgres as maintenance db unless maintaining postgres itself (Use postgres as maintenance db unless maintaining postgres itself transact-rs/sqlx#1339)
Fixes transact-rs#1283.
Fix GitHub Actions and integration test (Fix GitHub Actions and integration test transact-rs/sqlx#1346)
fix test suite
rustfmt
need Row
test: fix integration test scripts and update the upstream supported databases
Signed-off-by: Atkins Chang [email protected]
Signed-off-by: Atkins Chang [email protected]
pg_isreadyinstead ofsleepto avoid error cause by database not readySigned-off-by: Atkins Chang [email protected]
trait PgConnectionInfofor connection parameter status from serverSigned-off-by: Atkins Chang [email protected]
Signed-off-by: Atkins Chang [email protected]
Signed-off-by: Atkins Chang [email protected]
Signed-off-by: Atkins Chang [email protected]
trait PgConnectionInfoSigned-off-by: Atkins Chang [email protected]
Co-authored-by: Montana Low [email protected]
Signed-off-by: Atkins Chang [email protected]
sqlite: fix a couple segfaults (sqlite: fix a couple segfaults transact-rs/sqlx#1351)
sqlite: use Arc instead of Copy-able StatementHandle
This guarantees that StatementHandle is never used after calling
sqlite3_finalize. Nowsqlite3_finalizeis only called whenStatementHandle is dropped.
(cherry picked from commit 5eebc05)
Otherwise some tests fail to close connection.
(cherry picked from commit 5461eee)
(cherry picked from commit bb62cf7)
sqlite3_reset()inStatementWorkerthis avoids possible race conditions without using a mutex
StatementWorkerkeep a strong ref toConnectionHandlethis should prevent the database handle from being finalized before all statement handles
have been finalized
concurrent_resets_dont_segfaultruntime-agnosticCo-authored-by: link2xt [email protected]
Co-authored-by: Adam Cigánek [email protected]
Add docs for fetch_all, example for postgres transactions (Add docs for fetch_all, example for postgres transactions transact-rs/sqlx#1255)
reference fetch_all() in query macros
add example for using transactions in postgres
fix: Ignore __CARGO_FIX_PLZ when running "cargo metadata" in macro (Fix cargo fix bug with sqlx offline mode transact-rs/sqlx#1352)
Fix bug for PostgreSQL if the statement has type holes (Fix bug for PostgreSQL if the statement has type holes transact-rs/sqlx#1363)
fix: wait until ready after executing other helper queries while pg quering is executing
Signed-off-by: Atkins Chang [email protected]
Signed-off-by: Atkins Chang [email protected]
clap_deriveversion (fix(cli): pinclap_deriveversion transact-rs/sqlx#1381)When
clap_derive 3.0.0-beta.4released, new invocations ofcargo install sqlx-cliwould try to compile that againstclap 3.0.0-beta.2which caused some breakages.Until
clap 3.0.0proper is released, we need to pin both versions to insure against potential breakages from automatic upgrades.closes transact-rs#1378
cockroachdb fix for macro (Fix macro error with CockroachDB transact-rs/sqlx#1386)
preparing 0.5.6 release (preparing 0.5.6 release transact-rs/sqlx#1382)
fix(pool): reenable connection reaper
fix warnings
chore: bump published crates to 0.5.6
chore: update CHANGELOG.md for 0.5.6
chore: bump versions of sqlx-* in dependencies
fix(macros): use
resolve_pathwhen getting path forinclude_str!()(fix(macros): useresolve_pathwhen getting path forinclude_str!()transact-rs/sqlx#1392)fixes transact-rs#1387
PgListener::drop()(fix(postgres): avoid recursively spawning tasks inPgListener::drop()transact-rs/sqlx#1393)refactor(pool): deprecate
PoolConnection::release(), provide renamed altschore: prepare 0.5.7 (hotfix) release (chore: prepare 0.5.7 (hotfix) release transact-rs/sqlx#1394)
fix(cli) move database_url DATABASE_URL must be set for
sqlx mig addtransact-rs/sqlx#1391 (fix(cli) move database_url transact-rs/sqlx#1400)Use promptly instead of dialoguer (Use promptly instead of dialoguer transact-rs/sqlx#1410)
See transact-rs#1409
Co-authored-by: David James [email protected]
Signed-off-by: Freyskeyd [email protected]
Add more debugging info to unresolved type declaration panic (Add more debugging info to unresolved type declaration panic transact-rs/sqlx#1416)
Don't require cargo to build offline queries (Don't require cargo to build offline queries transact-rs/sqlx#1415)
In particular building with bazel and cargo-raze doesn't imply having
cargo at all, and deferring the lookup allows same-crate builds to
succeed with no change to semantics.
Fixes transact-rs#1414
Signed-off-by: Robert Collins [email protected]
Add executor trait "aliases" (Add executor trait "aliases" transact-rs/sqlx#1412)
feat: allow log level customization (feat: allow log level customization transact-rs/sqlx#1371)
don't assert #[repr(...)] on
#[derive(sqlx::Type)]unless needed (don't assert #[repr(...)] on#[derive(sqlx::Type)]unless needed transact-rs/sqlx#1305)Reduce futures-util features (Reduce futures-util features transact-rs/sqlx#1427)
Reduce futures-util features
Remove unused futures crate from sqlx-macros
Fix issue dotenv not working for
sqlx database ...CLI commands transact-rs/sqlx#1431 (Fix issue #1431 transact-rs/sqlx#1432)Why: dotenv() must execute before clap's get_matches()
Co-authored-by: David James [email protected]
Fix CIDR[] not being compatible with Vec (Fix CIDR[] not being compatible with Vec<IpNetwork> transact-rs/sqlx#1433)
Support the immutable option on SQLite connections (Support the immutable option on SQLite connections transact-rs/sqlx#1289)
Co-authored-by: Austin Bonander [email protected]
Finish support for Postgres COPY (Finish support for Postgres COPY transact-rs/sqlx#1345)
feat(postgres): WIP implement
COPY FROM/TO STDINSigned-off-by: Austin Bonander [email protected]
COPY FROM/TO STDINSigned-off-by: Austin Bonander [email protected]
Co-authored-by: Austin Bonander [email protected]
fix: run
cargo fmtSupport custom initial options for sqlite (Support custom initial options for sqlite transact-rs/sqlx#1295)
Support custom initial options for sqlite
Apply suggestions from code review
Co-authored-by: Austin Bonander [email protected]
Apply suggestions from code review
Co-authored-by: Austin Bonander [email protected]
Use order-preserving map to set pragmas for an initial sqlite statement
Use Cow<'static, str> instead of String
Co-authored-by: Austin Bonander [email protected]
docs: added a note about MySQL syntax in the README example (docs: added a note about MySQL syntax in the README example transact-rs/sqlx#1445)
fix(mysql): handle multiple waiting results correctly (fix(mysql): handle multiple waiting results correctly transact-rs/sqlx#1439)
test(mysql): add test case for pending rows and dropped transaction
fix(mysql): handle multiple waiting results correctly
Fix a panic in the worker thread when dropping the connection while
SqliteRows still exist (Fix a panic in the worker thread when dropping the connection whileSqliteRows still exist transact-rs/sqlx#1450)chore(sqlite): add repro for Intermittent sqlite error after upgrade from 0.5.5 to 0.5.7 transact-rs/sqlx#1419
fix(sqlite): hold a reference to the connection in
SqliteRowfixes transact-rs#1419
Upgrade hmac to 0.11 (Upgrade hmac to 0.11 transact-rs/sqlx#1443)
Update postgres 14 test to 14rc1 (Update postgres 14 test to 14rc1 transact-rs/sqlx#1454)
Shut down statement worker in Sqlite Connection::close (Shut down statement worker in Sqlite Connection::close transact-rs/sqlx#1453)
add explicit shutdown of sqlite statement worker in Connection::close()
Signed-off-by: Andrew Whitehead [email protected]
Signed-off-by: Andrew Whitehead [email protected]
Signed-off-by: Andrew Whitehead [email protected]
Signed-off-by: Andrew Whitehead [email protected]
This reverts commit 719d800.
[SQLite] encoding & decoding
NaiveTimewith correct format ([SQLite] encoding & decodingNaiveTimewith correct format transact-rs/sqlx#1459)Fix SQLite encoding format
Update SQLite decoding format
Update sqlx-core/src/sqlite/types/chrono.rs
fixup: add
#[rustfmt::skip]Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Austin Bonander [email protected]
Instructions on reverting migrations are missing from the README. Here are some that others may find helpful.
preparing 0.5.8 release (preparing 0.5.8 release transact-rs/sqlx#1466)
preparing 0.5.8 release
fix warnings before release
prepare 0.5.9 hotfix release (prepare 0.5.9 hotfix release transact-rs/sqlx#1469)
Update README.md (Update README.md transact-rs/sqlx#1479)
fix(test): fix mismatched type error in MySQL type tests (fix(test): fix mismatched type error in MySQL type tests transact-rs/sqlx#1517)
fix new warning about trailing semicolon in expression macros
fix(test): fix mismatched type error in MySQL type tests
Add support for serialized threading mode to sqlite (Add support for serialized threading mode to sqlite transact-rs/sqlx#1514)
Add support for serialized threading mode
Typos
Fix build
Add persistent setter (sqlx does not allow setting persistence of QueryAs, QueryScalar transact-rs/sqlx#1503) (Add persistent setter (#1503) transact-rs/sqlx#1508)
Reduce indexmap version to 1.6.2 (Reduce indexmap version requirement to 1.6.2 transact-rs/sqlx#1501)
deno_core currently uses
=1.6.2for indexmap, and Cargo refuses to resolve a version with sqlx's requirement of 1.7.0.https://github.com/denoland/deno/blob/004d07dccd69c9fae8370665632d90401f770938/core/Cargo.toml#L18
fix(postgres): allow rust_decimal::Decimal in PgRange (fix(postgres): allow rust_decimal::Decimal in PgRange transact-rs/sqlx#1523)
fix(postgres): allow rust_decimal::Decimal in PgRange
test(postgres): add tests for BigDecimal and Decimal in ranges
Update FAQ to include building on docs.rs (Update FAQ to include building on docs.rs transact-rs/sqlx#1497)
Thanks to @jplatte in the sqlx Discord for providing this solution.
docs: revise
Pooldocs in a couple places (docs: revisePooldocs in a couple places transact-rs/sqlx#1526)derive Clone, Copy for AnyKind (derive Clone, Copy for AnyKind transact-rs/sqlx#1474)
fix panic when converting negative chrono::Duration into PgInterval (fix panic when converting negative chrono::Duration into PgInterval transact-rs/sqlx#1475)
fix PgInterval convert failure for negative chrono::Duration
add unit tests for PgInterval
Fix: remove redundancy because nanosecond overflow implies microsecond overflow
Encode/Decode impl for Cow<'_, str> (Encode/Decode impl for Cow<'_, str> transact-rs/sqlx#1343)
Encode/Decode impl for Cow<'_, str>
resolves transact-rs#1214
--wip-- [skip ci]
Add Cow decode/encode to other databases and fix build
Include a reference to the shape of the migration files in the migrate macro documentation (Include a reference to the shape of the migration files in the migrate macro documentation transact-rs/sqlx#1498)
fix(readme): link to
dotenvcratecloses transact-rs#1405
closes transact-rs#1492
offlinefeaturecloses transact-rs#1490
fix(readme): mention examples
fix(sqlx-cli/readme): mention
openssl-vendoredCopy API improvement (Postgres COPY API improvements transact-rs/sqlx#1536) (Copy API improvement (#1536) transact-rs/sqlx#1537)
expose PgCopyIn
downgrade Pool copy_in_raw/out_row to take &self
bump libsqlite3-sys to 0.23.1 (bump libsqlite3-sys to 0.23.1 transact-rs/sqlx#1535)
add #[cfg(not(target_arch = "wasm32"))] to fix compile errors
Co-authored-by: Ryan Leckey [email protected]
Co-authored-by: toshokan [email protected]
Co-authored-by: Jonas Platte [email protected]
Co-authored-by: Rohan Sharma [email protected]
Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Akhil Velagapudi [email protected]
Co-authored-by: nomick [email protected]
Co-authored-by: marshoepial [email protected]
Co-authored-by: marshoepial [email protected]
Co-authored-by: guylapid [email protected]
Co-authored-by: Luca Palmieri [email protected]
Co-authored-by: Daniel Faust [email protected]
Co-authored-by: Atkins [email protected]
Co-authored-by: Montana Low [email protected]
Co-authored-by: link2xt [email protected]
Co-authored-by: Adam Cigánek [email protected]
Co-authored-by: Rafael Epplée [email protected]
Co-authored-by: Fredrik Østrem [email protected]
Co-authored-by: Altan Özlü [email protected]
Co-authored-by: Evan Cameron [email protected]
Co-authored-by: David James [email protected]
Co-authored-by: David James [email protected]
Co-authored-by: Simon Paitrault [email protected]
Co-authored-by: Robert Collins [email protected]
Co-authored-by: Elise [email protected]
Co-authored-by: Emil Gardström [email protected]
Co-authored-by: Paolo Barbolini [email protected]
Co-authored-by: David Marcin [email protected]
Co-authored-by: Montana Low [email protected]
Co-authored-by: Ghass Mo [email protected]
Co-authored-by: Vlad Frolov [email protected]
Co-authored-by: Kohei Suzuki [email protected]
Co-authored-by: Andrew Whitehead [email protected]
Co-authored-by: Billy Chan [email protected]
Co-authored-by: Austin Bonander [email protected]
Co-authored-by: Erik [email protected]
Co-authored-by: Yerkebulan Tulibergenov [email protected]
Co-authored-by: Lucille Blumire [email protected]
Co-authored-by: Akira Hayakawa [email protected]
Co-authored-by: Daniel Imfeld [email protected]
Co-authored-by: meh [email protected]
Co-authored-by: Russ Weas [email protected]
Co-authored-by: yuyawk [email protected]
Co-authored-by: Kirill Mironov [email protected]
Co-authored-by: Zbigniew Żołnierowicz [email protected]
Co-authored-by: Akira Hayakawa [email protected]
Co-authored-by: David Yamnitsky [email protected]