1803 Commits

Author SHA1 Message Date
Ryan Leckey
cbe820760f
release: 0.5.1 v0.5.1 2021-02-04 09:16:11 -08:00
Ryan Leckey
efccd6c9b8
chore: update sqlx-rt to 0.3 2021-02-04 09:15:00 -08:00
Ryan Leckey
7127357254
release(sqlx-rt): 0.3 2021-02-04 09:11:23 -08:00
Ryan Leckey
8da44b9898
cli: update README 2021-02-04 06:37:46 -08:00
Ryan Leckey
d07ab853ba
chore: update lockfile 2021-02-04 06:33:54 -08:00
Ryan Leckey
94d0baeb52
release: 0.5 v0.5.0 2021-02-04 06:32:50 -08:00
Ryan Leckey
12246da4d1
chore: update CHANGELOG for 0.5 2021-02-04 06:19:12 -08:00
Ryan Leckey
2fd26b5504
sqlite: remove support for u64
see https://github.com/launchbadge/sqlx/pull/919#discussion_r557106441
2021-02-04 06:17:17 -08:00
Ryan Leckey
a23013e9e5
chore: update lockfile 2021-02-04 05:54:20 -08:00
Jonas Platte
a7eeacbef3 Rewrap lines in sqlx_macros::derives::{decode, encode} 2021-02-04 05:48:26 -08:00
Jonas Platte
c251ba1e12 Fix non-overridden type name not being quoted 2021-02-04 05:48:26 -08:00
Jonas Platte
cf97315c74 Replace qualified uses of proc_macro2::TokenStream 2021-02-04 05:48:26 -08:00
Rob Ede
1803020650 update lockfile 2021-02-04 04:51:22 -08:00
Rob Ede
e197d5b0e2 rt: update to actix-rt v2 2021-02-04 04:51:22 -08:00
Tom Dohrmann
cfe61a4724 fix typos 2021-02-03 01:58:57 -08:00
Tom Dohrmann
4f5f532909 fix paths for bool & fix typo 2021-02-03 01:58:57 -08:00
Tom Dohrmann
b4dc5c353e run cargo fmt 2021-02-03 01:58:57 -08:00
Tom Dohrmann
76326c6619 use absolute paths in macros 2021-02-03 01:58:57 -08:00
wuaoxiang
31abe22e34 fix(sqlite): GROUP BY in query! cause infinite loop at compile time 2021-01-31 16:58:48 -08:00
Jonas Platte
2b2418c6d1 Add a test for nesting .map 2021-01-31 16:57:29 -08:00
Jonas Platte
7ebd362453 Update issue_104 test to use map instead of try_map 2021-01-31 16:57:29 -08:00
Jonas Platte
d3b7a0783e macros: Only depend on serde when it's actually used 2021-01-31 16:57:29 -08:00
Jonas Platte
6ad0a9ada7 macros: Only depend on once_cell when it's actually used 2021-01-31 16:57:29 -08:00
Jonas Platte
5d3858d5e3 Update CHANGELOG.md 2021-01-31 16:56:37 -08:00
Jonas Platte
6fea00304e Remove any::AnyType
It was not actually used in a meaningful way.
2021-01-31 16:56:37 -08:00
AriusX7
ed20639d47 Move Cargo.toml check to run_prepare_step 2021-01-31 16:55:57 -08:00
AriusX7
264cb09528 Don't require Cargo.toml for all subcommands 2021-01-31 16:55:57 -08:00
Jonas Platte
1b217cfac4 Make impl Acquire for &'_ Pool<DB> more general 2021-01-31 16:54:22 -08:00
Jonas Platte
77238108cf Require Acquire::Connection to be Send 2021-01-31 16:54:22 -08:00
Emilio González
df6a2a2eb6 Update sqlx-cli/README.md 2021-01-29 07:13:07 +08:00
Tim Habermaas
af7f259445 Remove fetch_scalar mention from README.md
The function no longer exists. Fixes #969.
2021-01-23 10:47:33 -08:00
Ryan Leckey
df393128f8
style: rustfmt 2021-01-20 22:29:05 -08:00
Austin Bonander
89305873b0
fix(postgres): patch nullable inference in Postgres using EXPLAIN
BREAKING CHANGE: some columns in `query!()` et. al. output will change from `T` to `Option<T>`

breakage should be minimal in practice as
these columns will need to have been manually
overridden anyway to avoid runtime errors

Signed-off-by: Austin Bonander <austin@launchbadge.com>
2021-01-20 22:27:44 -08:00
Austin Bonander
6b036055e5
format: run rustfmt 2021-01-20 22:26:48 -08:00
Austin Bonander
5e452d9e86
fix(sqlite): remove errant println!() in sqlite/explain.rs 2021-01-20 22:26:43 -08:00
Austin Bonander
7c32928ebc
feat(macros): implement query_scalar!() and variants
Signed-off-by: Austin Bonander <austin@launchbadge.com>
2021-01-20 22:23:04 -08:00
Ryan Leckey
b0c430ed18
feat(sqlite): track nullable through left joins 2021-01-20 22:22:26 -08:00
Sho Nakatani
0c0dd6936a feat: Adds Debug, Clone auto-derive to SqliteArguments 2021-01-20 22:15:48 -08:00
David Marcin
39544b1dd4 Allow symlinks to be followed for migration files 2021-01-20 22:13:50 -08:00
Marcin Kaźmierczak
8328f893e4 sqlite test - prepared statements are reset after fetch_one 2021-01-20 22:10:59 -08:00
William Hammond
25858fc42a Improves error handling in the case of missing type 2021-01-20 22:10:03 -08:00
Ryan Leckey
05c1a8899a
Merge branch 'alex-berger-feature/inline-certificates' 2021-01-20 22:08:35 -08:00
Ryan Leckey
e03c31adcd
Merge branch 'feature/inline-certificates' of https://github.com/alex-berger/sqlx into alex-berger-feature/inline-certificates 2021-01-20 22:08:26 -08:00
Florian Hübsch
68cf2f9cdb Add constraint method to DatabaseError trait
Override `constraint` method for `PgDatabaseError`.
2021-01-20 22:00:44 -08:00
Ryan Leckey
d5e0f1b92b
refactor: rename DbOutcome to DbQueryResult 2021-01-20 21:57:26 -08:00
Ryan Leckey
401554dd2a
Merge branch 'lumeohq-del-done' 2021-01-20 21:52:07 -08:00
Jonas Platte
4d03e5be0b
rt: Normalize TOML array formatting 2021-01-20 21:51:32 -08:00
Jonas Platte
227ed73315
rt: Disable macros in actix and tokio runtimes 2021-01-20 21:51:32 -08:00
Jonas Platte
d7761c74fa
Upgrade actix-rt to 2.0.0-beta.2 2021-01-20 21:51:32 -08:00
Jonas Platte
e29b07c069
Add a changelog entry for the async runtime update 2021-01-20 21:51:31 -08:00