Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
9d74aea
chore: issue forms with reason-listings (#3476)
CommanderStorm Jan 4, 2025
6b33766
fix(cli): running tests on 32bit platforms (#3666)
paolobarbolini Jan 7, 2025
b386862
Update row.rs
karambarakat Jan 9, 2025
8b52774
build(deps): bump semver compatible dependencies
paolobarbolini Jan 4, 2025
838a239
docs: add example for postgres enums with type TEXT (#3655)
tisonkun Jan 15, 2025
f6d2fa3
fix: handle nullable values by printing NULL instead of panicking (#3…
joeydewaal Jan 16, 2025
aae8000
feat(sqlite): add preupdate hook (#3625)
aschey Jan 24, 2025
a83395a
Fix: nextest cleanup race condition (#3334)
bonega Jan 24, 2025
a408c49
fix(postgres) use signed int for length prefix in `PgCopyIn` (#3701)
joeydewaal Jan 24, 2025
ad1d7a8
Derive clone and debug for postgresql arguments (#3687)
remysaissy Jan 24, 2025
f4c7498
fix(Sqlite): stop sending rows after first error (#3700)
joeydewaal Jan 24, 2025
74da542
feat: add postres geometry line segment (#3690)
jayy-lmao Jan 25, 2025
6fa0458
fix(Postgres) chunk pg_copy data (#3703)
joeydewaal Jan 25, 2025
6c2a29f
chore(MySql): Remove unnecessary box (#3708)
joeydewaal Jan 27, 2025
6ca52fe
Added missing special casing for encoding embedded arrays of custom t…
nico-incubiq Jan 28, 2025
546ec96
feat(Sqlite): add LockedSqliteHandle::last_error (#3707)
joeydewaal Jan 28, 2025
2aab4cd
Add json(nullable) macro attribute (#3677)
seanaye Jan 28, 2025
d8af1fa
chore: add pg_copy regression tests (#3715)
joeydewaal Jan 29, 2025
97cada3
feat(postgres): add geometry box (#3711)
jayy-lmao Jan 29, 2025
4d638c9
FromRow: Fix documentation order (#3712)
Turbo87 Jan 29, 2025
5b26369
Fix readme: uuid feature is gating for all repos (#3720)
jthacker Jan 31, 2025
65229f7
Replace some futures_util APIs with std variants (#3721)
paolobarbolini Feb 2, 2025
91291be
feat(sqlx-cli): Add flag to disable automatic loading of .env files (…
benwilber Feb 4, 2025
f42561b
chore: expose bstr feature (#3714)
joeydewaal Feb 4, 2025
3a20a92
chore: replace rustls-pemfile with rustls-pki-types (#3725)
tottoto Feb 5, 2025
b859914
QueryBuilder: add `debug_assert` when `push_values` is passed an empt…
chanmaoganda Feb 18, 2025
8cdad44
docs: add some missing backticks (#3749)
soulwa Feb 19, 2025
520d25c
chore(cli): remove unused async-trait crate from dependencies (#3754)
tottoto Feb 20, 2025
26b4e5f
Update pull_request_template.md
abonander Feb 20, 2025
8dce6bd
Fix example calculation (#3741)
dns2utf8 Feb 20, 2025
a9dfb4f
Avoid privilege requirements by using an advisory lock in test setup …
kildrens Feb 21, 2025
3dec1d1
Small doc correction. (#3755)
xvapx Feb 22, 2025
9bd3d61
Update FAQ.md
abonander Feb 23, 2025
277dd36
refactor(cli): replace promptly with dialoguer (#3669)
paolobarbolini Feb 27, 2025
5d6d698
docs(pool): recommend actix-web ThinData over Data to avoid two Arcs …
jonasmalacofilho Mar 1, 2025
c5ea6c4
feat: sqlx sqlite expose de/serialize (#3745)
mattrighetti Mar 2, 2025
5c573e1
feat(postgres): add geometry path (#3716)
jayy-lmao Mar 2, 2025
7af998c
chore(Sqlite): remove ci.db from repo (#3768)
joeydewaal Mar 4, 2025
7a2a94e
fix: CI
abonander Mar 4, 2025
c3fd645
fix(ci): upgrade Ubuntu image to 24.04
abonander Mar 4, 2025
a92626d
postgres: Use current tracing span when dropping PgListener
chitoku-k Mar 4, 2025
ca3a509
feat(postgres): add geometry polygon (#3769)
jayy-lmao Mar 7, 2025
2f10c29
feat(postgres): add geometry circle (#3773)
jayy-lmao Mar 9, 2025
393b731
Merge of #3427 (by @mpyw) and #3614 (by @bonsairobo) (#3765)
abonander Mar 10, 2025
e474be6
docs: Fix a copy-paste error on get_username docs (#3786)
sulami Mar 16, 2025
1c9cbe9
feat: add ipnet support (#3710)
BeauGieskens Mar 24, 2025
f0be19e
Enable json feature without db enabled (#3801)
thriller08 Mar 30, 2025
082aed5
Fix error message typo in PgPoint::from_str (#3811)
TeCHiScy Apr 1, 2025
e283bf9
mysql: Fix panic on invalid text row length field
0xdeafbeef Apr 4, 2025
42def59
fix(macros): cache macro metadata based on `CARGO_MANIFEST_DIR` (#3815)
joeydewaal Apr 14, 2025
97bf270
Always set SQLITE_OPEN_URI (#3289)
LecrisUT Apr 14, 2025
1548785
fix: PgConnectOptions docs (#3809)
mbj Apr 14, 2025
f908403
0.8.4 release (#3819)
abonander Apr 14, 2025
e723688
Hotfix 0.8.5 (#3824)
abonander Apr 15, 2025
91d26ba
fix(CHANGELOG): section headings in 0.8.5
abonander Apr 15, 2025
5736ab6
chore: clean up no longer used imports (#3845)
tisonkun May 3, 2025
6b2e024
Add color and wrapping to cli help text (#3849)
joshka May 3, 2025
3edc619
build: drop unused `tempfile` dependency (#3830)
paolobarbolini May 5, 2025
92c3845
fix `attrubute` typo in doc (#3855)
kujeger May 8, 2025
1b94e1d
chore(doc): clarify compile-time verification and case conversion beh…
duhby May 18, 2025
4259862
fix(macros): slightly improve unsupported type error message (#3856)
dyc3 May 19, 2025
760b395
fix(macros): don't mutate environment variables (#3848)
joeydewaal May 19, 2025
d335f78
Use unnamed statement in pg when not persistent (#3863)
ThomWright May 19, 2025
b27b47c
Pick default features to fix docs.rs build of sqlx-sqlite (#3840)
gferon May 19, 2025
bab1b02
0.8.6 release (#3870)
abonander May 19, 2025
27cfabb
fix(sqlx): Add warning message for a detected bad transaction drop
JackFawthorpePartly Jul 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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?

50 changes: 49 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,50 @@
<!--
PR AUTHOR INSTRUCTIONS; PLEASE READ.

Give your pull request an accurate and descriptive title. It should mention what component(s) or database driver(s) it touches.
Pull requests with undescriptive or inaccurate titles *may* be closed or have their titles changed before merging.

Fill out the fields below.

All pull requests *must* pass CI to be merged. Check your pull request frequently for build failures until all checks pass.
Address build failures by pushing new commits or amending existing ones. Feel free to ask for help if you get stuck.
If a failure seems spurious (timeout or cache failure), you may push a new commit to re-run it.

After addressing review comments, re-request review to show that you are ready for your PR to be looked at again.

Pull requests which sit for a long time with broken CI or unaddressed review comments will be closed to clear the backlog.
If this happens, you are welcome to open a new pull request, but please be sure to address the feedback you have received previously.

Bug fixes should include a regression test which fails before the fix and passes afterwards. If this is infeasible, please explain why.

New features *should* include unit or integration tests in the appropriate folders. Database specific tests should go in `tests/<database>`.

Note that unsolicited pull requests implementing large or complex changes may not be reviwed right away.
Maintainer time and energy is limited and massive unsolicited pull requests require an outsized effort to review.

To make the best use of your time and ours, search for and participate in existing discussion on the issue tracker before opening a pull request.
The solution you came up with may have already been rejected or postponed due to other work needing to be done first,
or there may be a pending solution going down a different direction that you hadn't considered.

Pull requests that take existing discussion into account are the most likely to be merged.

Delete this block comment before submission to show that you have read and understand these instructions.
-->

### Does your PR solve an issue?
### Delete this text and add "fixes #(issue number)"
Delete this text and add "fixes #(issue number)".

Do *not* just list issue numbers here as they will not be automatically closed on merging this pull request unless prefixed with "fixes" or "closes".

### Is this a breaking change?
Delete this text and answer yes/no and explain.

If yes, this pull request will need to wait for the next major release (`0.{x + 1}.0`)

Behavior changes _can_ be breaking if significant enough.
Consider [Hyrum's Law](https://www.hyrumslaw.com/):

> With a sufficient number of users of an API,
> it does not matter what you promise in the contract:
> all observable behaviors of your system
> will be depended on by somebody.
37 changes: 19 additions & 18 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Use latest Rust
run: rustup override set stable
- name: Setup Rust
run: |
rustup show active-toolchain || rustup toolchain install
rustup override set stable

- uses: Swatinem/rust-cache@v2
with:
key: sqlx-cli

- run: >
cargo build
-p sqlx-cli
--bin sqlx
--release
--no-default-features
--features mysql,postgres,sqlite
cargo build
-p sqlx-cli
--bin sqlx
--release
--no-default-features
--features mysql,postgres,sqlite

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -63,9 +63,10 @@ jobs:

- uses: actions/checkout@v4

- name: Setup Rust
run: rustup show active-toolchain || rustup toolchain install

- uses: Swatinem/rust-cache@v2
with:
key: mysql-examples

- name: Todos (Setup)
working-directory: examples/mysql/todos
Expand Down Expand Up @@ -98,17 +99,16 @@ jobs:
name: sqlx-cli
path: /home/runner/.local/bin

- run: |
- run: |
ls -R /home/runner/.local/bin
chmod +x $HOME/.local/bin/sqlx
echo $HOME/.local/bin >> $GITHUB_PATH
sleep 10

- uses: actions/checkout@v4

- uses: Swatinem/rust-cache@v2
with:
key: pg-examples
- name: Setup Rust
run: rustup show active-toolchain || rustup toolchain install

- name: Axum Social with Tests (Setup)
working-directory: examples/postgres/axum-social-with-tests
Expand Down Expand Up @@ -217,9 +217,10 @@ jobs:

- uses: actions/checkout@v4

- name: Setup Rust
run: rustup show active-toolchain || rustup toolchain install

- uses: Swatinem/rust-cache@v2
with:
key: sqlite-examples

- name: TODOs (Setup)
env:
Expand Down
Loading
Loading