Releases: softwaremill/tapir
Releases Β· softwaremill/tapir
v1.0.0-RC3
Whatβs Changed
- Allow validation to return multiple custom messages when the result is invalid (#2180) @adamw
- Make schema serialisable (#2177) @adamw
- [zhttp] Add more tests for zServerLogic (#1917) @ex0ns
- When decoding an endpoint fails in vertx, trying the next one (#2174) @adamw
- Update to ZIO 2.0.0-RC6 (#2167) @adamw
- Properly handle trailing slashes in finatra (#2171) @adamw
- Use zio integration module in vertx-zio (#2170) @danslapman
Dependency updates
- Update swagger-ui to 4.11.1 (#2155) @scala-steward
v1.0.0-RC2
Breaking changes
streamBinaryBody
now takes a codec format which determines the media type of the response. E.g.streamBinaryBody(Fs2Streams[F])(CodecFormat.Zip())
. The previous default wasCodecFormat.OctetStream()
- server interpreter artifacts have consistent naming using the template:
tapir-<server>-server-<effect>
. More specifically, the http4s-zio interpreter is now included in thetapir-http4s-server-zio
artifact. Moreover, vertx and netty interpreters have been split into separate subprojects for each effect implementation, so if you want to use vertx+cats, you need to depend ontapir-vertx-server-cats
.
Whatβs Changed
- Reorganize server source code & adjust artifact naming (#2169) @adamw
- ZIO 1.x support for Vert.X & Armeria (#2163) @danslapman
- Add a format parameter to streamBinaryBody (#2166) @adamw
- Fix armeria-zio example (#2157) @danslapman
- Add Scala Native support for jsoniter-scala integration (#2165) @plokhotnyuk
- Add support for Scala 3 on Scala Native (#2160) @lolgab
- remove unneeded old workaround code (#2151) @Zhen-hao
- Properly set content-length header if known in the zio-http interpreter (#2147) @adamw
- Fix zio vertx documentation (#2146) @desavitsky
- Add support for uPickle native (#2138) @lolgab
- Improve OpenTelemetry metrics integration (#2144) @adamw
- Ocado Technlogy added to adopters (#2135) @otrebski
Dependency updates
- Update http4s-circe, http4s-core, ... to 0.23.12 (#2156) @scala-steward
- Update vertx-web to 4.3.1 (#2158) @scala-steward
- Update scala-logging to 3.9.5 (#2150) @scala-steward
- Update gatling-sbt to 4.1.6 (#2136) @scala-steward
- Update http4s-blaze-client, ... to 0.23.12 (#2159) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.26 (#2154) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.25 (#2149) @scala-steward
- Update cats-effect to 3.3.12 (#2148) @scala-steward
- Update circe-core, circe-generic, ... to 0.14.2 (#2142) @scala-steward
- Update scala-java-time, ... to 2.4.0-M3 (#2143) @scala-steward
- Update play-ahc-ws-standalone to 2.1.10 (#2141) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.24 (#2139) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.23 (#2134) @scala-steward
v0.20.2
Whatβs Changed
- No changes
v1.0.0-RC1
The first release candidate of tapir 1.0.0, which will stabilise the core
module for Scala 2 - meaning that no backward-incompatible changes will be introduced until the next major version.
Please update & test! :)
Whatβs Changed
- Use sttp-apispec (#2129) @adamw
- Open product with non-open fields #1699 (#2122) @marcin-jozefowicz
- Netty native transports rebased (#2094) @marcin-jozefowicz
Dependency updates
- Update scalafmt-core to 3.5.3 (#2127) @scala-steward
- Update scalajs-dom to 2.2.0 (#2125) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.22 (#2126) @scala-steward
- Update refined to 0.9.29 (#2121) @scala-steward
- Update opentelemetry-api, ... to 1.14.0 (#2120) @scala-steward
- Update opentelemetry-sdk-metrics to 1.14.0 (#2119) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.21 (#2117) @scala-steward
v1.0.0-M9
Whatβs Changed
- Support flag query parameters (#2113) @adamw
- Fix OpenAPI Callback circe encoder (#2098) @seglo
- Change the schema of BigDecimal to number and BigInteger to integer (#2111) @adamw
- Add a validateEach annotation (#2109) @adamw
- Improve validators by introducing a dedicated ValidationResult type and simplifying ValidationError (#2108) @adamw
- Support scala native (#2104) @adamw
- move JAVA_OPTS to .sbtopts (#2100) @jtjeferreira
- remove usages of ExecutionContext.Implicits.global (#2088) @jtjeferreira
- Add the discriminator as a field when using oneOfUsingField (#2093) @adamw
- [play-server] handle playBodyParsers parsing errors (#2084) @jtjeferreira
- Add Codec.tupledWithRaw and jsonBodyWithRaw body descriptions (#2087) @adamw
- Support handling multiple Authorization headers (#2083) @marcin-jozefowicz
Dependency updates
- Update netty-all to 4.1.77.Final (#2112) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.19 (#2101) @scala-steward
- Update scalafmt-core to 3.5.2 (#2096) @scala-steward
- Update upickle to 2.0.0 (#2097) @scala-steward
- Update model:core to 1.4.26 (#2089) @scala-steward
- Update shared:akka, shared:armeria, ... to 1.3.5 (#2090) @scala-steward
- Update sbt-scalajs, scalajs-compiler, ... to 1.10.0 (#2022) @scala-steward
v1.0.0-M8
Whatβs Changed
- Upgrade to zio 2.0.0-RC5, zio http to 2.0.0-RC7 (#2043) @gavares
- Move testing package to a separate module, make internal definitions in core private (#2081) @adamw
- Validator: convert to patterns (#2082) @benzwreck
- Support for defining optional bearerFormat. (#2075) @marcin-jozefowicz
- docs: βοΈ Document how to hide input/output from OpenAPI (#2076) @gaeljw
- Allow using streaming bodies in oneOf (#2074) @adamw
- Find shadowed inputs (#1943) @felix-lipski
- Doc: add limitation of fetch (#2073) @ex0ns
- Properly parse vertx query parameters (#2071) @adamw
Dependency updates
- Update jsoniter-scala-core, ... to 2.13.18 (#2080) @scala-steward
- Update scalatest to 3.2.12 (#2079) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.17 (#2077) @scala-steward
- Update zhttp to 1.0.0.0-RC27 (#2009) @scala-steward
- Update finatra-http-server, inject-app, ... to 22.4.0 (#2070) @scala-steward
- Update finatra-http-server, inject-app, ... to 22.3.0 (#1995) @scala-steward
- Update armeria to 1.16.0 (#2069) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.16 (#2068) @scala-steward
v1.0.0-M7
Whatβs Changed
- Add schema format for int (#2067) @marcin-jozefowicz
- Fix for Swagger oauth2-redirect.html resource. (#2063) @marcin-jozefowicz
- feat: Use relative path for SwaggerUI (#2055) @gaeljw
- Provide doc endpoint available from root. (#2058) @marcin-jozefowicz
- Added context path to RedocInterpreter (#2048) @marcin-jozefowicz
- Fix explicitly setting of content-type for play streaming responses, add test (#2044) @adamw
- Simplify the http4s interpreter by removing the extra type parameter (#2042) @adamw
- Close the server web socket when the stream ends (#2040) @adamw
- Improve naming of .customiseInterceptors and stringBodyAnyFormat (#2030) @adamw
- Generate "default" and "example" values in OpenAPI for nested optional fields (#2026) @rucek
Dependency updates
- Update scala3-library, ... to 3.1.2 (#2052) @scala-steward
- Update zio-json to 0.2.0-M4 (#2047) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.15 (#2066) @scala-steward
- Update scalafmt-core to 3.5.1 (#2064) @scala-steward
- Update vertx-web to 4.2.7 (#2060) @scala-steward
- Update zio, zio-streams, zio-test, ... to 1.0.14 (#2054) @scala-steward
- Update netty-all to 4.1.76.Final (#2053) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.13 (#2051) @scala-steward
- Update opentelemetry-api, ... to 1.13.0 (#2031) @scala-steward
- Update aws-lambda-java-runtime-interface-client to 2.1.1 (#2045) @scala-steward
- Update upickle to 1.6.0 (#2046) @scala-steward
- Update json4s-core, json4s-jackson to 4.0.5 (#2024) @scala-steward
- Update scalafmt-core to 3.5.0 (#2015) @scala-steward
- Update scalacheck to 1.16.0 (#2029) @scala-steward
- Update sbt-mima-plugin to 1.1.0 (#2028) @scala-steward
- Update cats-effect to 3.3.11 (#2025) @scala-steward
- Update swagger-ui to 4.10.3 (#2023) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.12 (#2021) @scala-steward
- Update cats-effect to 3.3.10 (#2019) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.11 (#2012) @scala-steward
v1.0.0-M6
Whatβs Changed
- Minor interceptor improvements (#2008) @adamw
- make reject handler effectful (#2007) @danielleontiev
- Make exception handler effectful (#2001) @danielleontiev
- Fully support optional, mandatory and mixed OpenAPI security requirements (#2002) @adamw
- Add attributes and docs extensions to schemas, security schemes (also descriptions) (#1996) @adamw
Dependency updates
- Update gatling-sbt to 4.1.5 (#2006) @scala-steward
- Update play, play-akka-http-server, ... to 2.8.15 (#2004) @scala-steward
- Update fs2-reactive-streams to 3.2.7 (#1997) @scala-steward
- Update fs2-reactive-streams to 3.2.6 (#1994) @scala-steward
v1.0.0-M5
Whatβs Changed
- Allow filtering of endpoints in RequestInterceptor, add attributes to ServerRequest (#1993) @adamw
- Add more metadata to interceptors (#1990) @adamw
- [BUG] oneOfUsingField fails for case object enums that inherit enumeratum EnumEntry reproducer (#1976) @seglo
- Fix derived enumeration schema validators (#1989) @kubinio123
- Update swagger-ui to 4.9.1 (#1986) @danielleontiev
- Add prepend/append interceptor method to CustomInterceptors (#1971) @adamw
Dependency updates
- Update mdoc, sbt-mdoc to 2.3.2 (#1988) @scala-steward
- Update gatling-sbt to 4.1.4 (#1969) @scala-steward
- Update jsoniter-scala-core, ... to 2.13.8 (#1977) @scala-steward
- Update play, play-akka-http-server, ... to 2.8.14 (#1983) @scala-steward
- Update armeria to 1.15.0 (#1982) @scala-steward
- Update cats-effect to 3.3.9 (#1979) @scala-steward
- Update akka-slf4j, akka-stream to 2.6.19 (#1961) @scala-steward
- Update swagger-ui to 4.8.1 (#1974) @scala-steward
v1.0.0-M4
Whatβs Changed
- Fix oneOfSchema generation using an enum extractor (#1970) @adamw
- Use proper subtype values when creating coproduct schemas using oneOfUsingField (#1968) @adamw
- 1919 Add hidden flag for API parameters (second try) (#1937) @slavaschmidt
Dependency updates
- Update scala-collection-compat to 2.7.0 (#1966) @scala-steward
- Update swagger-ui to 4.8.0 (#1967) @scala-steward
- Update magnolia to 1.1.2 (#1965) @scala-steward
- Update tagging to 2.3.3 (#1963) @scala-steward