Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e0a48cf
Keep SQL driver selection independent of SQLx Any
lovasoa Nov 19, 2026
de2a1ee
Separate SQLPage bindings and row assembly from the driver
lovasoa Nov 19, 2026
e1f11d4
Bind database filesystem queries through SQLPage
lovasoa Nov 19, 2026
d2d0759
Switch database execution to upstream SQLx 0.9
lovasoa Nov 19, 2026
72b9461
Use the published SQL Server and ODBC drivers
lovasoa Nov 19, 2026
fb8baeb
Isolate SQLite collation and scalar function registration
lovasoa Nov 20, 2026
8dbbbc1
Decode native rows directly in the query stream
lovasoa Nov 20, 2026
85fba63
Consume decoded rows when evaluating computed columns
lovasoa Nov 20, 2026
2eb8536
Configure connection hooks directly on the pool
lovasoa Nov 20, 2026
d408f5c
Select the database pool in one URL match
lovasoa Nov 20, 2026
bdc9915
Bind parameters with SQLx's native argument tuple
lovasoa Nov 20, 2026
a704e67
Build CSV insert placeholders from the column count
lovasoa Nov 20, 2026
430255f
Preserve numeric output for multi-byte MySQL BIT columns
lovasoa Nov 20, 2026
e526a37
Run database filesystem queries directly on the acquired connection
lovasoa Nov 20, 2026
439deac
Execute queries through one shared connection interface
lovasoa Nov 20, 2026
975a678
Keep native pools behind a shared pool interface
lovasoa Nov 20, 2026
11e3c83
Represent the SQL dialect and its native or ODBC connection together
lovasoa Nov 20, 2026
da01cf7
Use one placeholder rule for numbering and binding reuse
lovasoa Nov 20, 2026
6d4303d
Borrow static parser dialects for each SQL file
lovasoa Nov 20, 2026
f8af16e
Document connection options and migrations for the upstream drivers
lovasoa Nov 20, 2026
9e1ae12
Use the streaming SQL Server driver
lovasoa Nov 20, 2026
1c7d68f
Share SQLPage’s resolved dependencies with its fuzz target
lovasoa Nov 20, 2026
0881886
Share scalar decoding across native and ODBC rows
lovasoa Nov 20, 2026
217d9cc
Compare decoded rows with one exact JSON assertion
lovasoa Nov 20, 2026
2b94529
Configure pool limits where each driver opens its connections
lovasoa Nov 20, 2026
e1cdd30
Share one result stream between page queries and scalar assignments
lovasoa Nov 20, 2026
b22114e
Use SQLx pools directly and keep migration support at startup
lovasoa Nov 20, 2026
9dddd41
Resolve CSV import options once while parsing COPY
lovasoa Nov 20, 2026
8dffe7c
Resolve CSV column positions once and reuse the record buffer
lovasoa Nov 20, 2026
8b14a7d
Locate PostgreSQL errors in a single character-based pass
lovasoa Nov 20, 2026
5955687
Stop the response stream on its first error without a channel
lovasoa Nov 20, 2026
6eff7a2
Apply Clippy formatting to CSV option parsing
lovasoa Nov 20, 2026
4ba676a
Document supported connections in the migrations section
lovasoa Nov 20, 2026
c11df0d
Record the bundled SQLite downgrade in the changelog
lovasoa Nov 20, 2026
ee33b87
Document SQLite query error highlighting
lovasoa Nov 20, 2026
a0d9afb
Use SQLx 0.9.1 and retain bundled SQLite 3.54.1
lovasoa Nov 20, 2026
5ac4de4
Wait for SQL fixture pools to disconnect before test exit
lovasoa Nov 20, 2026
e8347e9
Disconnect the ODBC metadata probe before opening the pool
lovasoa Nov 20, 2026
b1c6c58
Close test database pools before their Actix runtime exits
lovasoa Nov 20, 2026
ddb9882
Preserve dependency updates from main
lovasoa Nov 25, 2026
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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ jobs:
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0
with:
shared-key: rust-sqlpage-fuzz
workspaces: fuzz -> target
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo install cargo-fuzz --locked --version 0.13.2
- name: Fuzz SQL regression fixtures across database selectors
Expand Down Expand Up @@ -304,7 +303,7 @@ jobs:
ref_scope="pr-${{ github.event.pull_request.number }}"
fi

recipe_hash="${{ hashFiles('Dockerfile', '.cargo/**', 'Cargo.toml', 'Cargo.lock', 'build.rs', 'scripts/**', 'sqlpage/**', 'frontend/src/**', 'package.json', 'package-lock.json') }}"
recipe_hash="${{ hashFiles('Dockerfile', '.cargo/**', 'Cargo.toml', 'fuzz/Cargo.toml', 'Cargo.lock', 'build.rs', 'scripts/**', 'sqlpage/**', 'frontend/src/**', 'package.json', 'package-lock.json') }}"
{
echo "artifact=sqlpage-${ref_scope}${{ matrix.tag_suffix }}-hurl-${recipe_hash}"
echo "current=sqlpage-${ref_scope}${{ matrix.tag_suffix }}-${recipe_hash}"
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
- JSON `shell` menu items with a link are now links in the accessibility tree instead of being announced as buttons; only submenu toggles keep `role="button"`.
- The new [`status_bar` component](https://sql-page.com/component.sql?component=status_bar) displays short status messages and links along the bottom of the screen or inline with page content.
- A file input with `multiple` now keeps every selected file, instead of only the last one. The new [`sqlpage.persist_uploaded_files`](https://sql-page.com/functions.sql?function=persist_uploaded_files) function saves them all and returns a JSON array with the `path`, original `name`, `mime_type` and `size` of each file.
- Native SQL Server connections now run startup migrations. Encrypted connections require [full-session TLS](./configuration.md#database-connection-strings).
- SQLite query errors now show the failing statement without highlighting the individual token.
- On native MySQL connections, values 0 and 1 in `BIT(2)` through `BIT(8)` columns now produce JSON booleans. Use `CAST(column_name AS UNSIGNED)` to keep numeric output.
- Set `wrap` on a `big_number` component to show long titles and descriptions across multiple lines.
- Inline icons now align with their labels in components such as tabs and steps.
- Keyboard users can now Tab to a dismissible alert’s Close button and press Enter or Space to dismiss it. ([#1612](https://github.com/sqlpage/SQLPage/issues/1612))
Expand Down
9 changes: 6 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ for a release build.

Default builds require a system ODBC driver manager. On Linux and macOS,
`--features odbc-static` bundles unixODBC, but database-specific drivers must still
be installed separately. Windows uses its system ODBC driver manager. Published
crates include browser assets and do not require Node.js.
be installed separately. Windows uses its system ODBC driver manager. On Linux,
building SQL Server support requires Perl and Make to compile the bundled
OpenSSL. Published crates include browser assets and do not require Node.js.

### Optional: Nix dev shell

Expand Down Expand Up @@ -82,7 +83,9 @@ For examples with `test.hurl`, run
For the official site, run `npm run site:build` first.

Integration tests use the shared request helpers in [tests/common](./tests/common/mod.rs)
to exercise production routes and middleware and drain request pools.
to exercise production routes and middleware. Tests that open a database use
`#[actix_web::rt::test(system = "crate::test_database::System")]` so their pools
finish disconnecting before the runtime exits.

Rust tests default to in-memory SQLite; `DATABASE_URL` selects another database.
For example:
Expand Down
Loading
Loading