Skip to content

Commit 17e56cd

Browse files
authored
Update CHANGELOG with bug fixes and new features
Fixed multiple incorrect or imprecise HTTP statuses returned by sqlpage on error, improving error handling for administrators. Added support for OpenTelemetry tracing and metrics, and introduced a new argument for controlling file permissions in sqlpage.
1 parent 2ecf5c9 commit 17e56cd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@
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-
- Fix: 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`.
79
- Logging: `LOG_LEVEL` is now the primary environment variable for configuring SQLPage's log filter. `RUST_LOG` remains supported as an alias.
810
- You can now easily understand and debug slow page loads thanks to the added support for [OpenTelemetry](https://opentelemetry.io) tracing & metrics
911
- connect SQLPage to an OpenTelemetry tracing backend via the `OTEL_EXPORTER_OTLP_ENDPOINT` environment variable.
1012
- see the [sqlpage monitoring example](https://github.com/sqlpage/SQLPage/tree/main/examples/telemetry#readme)
1113
- <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.
1216

1317
## 0.43.0
1418

0 commit comments

Comments
 (0)