Skip to content

Releases: softwaremill/tapir

v1.2.1

11 Nov 14:42
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v1.2.0

07 Nov 19:14
Compare
Choose a tag to compare

Release notes

  • improved, more consistent enumeration support: both Scala's Enumeration, and sealed trait object-only / scala3 parameterless enums
  • consistent derivation for enumeration schemas/ codecs, using Codec.derivedEnumeration, Codec.derivedEnumerationValue (implicit), Codec.derivedEnumerationValueCustomise
  • separate documentation page for enumerations
  • default value of Schema.derivedEnumeration(encode = x) changed from None to Some(v => v) so that enumeration values are by default represented in the documentation using .toString, without the need to customise schemas in this case
  • introduction of Codec.mapValidate and EndpointTransput.mapValidate to support validation & mapping for values, which are unrepresentable if the validation conditions are not met
  • added Delimted[DELIMITER, T] list wrapper, to derive codecs for comma- and other-delimited values, e.g. in query parms, along with exploded parameter support in OpenAPI

What’s Changed

Dependency updates

v1.1.4

31 Oct 15:30
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v1.1.3

17 Oct 20:43
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v1.1.2

30 Sep 08:45
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v1.1.1

22 Sep 14:00
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v1.1.0

08 Sep 06:14
Compare
Choose a tag to compare

server-core: Breaking Changes

  • Use 406 instead of 415 when the Accept header doesn't match any of the supported content (#2404) @adamw

The UnsupportedMediaTypeInterceptor is renamed to NotAcceptableInterceptor as part of this change. If you customised your interceptors, you might need to update code which uses CustomInterceptors.

Other Changes

Dependency updates

v1.0.6

24 Aug 13:23
Compare
Choose a tag to compare

What’s Changed

  • chore: remove extra quotation mark (#2380) @GreyPlane
  • Properly support classes which are both used directly and as a member of a coproduct (#2376) @adamw

Dependency updates

v1.0.5

17 Aug 18:27
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v1.0.4

08 Aug 20:27
Compare
Choose a tag to compare

What’s Changed

  • Add serverLogicEitherRight and serverLogicEitherLeft variants (#2324) @dvgica
  • Don't reject a oneof variant when there's no body, and the response specifies a content-type (#2357) @adamw
  • Improve macro code so that there are no warnings at usage site (#2340) @adamw
  • Improve github actions workflows (#2341) @adamw

Dependency updates