You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* improved security for static files
* rate limiting security
* security improvements for decompression and rate limiting
* bumped version; improved xff and fwd headers parsing + limits and caps; optimized decompression limiting
* Preserve static file fallback on missing asset
* Fold static file fallback into single match
* Move path sanitization into file/dir handler
* changelog updates, added a few more unit tests
* fixed a small warning
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-12Lines changed: 7 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
8
-
## Unreleased
9
-
10
-
- Updated `HttpBody::json`/`form` to return Result so serialization errors surface instead of being embedded into the body, and added an Error conversion for `serde_urlencoded` failures.
11
-
- Response helper macros now propagate JSON/form serialization errors, and problem-details responses match on `HttpBody::json` to return `Err` on failure.
12
-
- Added explicit `ok!(text: ... )`/`ok!(fmt: ...)` and `status!(text: ... )`/`status!(fmt: ... )` macros for `text/plain` responses and documented them alongside existing `ok!`/`status!` examples.
13
-
- Removed unnecessary boxing for `HttpBody::full`, `HttpBody::json` and `HttpBody::form`
14
-
- Added additional methods: `HttpBody::text`, `HttpBody::from_static`, `HttpBody::from_static_text`, `HttpBody::from_str` and `HttpBody::from_slice` for better control.
15
-
- Improved performance for all producing response macros and `IntoResponse` implementations.
16
-
- Improved overall extractors' performance + added additional validation for the cases when mixed Path with NamedPath and positional arguments.
17
-
- Added cached query-like path string handling for PathArgs, including into_parts/from_parts, and preserved the cache when cloning to reduce recomputation in extractor/middleware flows.
18
-
- Switched route/allow header internals to Arc<str> and cached Allow values on route nodes to avoid recomputing 405 headers, plus simplified HSTS formatting to avoid intermediate allocation.
19
-
- Added cached query-arg parsing in HttpRequest/HttpRequestMut to reduce repeated query parsing across extractors.
0 commit comments