github softwaremill/tapir v0.20.0

latest releases: v1.11.9, v1.11.8, v1.11.7...
2 years ago

Towards 1.0

We are planning for 0.20.0 to be the final 0.x release, with the next version being a stable 1.0.0. This means that core will have to remain binary-compatible throughout the 1.x lifecycle, which limits code changes that will be possible.

Hence, if you have any features that you'd like to see implemented (especially if they affect the core module) or if there are some bugs that you'd like to see fixed: please report new issues or vote on existing ones. Voting using πŸ‘ is a great way for us to prioritise work.

New features

  • improved stub interpreter
  • Armeria server interpreters
  • better support for enumerations and schema annotations
  • ZIO 2.0 support
  • oneOfBody input
  • endpoint attributes

Breaking changes

  • optional parts in a multipart codec are now represented as a Option[Part[T]], instead of an Part[Option[T]]

What’s Changed since 0.20.0-M10

  • derive schema for Enumeration (#1824) @kubinio123
  • Fix coproduct subtype schemas which are not direct subtypes of the main type (#1898) @adamw
  • Introduce an options object when configuring static content endpoints, add default fallback (#1893) @adamw
  • Make RejectInterceptor customizable with a RejectHandler (#1865) @rucek
  • Possibility to document status code ranges in dynamic statuc code outputs (#1888) @adamw
  • 11 complete openapi model components (#1878) @micsza
  • Make the source of a server response available for interceptors (#1885) @adamw
  • Enumeratum encoded default schema annotation (#1883) @sijarsu
  • Server stub (#1866) @kubinio123
  • Clarify Swagger interpreter options (#1882) @adamw
  • Simplify the extractTreeAndOptTreeFromAnnotation method (#1879) @sijarsu

Dependency updates

Don't miss a new tapir release

NewReleases is sending notifications on new releases.