Frank Elsinga
b37b34bd04
chore:added a testcase for sqlx migrate add ... ( #3352 )
2024-07-19 18:50:18 -07:00
Joshua Potts
d1f180fbc5
fix: Minimally upgrade minimal dependencies to resolve build issues on declared minimum versions
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-07-11 11:59:15 -07:00
Austin Bonander
16e3f1025a
fix(postgres): add missing type resolution for arrays by name
2024-07-08 00:14:19 -07:00
BlackSoulHub
6a4f61e3b3
Update time to 0.3.36 ( #3190 )
...
* update time to 0.3.35
* fmt fix
* update version to 0.3.36
2024-04-11 19:26:12 -07:00
Cody Casterline
352b02de6a
Bump libsqlite3-sys to v0.28 ( #3148 )
...
This includes SQLite v3.45(.1), which includes new JSONB functionality.
2024-03-30 15:59:51 -07:00
Luiz Carvalho
1c7b3d0751
feat: new derive feature flag ( #3113 )
...
* feat: new derive feature flag
* doc: add new derive flag to readme
* fix: macros feature flag cfg
2024-03-30 15:24:56 -07:00
Guilherme Favero Ferreira
c5357f18e5
bump bigdecimal version
2024-03-11 23:57:07 -07:00
Austin Bonander
30db1f8ffc
chore: bump version to 0.8.0-alpha.0
2024-03-11 22:38:24 -07:00
Austin Bonander
248d6170a7
chore: prepare 0.7.4 release
2024-03-11 22:01:04 -07:00
Austin Bonander
e5c18b354e
fix: gate sqlcipher testing behind cfg to make development less annoying
2024-03-05 18:33:56 -08:00
iamjpotts
235604fbce
chore(dev-deps): Upgrade env_logger from 0.9 to 0.11 ( #3009 )
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-25 23:30:25 -08:00
iamjpotts
3946cc82db
chore(deps): Upgrade criterion to 0.5.1 ( #3010 )
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-25 23:30:14 -08:00
iamjpotts
5890afe95b
chore(deps): Replace unmaintained tempdir crate with tempfile ( #3006 )
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-22 20:16:06 -08:00
Austin Bonander
213ecd743c
chore: upgrade libsqlite3-sys
2023-11-22 17:55:04 -08:00
Austin Bonander
31d402b469
chore: prepare 0.7.3 release
2023-11-22 17:43:46 -08:00
Austin Bonander
9fc9e7518e
feat: Text adapter ( #2894 )
2023-11-22 17:06:47 -08:00
A248
b1387057e5
Depend on version of async-std with non-private spawn-blocking ( #2806 )
2023-10-07 21:00:45 -07:00
Austin Bonander
e80291b2a7
chore: prepare 0.7.2 release ( #2782 )
2023-09-26 14:35:56 -07:00
Joakim Malmberg
8cad54cc9f
Add postgres chat exmaple ( #2577 )
...
Co-authored-by: Stephen <webmaster@scd31.com>
2023-07-24 16:09:06 -07:00
Austin Bonander
c70cfaf035
prepare 0.7.1 release ( #2621 )
2023-07-14 17:24:52 -07:00
Luiz Carvalho
3662bdab84
fix(sqlite): encode bool as integer ( #2620 )
2023-07-14 16:27:53 -07:00
kitterion
310af5c2c8
Fix optional dependency on sqlx-macros ( #2586 )
2023-07-06 16:01:21 -07:00
Austin Bonander
dcb58b0e2c
0.7.0 release ( #2575 )
...
* WIP preparing 0.7.0 release
* fix: re-enable examples
* fix doctests in `sqlx-core`
* cherry-pick CHANGELOG entry for 0.6.3
* add actions workflow for examples
* fix(cli): close connection after running migrations
* fix examples
* fix(sqlite): fix parsing of URLs via `Any`
* fix(example): don't let Postgres `listen` example run forever
* fix Postgres `transaction` example
2023-07-03 14:37:37 -07:00
Wesley Norris
d750f28ef0
Bump mac_address to 1.1.5 ( #2515 )
2023-06-12 12:44:55 -07:00
Austin Bonander
253d8c9f69
0.7.0-alpha.3 release
2023-05-11 16:49:24 -07:00
Mauro D
af0f04a108
Bump to libsqlite3-sys 0.26 ( #2496 )
2023-05-11 15:43:52 -07:00
tyrelr
0dfebb202f
Add and improve sqlite describe performance benchmarks ( #2467 )
...
* add basic describe benchmarks
* separate memory from query state
* move branch tracking & deduplication logic into a dedicated BranchList class
* Convert to using IntMap
* move intmap to a separate module, drop dead code, clean up function names
* Update Cargo.lock
* skip branches to check foreign keys, as they generally shouldn't impact query result type
2023-05-08 12:44:28 -07:00
Austin Bonander
15458fa9d6
fix: update docs.rs features metadata
2023-03-16 17:11:46 -07:00
Austin Bonander
551d622cc1
0.7.0-alpha.2 release
2023-03-16 17:03:14 -07:00
Coda Hale
bce16a5c1d
fix: drop old time 0.1.44 dep
...
chrono 0.4's default features include the `oldtime` feature which pulls in time 0.1.44.
This is an unmaintained version with soundness issues (time-rs/time#293 ) and is rarely needed.
If downstream users require this dependency, they can enable the feature themselves.
2023-03-14 18:07:52 -07:00
grantkee
aff632a9ec
bump libsqlite3-sys to patched version
2023-03-10 14:37:09 -08:00
Austin Bonander
eade49cfb0
0.7.0-alpha.1 release
2023-02-21 14:56:54 -08:00
Trangar
ad8ef8d608
Added regexp support in sqlite ( #2189 )
...
* CHANGELOG: mention that users should upgrade CLI
* Added regexp support in sqlite
* Added a with_regexp function to sqliteconnectoptions
* Fixed tests
* Undo CHANGELOG.md change
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
Co-authored-by: Victor Koenders <victor.koenders@qrtech.se>
2023-02-21 13:25:25 -08:00
Luiz Carvalho
c09532864d
feat: better database errors ( #2109 )
...
* feat(core): create error kind enum
* feat(core): add error kind for postgres
* feat(core): add error kind for sqlite
* feat(core): add error kind for mysql
* test(postgres): add error tests
* test(sqlite): add error tests
* test(mysql): add error tests
* fix(tests): fix tests rebasing
* refac(errors): add `ErrorKind::Other` variant
2023-02-21 13:25:25 -08:00
Austin Bonander
b5312c3b6f
Break drivers out into separate crates, clean up some technical debt ( #2039 )
...
* WIP rt refactors
* refactor: break drivers out into separate crates
also cleans up significant technical debt
2023-02-21 13:25:25 -08:00
cycraig
e5f91ab52f
Fix sqlite compilation ( #2098 )
2023-02-21 13:25:25 -08:00
Austin Bonander
ef17af31c2
fix: cannot publish with wildcard dep
2022-09-14 15:47:00 -07:00
Austin Bonander
b6cddcd014
prepare 0.6.2 release ( #2092 )
2022-09-14 15:23:06 -07:00
Marco Neumann
5e56da87e0
fix: ensure migration progress is not lost for PG, mysql and sqlite ( #1991 )
...
* fix: ensure migration progress is not lost for PG
Fixes #1966 .
* fix: ensure migration progress is not lost for sqlite
This is similar to #1966 .
* fix: ensure reverse migration progress is not lost for PG
See #1966 .
* fix: ensure reverse migration progress is not lost for sqlite
See #1966 .
* fix: ensure migration progress is not lost for mysql
This is similar to #1966 .
* fix: ensure reverse migration progress is not lost for mysql
See #1966 .
* test: check migration type as well
* test: extend migrations testing
* fix: work around MySQL implicit commits
* refactor: simplify migration testing
2022-09-12 17:52:04 -07:00
szymek156
c931cab95f
Szymek156/issue2009 ( #2014 )
...
* SQLite: Execute SQLCipher pragmas as very first operations on the database
SQLCipher requires, apart from 'key' pragma also other cipher-related
to be executed before read/write to the database.
* Added tests for SQLCipher functionality
* remove default-features from libsqlite3-sys when building from dev-dependencies
Co-authored-by: Szymon Zimnowoda <szimnowoda.memri@gmail.com>
2022-08-05 12:20:14 -07:00
Austin Bonander
cb52c7c62b
chore: prep 0.6.1 release
2022-08-02 19:16:32 -07:00
Austin Bonander
054f61980a
feat: implement testing utilities ( #2001 )
2022-08-02 14:38:12 -07:00
Rob Ede
7adbb7fefc
refactor: remove direct actix-rt support ( #1679 )
...
actix- runtime feature flags are now aliases for tokio- flags
2022-08-01 21:48:40 -07:00
Austin Bonander
a2eceec33b
chore: replace dotenv with dotenvy ( #2003 )
...
* chore: replace `dotenv` with `dotenvy`
The former appears to be unmaintained and the latter is a drop-in replacement.
* chore: fix all warnings
2022-07-28 14:33:44 -07:00
Marco Neumann
05d64fb722
fix: agree one a single default runtime for the whole workspace ( #1988 )
...
This fixes `cargo check --workspace` and rust-analyzer.
Also see <https://github.com/launchbadge/sqlx/discussions/1956 >.
2022-07-28 13:15:40 -07:00
Joey McKenzie
d6c4eff81a
Add example with external query files ( #1967 )
...
* feat(examples): add files example for postgres
* fix(examples): add missing deps
2022-07-13 14:45:34 -07:00
Austin Bonander
17cebde64a
preparing 0.6.0 release ( #1911 )
...
* preparing 0.6.0 release
* run `cargo update` (not `upgrade`)
2022-06-16 15:53:09 -07:00
Paolo Barbolini
b934f82440
Bump remanining dependencies ( #1807 )
...
Co-authored-by: Austin Bonander <austin@launchbadge.com>
2022-04-15 14:34:48 -07:00
Paolo Barbolini
fc9c9be5e8
Update to edition 2021 ( #1808 )
...
* Update to edition 2021
* Fix running tests
2022-04-15 12:52:00 -07:00
Paolo Barbolini
ba123e62fa
Update time to 0.3.2 ( #1455 )
...
Co-authored-by: Tyler Hill <tyhi@tyhi.rs>
2022-04-14 15:11:46 -07:00