Frank Elsinga
b37b34bd04
chore:added a testcase for sqlx migrate add ... ( #3352 )
2024-07-19 18:50:18 -07:00
Frank Elsinga
08e45f4344
fix:the json-feature should activate sqlx-postgres?/json as well ( #3350 )
...
* fix: made sure that the json feature is defined for postgres as well
* fixed the feature order
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2024-07-16 14:32:41 -07:00
Gnome!
3e7aa6bedf
Bump deps that do not need code changes ( #3165 )
2024-04-06 00:07:36 -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
Luiz Carvalho
8f926e590c
refac: rebase syn 2 changes
2024-03-14 12:03:40 -07:00
Matt Fellenz
b615d2a826
Use create_new instead of atomic-file-write ( #2914 )
...
* Use `create_new` instead of `atomic-file-write`
This provides the same functionality but without temporary files, platform-specific code, fragility of `O_TMPFILE` support, and an extra dependency.
* Properly handle acceptable failure cases
* Consider `PermissionDenied` as acceptable
Apparently this can occur on Windows.
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2024-02-24 01:49:51 -08:00
Matt Fellenz
b16fbebf2f
Don't use separate temp dir for query jsons (2) ( #2803 )
...
* Don't use temp dir for query jsons
Fixes #2663
* Return early when exclusive create fails
* Use atomic-file-write for writing query data
2023-10-17 11:41:30 -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
Craig Bester
96c8b12485
feat(prepare): move to one-file-per-query for offline mode
...
Co-authored-by: Jonas Platte <jonas@lumeo.com>
2023-03-01 19:17:21 -08:00
Austin Bonander
eade49cfb0
0.7.0-alpha.1 release
2023-02-21 14:56:54 -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