Releases: softwaremill/tapir
Releases · softwaremill/tapir
v0.16.10
What’s Changed
- Http4s server, add
EndpointToHttp4sServer.toHttp
method (#683) @leoniv - Revert "Update zio-interop-cats to 2.1.4.0-RC17+1-307f2f6c-SNAPSHOT" (#686) @adamw
- Update zio-interop-cats to 2.1.4.0-RC17+1-307f2f6c-SNAPSHOT (#685) @scala-steward
- Update sbt-twirl to 1.5.0 (#684) @scala-steward
- Status matcher (#681) @majk-p
- Adding Swagger UI and Redoc for Play (#682) @defungt
- Update discipline-scalatest to 2.0.0 (#680) @scala-steward
- Update client:akka-http-backend, ... to 2.2.3 (#679) @scala-steward
- Update silencer-lib, silencer-plugin to 1.7.1 (#678) @scala-steward
v0.16.7
What’s Changed
- Add application/zip codec format (#667) @mas15
- Add map and functor instance for Example (#676) @matwojcik
- Update swagger-ui to 3.30.0 (#677) @scala-steward
v0.13.1
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]
becomesCodec[L, H, CF]
CodecForMany
andCodecForOptional
is removed. Instead, useCodec[List[...], ...]
orCodec[Option[...], ...]
List
replaced some usages ofSeq
, 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
sttp tapir v0.12.0
Major changes
- renamed the group id from
com.softwaremill.tapir
tocom.softwaremill.sttp.tapir
(organization) - renamed the main package from
tapir
tosttp.tapir
(see sttp-client/#288) Codec
s are parametrised with aCodecFormat
, instead of aMediaType
(however, codec format still includes a media type)- using sttp model (which is shared with sttp client)
- changed
SchemaFor[T]
intoSchema[T]
. PreviousSchema
datatype now isSchemaType
(#247)
And some minor changes :)