Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into nextest-race-condition
Browse files Browse the repository at this point in the history
  • Loading branch information
abonander committed Jan 24, 2025
2 parents 44b0e96 + aae8000 commit cd065fe
Show file tree
Hide file tree
Showing 66 changed files with 2,932 additions and 1,055 deletions.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: I think I found a bug in SQLx
description: Create a bug-report issue
labels: [bug]
body:
- type: textarea
id: related-issues
validations:
required: true
attributes:
label: I have found these related issues/pull requests
description: |
I have searched by clicking [HERE](https://github.com/launchbadge/sqlx/issues?q=)
for existing issues, these are the ones I've found,
and this is why I think this deserves a new issue.
placeholder: "Related to ..."
- type: textarea
id: description
validations:
required: true
attributes:
label: Description
description: Clear and concise description of what the bug is
- type: textarea
id: steps-to-reproduce
validations:
required: true
attributes:
label: Reproduction steps
description: A small code snippet or a link to a Github repo or Gist, with instructions on reproducing the bug.
- type: input
id: sqlx-version
attributes:
label: SQLx version
validations:
required: true
- type: input
id: sqlx-features
attributes:
label: Enabled SQLx features
validations:
required: true
- type: input
id: db-server-and-version
attributes:
label: Database server and version
placeholder: MySQL / Postgres / SQLite <x.y.z>
validations:
required: true
- type: input
id: os-type
attributes:
label: Operating system
validations:
required: true
- type: input
id: rust-version
attributes:
label: Rust version
description: You can get this via running `rustc --version`
validations:
required: true
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: I have a feature request for SQLx
description: Create a feature-request issue
labels: [enhancement]
body:
- type: textarea
id: related-issues
validations:
required: true
attributes:
label: I have found these related issues/pull requests
description: "Provide context for your pull request."
placeholder: |
Closes \#...
Relates to \#...
- type: textarea
id: feature-description
validations:
required: true
attributes:
label: Description
description: A clear and concise description of what the problem is
placeholder: You should add ...
- type: textarea
id: solution
validations:
required: true
attributes:
label: Prefered solution
description: A clear and concise description of what you want to happen.
placeholder: In my use-case, ...
- type: textarea
id: breaking-change
validations:
required: true
attributes:
label: Is this a breaking change? Why or why not?

8 changes: 4 additions & 4 deletions .github/workflows/sqlx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
- run: >
cargo clippy
--no-default-features
--features all-databases,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }},macros
--features all-databases,_unstable-all-types,sqlite-preupdate-hook,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }},macros
-- -D warnings
# Run beta for new warnings but don't break the build.
# Use a subdirectory of `target` to avoid clobbering the cache.
- run: >
cargo +beta clippy
--no-default-features
--features all-databases,_unstable-all-types,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }},macros
--features all-databases,_unstable-all-types,sqlite-preupdate-hook,runtime-${{ matrix.runtime }},tls-${{ matrix.tls }},macros
--target-dir target/beta/
check-minimal-versions:
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- run: >
cargo test
--no-default-features
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
--features any,macros,${{ matrix.linking }},${{ matrix.linking == 'sqlite' && 'sqlite-preupdate-hook,' || ''}}_unstable-all-types,runtime-${{ matrix.runtime }}
--
--test-threads=1
env:
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
postgres: [15, 11]
postgres: [17, 13]
runtime: [async-std, tokio]
tls: [native-tls, rustls-aws-lc-rs, rustls-ring, none]
needs: check
Expand Down
116 changes: 116 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,101 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.8.3 - 2025-01-03

41 pull requests were merged this release cycle.

### Added
* [[#3418]]: parse timezone parameter in mysql connection url [[@dojiong]]
* [[#3491]]: chore: Update async-std v1.13 [[@jayvdb]]
* [[#3492]]: expose relation_id and relation_attribution_no on PgColumn [[@kurtbuilds]]
* [[#3493]]: doc(sqlite): document behavior for zoned date-time types [[@abonander]]
* [[#3500]]: Add sqlite commit and rollback hooks [[@gridbox]]
* [[#3505]]: chore(mysql): create test for passwordless auth (#3484) [[@abonander]]
* [[#3507]]: Add a "sqlite-unbundled" feature that dynamically links to system libsqlite3.so library [[@lilydjwg]]
* [[#3508]]: doc(sqlite): show how to turn options into a pool [[@M3t0r]]
* [[#3514]]: Support PgHstore by default in macros [[@joeydewaal]]
* [[#3550]]: Implement Acquire for PgListener [[@sandhose]]
* [[#3551]]: Support building with rustls but native certificates [[@IlyaBizyaev]]
* [[#3553]]: Add support for Postgres lquery arrays [[@philipcristiano]]
* [[#3560]]: Add PgListener::next_buffered(), to support batch processing of notifications [[@chanks]]
* [[#3577]]: Derive Copy where possible for database-specific types [[@veigaribo]]
* [[#3579]]: Reexport AnyTypeInfoKind [[@Norlock]]
* [[#3580]]: doc(mysql): document difference between `Uuid` and `uuid::fmt::Hyphenated` [[@abonander]]
* [[#3583]]: feat: point [[@jayy-lmao]]
* [[#3608]]: Implement AnyQueryResult for Sqlite and MySQL [[@pxp9]]
* [[#3623]]: feat: add geometry line [[@jayy-lmao]]
* [[#3658]]: feat: add Transaction type aliases [[@joeydewaal]]

### Changed
* [[#3519]]: Remove unused dependencies from sqlx-core, sqlx-cli and sqlx-postgres [[@vsuryamurthy]]
* [[#3529]]: Box Pgconnection fields [[@joeydewaal]]
* [[#3548]]: Demote `.pgpass` file warning to a debug message. [[@denschub]]
* [[#3585]]: Eagerly reconnect in `PgListener::try_recv` [[@swlynch99]]
* [[#3596]]: Bump thiserror to v2.0.0 [[@paolobarbolini]]
* [[#3605]]: Use `UNION ALL` instead of `UNION` in nullable check [[@Suficio]]
* [[#3629]]: chore: remove BoxFuture's (non-breaking) [[@joeydewaal]]
* [[#3632]]: Bump hashlink to v0.10 [[@paolobarbolini]]
* [[#3643]]: Roll PostgreSQL 11..=15 tests to 13..=17 [[@paolobarbolini]]
* [[#3648]]: close listener connection on TimedOut and BrokenPipe errors [[@DXist]]
* [[#3649]]: Bump hashbrown to v0.15 [[@paolobarbolini]]

### Fixed
* [[#3528]]: fix: obey `no-transaction` flag in down migrations [[@manifest]]
* [[#3536]]: fix: using sqlx::test macro inside macro's [[@joeydewaal]]
* [[#3545]]: fix: remove `sqlformat` [[@tbar4]]
* [[#3558]]: fix: fix example code of `query_as` [[@xuehaonan27]]
* [[#3566]]: Fix: Cannot query Postgres `INTERVAL[]` [[@Ddystopia]]
* [[#3593]]: fix: URL decode database name when parsing connection url [[@BenoitRanque]]
* [[#3601]]: Remove default-features = false from url [[@hsivonen]]
* [[#3604]]: Fix mistake in sqlx::test fixtures docs [[@andreweggleston]]
* [[#3612]]: fix(mysql): percent-decode database name [[@abonander]]
* [[#3640]]: Dont use `EXPLAIN` in nullability check for QuestDB [[@Suficio]]

[#3418]: https://github.com/launchbadge/sqlx/pull/3418
[#3478]: https://github.com/launchbadge/sqlx/pull/3478
[#3491]: https://github.com/launchbadge/sqlx/pull/3491
[#3492]: https://github.com/launchbadge/sqlx/pull/3492
[#3493]: https://github.com/launchbadge/sqlx/pull/3493
[#3500]: https://github.com/launchbadge/sqlx/pull/3500
[#3505]: https://github.com/launchbadge/sqlx/pull/3505
[#3507]: https://github.com/launchbadge/sqlx/pull/3507
[#3508]: https://github.com/launchbadge/sqlx/pull/3508
[#3514]: https://github.com/launchbadge/sqlx/pull/3514
[#3519]: https://github.com/launchbadge/sqlx/pull/3519
[#3528]: https://github.com/launchbadge/sqlx/pull/3528
[#3529]: https://github.com/launchbadge/sqlx/pull/3529
[#3536]: https://github.com/launchbadge/sqlx/pull/3536
[#3545]: https://github.com/launchbadge/sqlx/pull/3545
[#3548]: https://github.com/launchbadge/sqlx/pull/3548
[#3550]: https://github.com/launchbadge/sqlx/pull/3550
[#3551]: https://github.com/launchbadge/sqlx/pull/3551
[#3553]: https://github.com/launchbadge/sqlx/pull/3553
[#3558]: https://github.com/launchbadge/sqlx/pull/3558
[#3560]: https://github.com/launchbadge/sqlx/pull/3560
[#3566]: https://github.com/launchbadge/sqlx/pull/3566
[#3577]: https://github.com/launchbadge/sqlx/pull/3577
[#3579]: https://github.com/launchbadge/sqlx/pull/3579
[#3580]: https://github.com/launchbadge/sqlx/pull/3580
[#3583]: https://github.com/launchbadge/sqlx/pull/3583
[#3585]: https://github.com/launchbadge/sqlx/pull/3585
[#3593]: https://github.com/launchbadge/sqlx/pull/3593
[#3596]: https://github.com/launchbadge/sqlx/pull/3596
[#3601]: https://github.com/launchbadge/sqlx/pull/3601
[#3604]: https://github.com/launchbadge/sqlx/pull/3604
[#3605]: https://github.com/launchbadge/sqlx/pull/3605
[#3608]: https://github.com/launchbadge/sqlx/pull/3608
[#3612]: https://github.com/launchbadge/sqlx/pull/3612
[#3623]: https://github.com/launchbadge/sqlx/pull/3623
[#3629]: https://github.com/launchbadge/sqlx/pull/3629
[#3632]: https://github.com/launchbadge/sqlx/pull/3632
[#3640]: https://github.com/launchbadge/sqlx/pull/3640
[#3643]: https://github.com/launchbadge/sqlx/pull/3643
[#3648]: https://github.com/launchbadge/sqlx/pull/3648
[#3649]: https://github.com/launchbadge/sqlx/pull/3649
[#3658]: https://github.com/launchbadge/sqlx/pull/3658


## 0.8.2 - 2024-09-02

10 pull requests were merged this release cycle.
Expand Down Expand Up @@ -2584,3 +2679,24 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
[@carschandler]: https://github.com/carschandler
[@kdesjard]: https://github.com/kdesjard
[@luveti]: https://github.com/luveti
[@dojiong]: https://github.com/dojiong
[@jayvdb]: https://github.com/jayvdb
[@kurtbuilds]: https://github.com/kurtbuilds
[@lilydjwg]: https://github.com/lilydjwg
[@M3t0r]: https://github.com/M3t0r
[@vsuryamurthy]: https://github.com/vsuryamurthy
[@manifest]: https://github.com/manifest
[@tbar4]: https://github.com/tbar4
[@sandhose]: https://github.com/sandhose
[@IlyaBizyaev]: https://github.com/IlyaBizyaev
[@philipcristiano]: https://github.com/philipcristiano
[@xuehaonan27]: https://github.com/xuehaonan27
[@chanks]: https://github.com/chanks
[@Ddystopia]: https://github.com/Ddystopia
[@veigaribo]: https://github.com/veigaribo
[@Norlock]: https://github.com/Norlock
[@swlynch99]: https://github.com/swlynch99
[@BenoitRanque]: https://github.com/BenoitRanque
[@hsivonen]: https://github.com/hsivonen
[@andreweggleston]: https://github.com/andreweggleston
[@Suficio]: https://github.com/Suficio
Loading

0 comments on commit cd065fe

Please sign in to comment.