Skip to content

Releases: softwaremill/tapir

v0.16.10

28 Jul 17:27
Compare
Choose a tag to compare

What’s Changed

v0.16.7

23 Jul 11:30
Compare
Choose a tag to compare

What’s Changed

v0.13.1

06 Apr 12:35
Compare
Choose a tag to compare

There's a couple of breaking changes in this release. Some background information can be found here: https://blog.softwaremill.com/tapir-codecs-get-an-update-c9801889cbf3

A non-comprehensive summary of the breaking changes:

  • Codec[H, CF, L] becomes Codec[L, H, CF]
  • CodecForMany and CodecForOptional is removed. Instead, use Codec[List[...], ...] or Codec[Option[...], ...]
  • List replaced some usages of Seq, in the types to which endpoint inputs/outputs mapped
  • if you are using custom (implicit) json codecs, for json bodies you should use anyJsonBody

v0.12.3

20 Nov 15:34
Compare
Choose a tag to compare

Breaking changes

  • the SwaggerHttp4s.routes: HttpRoutes now returns routes that include the given contextPath. Hence, when before to expose the routes you had to do Router("/docs" -> new SwaggerHttp4s(yaml).routes[IO]), now it's:
Router("/" -> new SwaggerHttp4s(yaml).routes[IO])

See #319

sttp tapir v0.12.0

10 Nov 17:54
Compare
Choose a tag to compare

Major changes

  • renamed the group id from com.softwaremill.tapir to com.softwaremill.sttp.tapir (organization)
  • renamed the main package from tapir to sttp.tapir (see sttp-client/#288)
  • Codecs are parametrised with a CodecFormat, instead of a MediaType (however, codec format still includes a media type)
  • using sttp model (which is shared with sttp client)
  • changed SchemaFor[T] into Schema[T]. Previous Schema datatype now is SchemaType (#247)

And some minor changes :)