Skip to content

Releases: softwaremill/tapir

v0.18.0-M2

02 Apr 18:16
Compare
Choose a tag to compare

What’s Changed

v0.18.0-M1

31 Mar 12:22
Compare
Choose a tag to compare

Summary

The main features in this release:

  • content negotiation support on server & client side
  • data structure is reflected only in schemas, not in validators. Validators are much simpler now
  • server interpreters are rewritten, and support two types of interceptors (request & endpoint interceptors). Some functionalities (logging, decode failure handling) are implemented as interceptors
  • exceptions are handled and result in the 500 status code

Breaking changes

  • DecodeFailureHandler - minor changes in method signatures, the default one is now DefaultDecodeFailureHandler.handler
  • LogRequestHandling -> ServerLog
  • server options have been significantly refactored. To create custom options, use e.g. AkkaServerOptions.customInterceptors
  • there's no single streamBody method, instead there are streamBinaryBody, streamTextBody, streamListBody, streamIterableBody
  • SchemaTypes are not objects, but classes. If you specified the schema type manually, instead of e.g. SchemaType.SString you'll have to use SchemaType.SString()
  • rewritten SchemaType.[SProduct|SCoproduct|SOpenProduct]
  • Codec is no longer a Mapping
  • Validator.enum -> Validator.derivedEnum
  • akka server interpreter: removal of .toDirective
  • play server interpreter: toRoute -> toRoutes
  • deprecated statusMapping in favor of oneOfMapping

What’s Changed

Dependency updates

v0.17.19

18 Mar 08:37
Compare
Choose a tag to compare

What’s Changed

  • Use correct validators when generating schema. Simplify schema generation. (#1084) @kubinio123

v0.17.18

16 Mar 17:30
Compare
Choose a tag to compare

What’s Changed

v0.17.16

11 Mar 14:50
Compare
Choose a tag to compare

What’s Changed

v0.17.15

08 Mar 11:12
Compare
Choose a tag to compare

What’s Changed

v0.17.14

04 Mar 09:08
Compare
Choose a tag to compare

What’s Changed

v0.17.13

25 Feb 13:41
Compare
Choose a tag to compare

What’s Changed

v0.17.12

17 Feb 10:44
Compare
Choose a tag to compare

What’s Changed

v0.17.11

16 Feb 12:07
Compare
Choose a tag to compare

What’s Changed