github softwaremill/tapir v1.9.4

latest releases: v1.11.4, v1.11.3, v1.11.2...
9 months ago

MaxContentLength for Netty

All Netty backends now support restricting maximum request body length. This per-endpoint protection ensures that no more bytes are loaded from body than given limit. Exceeding the limit results in HTTP 413 Payload Too Large response. For details see https://tapir.softwaremill.com/en/latest/endpoint/security.html#limiting-request-body-length for details.
More backends will support this feature in upcoming versions.

  • If you have been using the global NettyConfig.maxContentLength setting, it's no longer available. Please switch to the new per-endpoint annotation.
  • NettyConfig.defaultNoStreaming has been removed, use NettyConfig.default

Removed ZIO 1.x modules

Tapir integrations for zio, zio-json, zio-http, etc. are now available only for ZIO 2.x

What’s Changed

Dependency updates

Don't miss a new tapir release

NewReleases is sending notifications on new releases.