What’s Changed
- Always delete temporary files (multipart parts & file bodies) after the request processing completes (#4904) @adamw
- Fix the Ztapir.zServerLogic return signature (#4884) @paul-danilin-moia
Changed file handling behavior
As part of #4904, any temporary files are now always deleted after request processing completes (successfully - returning any HTTP response, or with an exception). Previously, these files where only cleaned up in case of request decoding failure (HTTP 4xx responses) or exceptions. This affects multipart file uploads and bodies received as a file (fileBody). If you do need to preserve the files longer than the duration of the request, consider hard-linking then, or creating a copy.
Dependency updates
- Update prometheus-metrics-core, ... to 1.4.2 (#4906) @softwaremill-ci
- Bump actions/upload-artifact from 4 to 5 (#4903) @dependabot[bot]
- Update scalafmt-core to 3.10.1 (#4901) @softwaremill-ci
- Update ssl-config-core to 0.7.1 (#4896) @softwaremill-ci
- Update scalafmt-core to 3.9.10 (#4897) @softwaremill-ci
- Update netty-reactive-streams-http to 3.0.6 (#4894) @softwaremill-ci
- Update vertx-codegen, vertx-web to 4.5.22 (#4890) @softwaremill-ci
- Update pekko-grpc-runtime, ... to 1.2.0 (#4888) @softwaremill-ci
- Update cats, circe to 4.0.12 (#4887) @softwaremill-ci
- Update sttp-mock-server, ... to 1.11.50 (#4883) @softwaremill-ci
- Update logback-classic to 1.5.20 (#4881) @softwaremill-ci
- Update client4:akka-http-backend, ... to 4.0.12 (#4843) @softwaremill-ci