-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preparing 0.7.0-alpha.1 release #2352
Merged
Conversation
This file contains 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
Problem: PgHasArrayType was checking the application's postgres feature Solution: only check the library's postgres feature Co-authored-by: Daniel Tashjian <daniel@ecomedes.com>
* add failing test cases for update/delete return into * fix regression in null tracking by improving tracking of cursor empty/full state * add failing test case for order by column types * Add support for SorterOpen,SorterInsert,SorterData * add failing test case for unions * fix range copy/move implementation * fix wrong copy/move range * remove calls to dbg!
* add instruction, register, and cursor state memorization * fix: fixed formating
* feat: Add set_connect_options method to Pool This allows external updates of the ConnectionOptions used when a new connection needs to be opened for the pool. The primary use case is to support dynamically updated (read: rotated) credentials used by systems like AWS RDS. * Use Arc wrapper for ConnectOptions to reduce lock contention * sqlite fix * Use direct assignment instead of mem::swap Co-authored-by: Austin Bonander <austin.bonander@gmail.com> Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
* AggValue and ROW_NUMBER() * Some more functions * cargo fmt
…iness is different (#2120)
…2039) * WIP rt refactors * refactor: break drivers out into separate crates also cleans up significant technical debt
* add failing test for nested orderby * log query paths which were abandoned due to invalid state or looping. Allow instructions to be executed a small number of times to fix nested order by query * add failing testcase using nested orderby * fix handling of sequence/offset and rewind * fix handling when sqlite nests records inside of records * add test of temporary table handling * WIP add test failure for temp table access * fix support for temp tables * add tests for sqlite datetime functions * add basic date and time function support * handle gosub opcode correctly * add group by test * fix group by handling * add additional passing group by test * add test case for simple limit query * fix IfPos & If touching wrong branches state, fix IfPos using wrong branch criteria * add test for large offsets * add short-circuit for possible query offset loops * add groupby query that is predicted incorrectly * fix handling of integer cast failures * add tests for single-row aggregate results * fix handling of null-based branching * add test for coercion of text by sum * fix calculation of sum value coercion * add failing test for recursive with query * add logic for delete operation to fix queries grouping by columns from a recursive query
This allows reading back PoolOptions that have already been set.
* 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
* CHANGELOG: mention that users should upgrade CLI * fix(sqlx-core): use owned builder pattern for ConnectOptions --------- Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
* CHANGELOG: mention that users should upgrade CLI * fix: ensures recover from fail with PgCopyIn --------- Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
* CHANGELOG: mention that users should upgrade CLI * Drop postgres 10 start testing postgres 15 --------- Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
* 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>
* Fixed typo. (#2156) * Set whoami default-features to false Otherwise, whoami pulls in web-sys, wasm-bindgen and a BUNCH of additional dependencies. This is really unnecessary, and if someone has an actual use case where they are attempting to connect to postgres from a browser, well ... they've probably already been pwned by now. If it is deemed necessary, then add an additional activation feature for that specific slew of deps. --------- Co-authored-by: Chris Foster <cdbfoster@gmail.com>
* Use `syn::Type` instead of `syn::Ident` to parse the value of `#[sqlx(try_from = "...")]` * Fix broken test after rebase
…rch_path` (#2133) * Fix oid resolution query * Address review comments
…ction (#2116) * CHANGELOG: mention that users should upgrade CLI * [SQLite] Add option to execute `PRAGMA optimize;` on close of a connection * Update sqlx-sqlite/src/options/mod.rs * Update sqlx-sqlite/src/options/mod.rs * Update sqlx-sqlite/src/options/mod.rs --------- Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
…MariaDB (#1850) * use native-tls API * Add client cert and key to MySQL connector * Add client ssl tests for PostgreSQL * Add client ssl tests for MariaDB and MySQL * Adapt GA tests * Fix RUSTFLAGS to run all tests * Remove containers to free the DB port before running SSL auth tests * Fix CI bad naming * Use docker-compose down to remove also the network * Fix main rebase * Stop trying to stop service using docker-compose, simply use docker cmd * Fix RUSTFLAGS for Postgres * Name the Docker images for MariaDB and MySQL so we can stop them using their name * Add the exception for mysql 5.7 not supporting compatible TLS version with RusTLS * Rebase fixes * Set correctly tls struct (fix merge) * Handle Elliptic Curve variant for private key * Fix tests suite * Fix features in CI * Add tests for Postgres 15 + rebase * Python tests: fix exception for MySQL 5.7 + remove unneeded for loops * CI: run SSL tests only when building with TLS support --------- Co-authored-by: Barry Simons <linuxuser586@gmail.com>
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.
Since
0.7.0
has had a huge number of changes on it, I figured it prudent to kick out an alpha release for people to preview it and find any bugs while I clear out the PR backlog and prepare the 0.7.0 release.There will be no CHANGELOG entry for this release but you can see the PRs merged since the last release.