Skip to content

Commit 5e59a2a

Browse files
committed
merge main
1 parent 2073e16 commit 5e59a2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1032
-322
lines changed

.github/workflows/sqlx.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
strategy:
118118
matrix:
119119
runtime: [async-std, tokio]
120+
linking: [sqlite, sqlite-unbundled]
120121
needs: check
121122
steps:
122123
- uses: actions/checkout@v4
@@ -125,7 +126,11 @@ jobs:
125126

126127
- uses: Swatinem/rust-cache@v2
127128
with:
128-
key: "${{ runner.os }}-sqlite-${{ matrix.runtime }}-${{ matrix.tls }}"
129+
key: "${{ runner.os }}-${{ matrix.linking }}-${{ matrix.runtime }}-${{ matrix.tls }}"
130+
131+
- name: Install system sqlite library
132+
if: ${{ matrix.linking == 'sqlite-unbundled' }}
133+
run: sudo apt-get install -y libsqlite3-dev
129134

130135
- run: echo "using ${DATABASE_URL}"
131136

@@ -135,7 +140,7 @@ jobs:
135140
- run: >
136141
cargo test
137142
--no-default-features
138-
--features any,macros,sqlite,_unstable-all-types,runtime-${{ matrix.runtime }}
143+
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
139144
--
140145
--test-threads=1
141146
env:
@@ -151,8 +156,8 @@ jobs:
151156
- run: >
152157
cargo build
153158
--no-default-features
154-
--test sqlite-macros
155-
--features any,macros,sqlite,_unstable-all-types,runtime-${{ matrix.runtime }}
159+
--test ${{ matrix.linking }}-macros
160+
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
156161
env:
157162
SQLX_OFFLINE: true
158163
SQLX_OFFLINE_DIR: .sqlx
@@ -163,8 +168,8 @@ jobs:
163168
- run: >
164169
cargo test
165170
--no-default-features
166-
--test sqlite-macros
167-
--features any,macros,sqlite,_unstable-all-types,runtime-${{ matrix.runtime }}
171+
--test ${{ matrix.linking }}-macros
172+
--features any,macros,${{ matrix.linking }},_unstable-all-types,runtime-${{ matrix.runtime }}
168173
env:
169174
DATABASE_URL: sqlite://tests/sqlite/sqlite.db
170175
SQLX_OFFLINE: true

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,42 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 0.8.2 - 2024-09-02
9+
10+
10 pull requests were merged this release cycle.
11+
12+
This release addresses a few regressions that have occurred, and refines SQLx's MSRV policy (see [the FAQ](FAQ.md)).
13+
14+
### Added
15+
* [[#3447]]: Clarify usage of Json/Jsonb in query macros [[@Lachstec]]
16+
17+
### Changed
18+
* [[#3424]]: Remove deprecated feature-names from `Cargo.toml` files in examples [[@carschandler]]
19+
20+
### Fixed
21+
* [[#3403]]: Fix (#3395) sqlx::test macro in 0.8 [[@joeydewaal]]
22+
* [[#3411]]: fix: Use rfc3339 to decode date from text [[@pierre-wehbe]]
23+
* [[#3453]]: fix(#3445): PgHasArrayType [[@joeydewaal]]
24+
* Fixes `#[sqlx(no_pg_array)]` being forbidden on `#[derive(Type)]` structs.
25+
* [[#3454]]: fix: non snake case warning [[@joeydewaal]]
26+
* [[#3459]]: Pgsql cube type compile fail [[@kdesjard]]
27+
* [[#3465]]: fix(postgres): max number of binds is 65535, not 32767 (regression) [[@abonander]]
28+
* [[#3467]]: fix cancellation issues with `PgListener`, `PgStream::recv()` [[@abonander]]
29+
* Fixes cryptic `unknown message: "\\0"` error
30+
* [[#3474]]: Fix try_get example in README.md [[@luveti]]
31+
32+
[#3403]: https://github.com/launchbadge/sqlx/pull/3403
33+
[#3411]: https://github.com/launchbadge/sqlx/pull/3411
34+
[#3424]: https://github.com/launchbadge/sqlx/pull/3424
35+
[#3447]: https://github.com/launchbadge/sqlx/pull/3447
36+
[#3453]: https://github.com/launchbadge/sqlx/pull/3453
37+
[#3454]: https://github.com/launchbadge/sqlx/pull/3454
38+
[#3455]: https://github.com/launchbadge/sqlx/pull/3455
39+
[#3459]: https://github.com/launchbadge/sqlx/pull/3459
40+
[#3465]: https://github.com/launchbadge/sqlx/pull/3465
41+
[#3467]: https://github.com/launchbadge/sqlx/pull/3467
42+
[#3474]: https://github.com/launchbadge/sqlx/pull/3474
43+
844
## 0.8.1 - 2024-08-23
945

1046
16 pull requests were merged this release cycle.
@@ -2543,3 +2579,8 @@ Fix docs.rs build by enabling a runtime feature in the docs.rs metadata in `Carg
25432579
[@ods]: https://github.com/ods
25442580
[@soucosmo]: https://github.com/soucosmo
25452581
[@kolinfluence]: https://github.com/kolinfluence
2582+
[@joeydewaal]: https://github.com/joeydewaal
2583+
[@pierre-wehbe]: https://github.com/pierre-wehbe
2584+
[@carschandler]: https://github.com/carschandler
2585+
[@kdesjard]: https://github.com/kdesjard
2586+
[@luveti]: https://github.com/luveti

Cargo.lock

Lines changed: 18 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)