Skip to content

Commit 38085d1

Browse files
committed
Merge branch 'main' of github.com:sqlpage/SQLPage
2 parents ac0fe7f + 97efb6a commit 38085d1

47 files changed

Lines changed: 4038 additions & 364 deletions

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ xbed.sql
1111
**/sqlpage.bin
1212
node_modules/
1313
sqlpage/sqlpage.db
14+
tests_uploads/

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33
## unreleased
44

55
- Fixed a bug where the single-sign-on oidc code would generate an unbounded amount of cookies when receiving many unauthenticated requests in sequence.
6-
- Improve HTTP status codes returned by SQLPage. This helps with monitoring sqlpage applications: it is now easier to distinguish client errors (code 4xx, often caused by vulnerability scanning bots, not actionnable for you) and server errors (code 5xx, when something is wrong on your servers and you should do something).
7-
- For instance, invalid UTF-8 in multipart text fields now returns `400 Bad Request` instead of `500 Internal Server Error`.
6+
- Fixed multiple incorrect or imprecise HTTP statuses returned by sqlpage on error
7+
- this makes it easier for an administrator to distinguish between user errors (4xx, non actionnable) and server errors (5xx, when you see them you should do something)
8+
- for instance: invalid UTF-8 in multipart text fields now returns `400 Bad Request` instead of `500 Internal Server Error`.
9+
- Logging: `LOG_LEVEL` is now the primary environment variable for configuring SQLPage's log filter. `RUST_LOG` remains supported as an alias.
10+
- You can now easily understand and debug slow page loads thanks to the added support for [OpenTelemetry](https://opentelemetry.io) tracing & metrics
11+
- connect SQLPage to an OpenTelemetry tracing backend via the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable.
12+
- see the [sqlpage monitoring example](https://github.com/sqlpage/SQLPage/tree/main/examples/telemetry#readme)
13+
- <img width="2926" height="1664" alt="image" src="https://github.com/user-attachments/assets/11ae3644-a4f4-4218-98b2-4bf5afb345f8" />
14+
- Added an argument to `sqlpage.persist_uploaded_file(...)` to control the permissions of the newly created file.
15+
- Notably, this makes it easier to accelerate serving of uploaded files by letting a reverse proxy like nginx serve them directly.
16+
- Added an [`id` row-level parameter to the datagrid component](https://github.com/sqlpage/SQLPage/issues/1243)
817

918
## 0.43.0
1019

0 commit comments

Comments
 (0)