* Schedule `BackgroundTasks` from within `BaseHTTPMiddleware` [2688](https://github.com/encode/starlette/pull/2688). This behavior was removed in 0.38.3, and is now restored.
* Allow use of `memoryview` in `StreamingResponse` and `Response` [2576](https://github.com/encode/starlette/pull/2576) and [2577](https://github.com/encode/starlette/pull/2577). * Send 404 instead of 500 when filename requested is too long on `StaticFiles` [2583](https://github.com/encode/starlette/pull/2583).
Changed
* Fail fast on invalid `Jinja2Template` instantiation parameters [2568](https://github.com/encode/starlette/pull/2568). * Check endpoint handler is async only once [2536](https://github.com/encode/starlette/pull/2536).
Fixed
* Add proper synchronization to `WebSocketTestSession` [2597](https://github.com/encode/starlette/pull/2597).