Skip to content

Releases: softwaremill/tapir

v1.13.4

29 Dec 11:50
55554fc

Choose a tag to compare

What's Changed

Dependency updates

v1.13.3

12 Dec 15:49
4bed2f2

Choose a tag to compare

What's Changed

  • In Pekko/Akka, ServerRequest.uri should return the full path (#4973) @adamw

Dependency updates

v1.13.2

11 Dec 10:00
c055792

Choose a tag to compare

What's Changed

  • Fix prometheus requestDuration metrics (#4970) @adamw
  • Bumped sbt-dependency-graph to fix Update Dependency Graph job (#4969) @pielas

v1.13.1

09 Dec 16:42
006e06c

Choose a tag to compare

What's Changed

  • Properly handle responses generated by RejectInterceptor in PrometheusMetrics (#4967) @adamw
  • Simplify server test code (#4959) @adamw

Dependency updates

v1.13.0

05 Dec 13:47
97357cd

Choose a tag to compare

Major changes

The changes in this minor release mostly concern the server interpreters. The request handling result that is passed through the interceptor stack now contains additional metadata which allows logging & metrics interceptors to be more precise. If you have custom interceptors, implement custom metrics or custom log integrations, you might need to adjust your source code.

Specific changes:

  • the requests-active metrics now isn't labeled with the request path or path template, but counts each and every request that is handled by tapir. That's because the requests are now counted regardless if they end up being handled by an endpoint, or if there's no endpoint that matches the request.
  • metrics (the EndpointMetric trait) now has additional callbacks, which can be specified, when the request can't be decoded by an endpoint, or when an interceptor provides a response beforehand.
  • the logging interceptor will now log both the exception stack trace, and the response generated by the exception interceptor. Moreover, the logging & exception interceptors are combined into one to implement his
  • the logging interceptor will now log rejection responses and CORS responses
  • the ordering of interceptors changed: now logging & exceptions come before the rejection & cors ones

For more details see #4943

What's Changed

Dependency updates

v1.12.6

02 Dec 21:28
53a0797

Choose a tag to compare

What's Changed

  • Update schemaId URL for MetaSchemaDraft202012 to use https (#4954) @trobert
  • Correctly report test status when running through pipe (#4955) @adamw

Dependency updates

v1.12.5

28 Nov 12:20
1e311c0

Choose a tag to compare

What's Changed

Dependency updates

v1.12.4

24 Nov 13:28
1e34c28

Choose a tag to compare

What's Changed

Dependency updates

v1.12.3

10 Nov 12:51
26a684d

Choose a tag to compare

What's Changed

  • Akka HTTP - Return HttpEntity.Strict as-is, do not convert to HttpEntity.Default (#4922) @honzabazant

Dependency updates

v1.12.2

04 Nov 13:49
5d47f1f

Choose a tag to compare

What's Changed

Dependency updates