github softwaremill/tapir v1.12.0

latest release: v1.12.1
2 days ago

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

Don't miss a new tapir release

NewReleases is sending notifications on new releases.