Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
joeydewaal committed Oct 7, 2024
1 parent 2073e16 commit 5e59a2a
Show file tree
Hide file tree
Showing 72 changed files with 1,032 additions and 322 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/sqlx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
strategy:
matrix:
runtime: [async-std, tokio]
linking: [sqlite, sqlite-unbundled]
needs: check
steps:
- uses: actions/checkout@v4
Expand All @@ -125,7 +126,11 @@ jobs:

- uses: Swatinem/rust-cache@v2
with:
key: "${{ runner.os }}-sqlite-${{ matrix.runtime }}-${{ matrix.tls }}"
key: "${{ runner.os }}-${{ matrix.linking }}-${{ matrix.runtime }}-${{ matrix.tls }}"

- name: Install system sqlite library
if: ${{ matrix.linking == 'sqlite-unbundled' }}
run: sudo apt-get install -y libsqlite3-dev

- run: echo "using ${DATABASE_URL}"

Expand All @@ -135,7 +140,7 @@ jobs:
- run: >
cargo test
--no-default-features
--features any,macros,sqlite,_unstable-all-types,runtime-${{ matrix.runtime }}
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
--
--test-threads=1
env:
Expand All @@ -151,8 +156,8 @@ jobs:
- run: >
cargo build
--no-default-features
--test sqlite-macros
--features any,macros,sqlite,_unstable-all-types,runtime-${{ matrix.runtime }}
--test ${{ matrix.linking }}-macros
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
env:
SQLX_OFFLINE: true
SQLX_OFFLINE_DIR: .sqlx
Expand All @@ -163,8 +168,8 @@ jobs:
- run: >
cargo test
--no-default-features
--test sqlite-macros
--features any,macros,sqlite,_unstable-all-types,runtime-${{ matrix.runtime }}
--test ${{ matrix.linking }}-macros
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
env:
DATABASE_URL: sqlite://tests/sqlite/sqlite.db
SQLX_OFFLINE: true
Expand Down
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,42 @@ 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.2 - 2024-09-02

10 pull requests were merged this release cycle.

This release addresses a few regressions that have occurred, and refines SQLx's MSRV policy (see [the FAQ](FAQ.md)).

### Added
* [[#3447]]: Clarify usage of Json/Jsonb in query macros [[@Lachstec]]

### Changed
* [[#3424]]: Remove deprecated feature-names from `Cargo.toml` files in examples [[@carschandler]]

### Fixed
* [[#3403]]: Fix (#3395) sqlx::test macro in 0.8 [[@joeydewaal]]
* [[#3411]]: fix: Use rfc3339 to decode date from text [[@pierre-wehbe]]
* [[#3453]]: fix(#3445): PgHasArrayType [[@joeydewaal]]
* Fixes `#[sqlx(no_pg_array)]` being forbidden on `#[derive(Type)]` structs.
* [[#3454]]: fix: non snake case warning [[@joeydewaal]]
* [[#3459]]: Pgsql cube type compile fail [[@kdesjard]]
* [[#3465]]: fix(postgres): max number of binds is 65535, not 32767 (regression) [[@abonander]]
* [[#3467]]: fix cancellation issues with `PgListener`, `PgStream::recv()` [[@abonander]]
* Fixes cryptic `unknown message: "\\0"` error
* [[#3474]]: Fix try_get example in README.md [[@luveti]]

[#3403]: https://github.com/launchbadge/sqlx/pull/3403
[#3411]: https://github.com/launchbadge/sqlx/pull/3411
[#3424]: https://github.com/launchbadge/sqlx/pull/3424
[#3447]: https://github.com/launchbadge/sqlx/pull/3447
[#3453]: https://github.com/launchbadge/sqlx/pull/3453
[#3454]: https://github.com/launchbadge/sqlx/pull/3454
[#3455]: https://github.com/launchbadge/sqlx/pull/3455
[#3459]: https://github.com/launchbadge/sqlx/pull/3459
[#3465]: https://github.com/launchbadge/sqlx/pull/3465
[#3467]: https://github.com/launchbadge/sqlx/pull/3467
[#3474]: https://github.com/launchbadge/sqlx/pull/3474

## 0.8.1 - 2024-08-23

16 pull requests were merged this release cycle.
Expand Down Expand Up @@ -2543,3 +2579,8 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
[@ods]: https://github.com/ods
[@soucosmo]: https://github.com/soucosmo
[@kolinfluence]: https://github.com/kolinfluence
[@joeydewaal]: https://github.com/joeydewaal
[@pierre-wehbe]: https://github.com/pierre-wehbe
[@carschandler]: https://github.com/carschandler
[@kdesjard]: https://github.com/kdesjard
[@luveti]: https://github.com/luveti
74 changes: 18 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5e59a2a

Please sign in to comment.