Releases: softwaremill/tapir
Releases · softwaremill/tapir
v1.0.3
What’s Changed
- Ignore trailing slash in stub request (#2334) @vasiliybondarenko
- Update import statement for Enumeratum documentation (#2326) @hindog
- Return a custom-formatted 404 when notFoundWhenRejected is used (#2322) @adamw
Dependency updates
- Update client3:akka-http-backend, ... to 3.7.2 (#2337) @softwaremill-ci
- Update fs2-reactive-streams to 3.2.11 (#2330) @softwaremill-ci
- Update http4s-circe, http4s-core, ... to 0.23.14 (#2332) @softwaremill-ci
- Update mdoc, sbt-mdoc to 2.3.3 (#2333) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.38 (#2331) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.37 (#2328) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.7.1 (#2325) @softwaremill-ci
v1.0.2
What’s Changed
- Porting to ZIO 2.0.0 (#2263) @softwaremill-ci
- Add datadog metrics (#2276) @trackiss
- Upgrade Armeria version to 1.17.0 (#2300) @ikhoon
- Fix #2281: play server will read text data in multipart requests (#2291) @vdebergue
- Set the "phase" label on exception in default Prometheus duration metric (#2301) @kierendavies
- Add SNUnit to other_interpreters.md (#2304) @lolgab
- use
and
instead of&
(#2277) @mberndt123
Dependency updates
- Update http4s-circe, http4s-core, ... to 0.23.13 (#2265) @softwaremill-ci
- Update gatling-test-framework to 3.8.2 (#2307) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 1.0.16 (#2321) @softwaremill-ci
- Update model:core to 1.5.0 (#2319) @softwaremill-ci
- Update opentelemetry-api, ... to 1.16.0 (#2315) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.36 (#2310) @softwaremill-ci
- Update cats-effect to 3.3.14 (#2312) @softwaremill-ci
- Update sbt to 1.7.1 (#2311) @softwaremill-ci
- Update netty-all to 4.1.79.Final (#2309) @softwaremill-ci
- Update gatling-sbt to 4.2.1 (#2306) @softwaremill-ci
- Update armeria to 1.17.1 (#2305) @softwaremill-ci
- Update gatling-charts-highcharts to 3.8.2 (#2308) @softwaremill-ci
- Update sbt to 1.7.0 (#2303) @softwaremill-ci
- Update sbt-scala-native to 0.4.5 (#2273) @softwaremill-ci
- Update gatling-charts-highcharts to 3.8.1 (#2298) @softwaremill-ci
- Update fs2-reactive-streams to 3.2.10 (#2296) @softwaremill-ci
- Update scala-collection-compat to 2.8.0 (#2299) @softwaremill-ci
- Update gatling-test-framework to 3.8.1 (#2297) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.35 (#2292) @softwaremill-ci
- Update gatling-charts-highcharts to 3.8.0 (#2288) @softwaremill-ci
- Update discipline-scalatest to 2.2.0 (#2290) @softwaremill-ci
- Update vertx-web to 4.3.2 (#2289) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.34 (#2283) @softwaremill-ci
- Update gatling-test-framework to 3.8.0 (#2287) @softwaremill-ci
- Update refined to 0.10.1 (#2285) @softwaremill-ci
- Update jawn-parser to 1.4.0 (#2280) @softwaremill-ci
- Update fs2-reactive-streams to 3.2.9 (#2278) @softwaremill-ci
- Update circe-core, circe-generic, ... to 0.14.2 (#2228) @github-actions
- Update jsoniter-scala-core, ... to 2.13.33 (#2274) @softwaremill-ci
- Update cats-effect to 3.3.13 (#2275) @softwaremill-ci
- Update refined to 0.10.0 (#2272) @softwaremill-ci
- Update model:core to 1.4.27 (#2267) @softwaremill-ci
- Update sbt-scalajs, scalajs-compiler, ... to 1.10.1 (#2266) @softwaremill-ci
- Update decline, decline-effect to 2.3.0 (#2262) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.32 (#2260) @softwaremill-ci
v1.0.1
What’s Changed
- Support examples for byte buffer bodies (#2257) @adamw
- The derivedEnumeration macro should reference fully qualified class names (#2255) @adamw
- enable upgrade of sbt (#2251) @mkrzemien
- Minor typo fix (#2249) @WNC-Travis
- Update http4s.md to fix dead link (#2246) @felix-hedenstrom
Dependency updates
- Update scala3-library, ... to 3.1.3 (#2258) @softwaremill-ci
- Update cats-core, cats-laws to 2.8.0 (#2250) @softwaremill-ci
- Update simpleclient_common to 0.16.0 (#2248) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.31 (#2247) @softwaremill-ci
- Update netty-all to 4.1.78.Final (#2245) @adamw
v1.0.0
After almost 4 years of development and multiple 0.x releases, we are happy to announce the release of tapir 1.0!
First of all, we'd like to thank the tapir community. Your feedback, either in the form of questions, issues or pull requests has been very valuable in shaping tapir 1.0.
You can read the full release announcement on our blog. If you're migrating from an earlier version, the migrations page might be helpful.
We hope you'll enjoy using tapir 1.0 and we're looking forward to further developing the library with your help! :)
What’s Changed
- Make custom error handling more accessible. (#2219) @fmeriaux
- fix mergify configuration (#2234) @mkrzemien
- enable scala-steward manual trigger (#2223) @mkrzemien
- add scala-steward workflow (#2218) @mkrzemien
- Properly handle a failed fiber in vertx-zio, improve error messages (#2222) @adamw
- Fix one-of variants when a variant has no body (#2221) @adamw
- Fix sentence in security.md (#2199) @rwiskerke
- SttpMockServerClient drops null values (#2175) @mkrzemien
- Refined scala 3 support (#2181) @mprevel
Dependency updates
- Update play, play-akka-http-server, ... to 2.8.16 (#2226) @github-actions
- Update fs2-reactive-streams to 3.2.8 (#2224) @github-actions
- Update opentelemetry-api, ... to 1.15.0 (#2230) @github-actions
- Update scala-library, scala-reflect to 2.12.16 (#2231) @github-actions
- Update zio, zio-streams, zio-test, ... to 1.0.15 (#2227) @github-actions
- Update scala-java-time, ... to 2.4.0 (#2229) @github-actions
- Update scalafmt-core to 3.5.8 (#2232) @github-actions
- Update jsoniter-scala-core, ... to 2.13.30 (#2225) @github-actions
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