Releases: softwaremill/tapir
Releases Β· softwaremill/tapir
v1.2.1
Whatβs Changed
- ZIO2 core metrics interceptor/collector (#2559) @ianlintner
- avoid special characters in SAM logical ids (#2556) @massimosiani
Dependency updates
- Update sbt-scala-native to 0.4.8 (#2558) @softwaremill-ci
- Update armeria to 1.20.2 (#2553) @softwaremill-ci
- Update scala3-library, ... to 3.2.1 (#2554) @softwaremill-ci
v1.2.0
Release notes
- improved, more consistent enumeration support: both Scala's
Enumeration
, and sealed trait object-only / scala3 parameterlessenum
s - 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 fromNone
toSome(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
andEndpointTransput.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 withexploded
parameter support in OpenAPI
Whatβs Changed
- Schema modification docs, more flexible enumeration validators (#2530) @adamw
- 2504 support for file ranges in the netty based backend (#2507) @rafalambrozewicz
- Minor corrections to documentation (#2543) @dubinsky
Dependency updates
- Update jsoniter-scala-core, ... to 2.17.9 (#2549) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.17.8 (#2547) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.17.7 (#2544) @softwaremill-ci
- Update scalafmt-core to 3.6.1 (#2538) @softwaremill-ci
v1.1.4
Whatβs Changed
- Properly release netty requests (#2536) @adamw
- Add a default log to the zio http interpreter (#2531) @adamw
- Add support for other scalar types and products in protobuf module (#2523) @mbore
- feat(integrations): add ZIO Prelude Newtype support (#2508) @MichalPawlicki
- Scala Native support for sttpClient with tests (#2519) @fede0664
- Fix the link to the example in grpc docs (#2517) @mbore
Dependency updates
- Update jsoniter-scala-core, ... to 2.17.6 (#2529) @softwaremill-ci
- Update scalafmt-core to 3.6.0 (#2515) @softwaremill-ci
v1.1.3
Whatβs Changed
- Scala Native support for http4sServer (#2498) @fede0664
- In ServerOptions, always return a DefaultServerLog instead of ServerLog (#2511) @adamw
- 2499 Use
sttp-apispec
0.3.1 in tapir (#2500) @rafalambrozewicz - fix: adjust adopt-tapir iframe's height (#2503) @marekhuckmann
- Add support for gRPC endpoints (#2345) @mbore
- Add Scala Native to cats module (#2486) @lolgab
- feat: add 'allow-popups' permission to adopt-tapir iframe (#2482) @geminicaprograms
- zio-http-server: Avoid buffering ZStream request body into memory (#2479) @fl-knix
- Fixed links in the note section on the "Working with XML" documentation page (#2477) @rafalambrozewicz
Dependency updates
- Update client3:akka-http-backend, ... to 3.8.3 (#2512) @softwaremill-ci
- Update play, play-akka-http-server, ... to 2.8.18 (#2513) @softwaremill-ci
- Update logback-classic to 1.4.4 (#2491) @softwaremill-ci
- Update tagging to 2.3.4 (#2509) @softwaremill-ci
- Update scala-library, scala-reflect to 2.13.10 (#2505) @softwaremill-ci
- Update swagger-ui to 4.14.3 (#2502) @softwaremill-ci
- Update armeria to 1.20.1 (#2495) @softwaremill-ci
- Update shared:akka, shared:armeria, ... to 1.3.10 (#2492) @softwaremill-ci
- Update opentelemetry-api, ... to 1.19.0 (#2490) @softwaremill-ci
- Update java-dogstatsd-client to 4.1.0 (#2489) @softwaremill-ci
- Update play, play-akka-http-server, ... to 2.8.17 (#2488) @softwaremill-ci
- Update mdoc, sbt-mdoc to 2.3.6 (#2484) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.17.5 (#2483) @softwaremill-ci
- Update sbt, sbt-dependency-tree to 1.7.2 (#2480) @softwaremill-ci
- Update logback-classic to 1.4.3 (#2475) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.8.2 (#2472) @softwaremill-ci
- Update shared:akka, shared:armeria, ... to 1.3.9 (#2473) @softwaremill-ci
- Update vertx-web to 4.3.4 (#2474) @softwaremill-ci
v1.1.2
Whatβs Changed
- Allow multiple origins in CORSConfig (#2465) @vladimirkl
- Add Scala Native to Json Circe module (#2464) @lolgab
- chore: adjust iFrame height to the revamped adopt-tapir UI (#2463) @geminicaprograms
- 2454 Add documentation on how to work with xml (#2456) @rafalambrozewicz
- Improve default validation error messages (#2459) @adamw
- Support for plain JSON bodies from raw Strings (#2294) @aartigao
Dependency updates
- Update swagger-ui to 4.14.2 (#2471) @softwaremill-ci
- Update scalacheck-1-16 to 3.2.14.0 (#2467) @softwaremill-ci
- Update json4s-core, json4s-jackson to 4.0.6 (#2470) @softwaremill-ci
- Update scalatest to 3.2.14 (#2466) @softwaremill-ci
- Update mdoc, sbt-mdoc to 2.3.5 (#2462) @softwaremill-ci
- Update decline, decline-effect to 2.3.1 (#2460) @softwaremill-ci
- Update mdoc, sbt-mdoc to 2.3.4 (#2458) @softwaremill-ci
v1.1.1
Whatβs Changed
- Aws sam resources (#2437) @massimosiani
- Add errorOutVariantPrepend (#2438) @adamw
- fix: increase the adopt-tapir iframe's height (#2419) @geminicaprograms
- added description field to example class (#2398) @Lazu13
Dependency updates
- Update jsoniter-scala-core, ... to 2.17.4 (#2442) @softwaremill-ci
- Update circe-core, circe-generic, ... to 0.14.3 (#2441) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 1.0.17 (#2453) @softwaremill-ci
- Update scala-library, scala-reflect to 2.12.17 (#2446) @softwaremill-ci
- Update sbt-scalajs, scalajs-compiler, ... to 1.11.0 (#2445) @softwaremill-ci
- Update http4s-circe, http4s-core, ... to 0.23.16 (#2444) @softwaremill-ci
- Update sbt-mima-plugin to 1.1.1 (#2443) @softwaremill-ci
- Update fs2-reactive-streams to 3.3.0 (#2439) @softwaremill-ci
- Update zio-json to 0.3.0 (#2440) @softwaremill-ci
- Update gatling-charts-highcharts to 3.8.4 (#2432) @softwaremill-ci
- Update zio-json to 0.2.0 (#2436) @softwaremill-ci
- Update logback-classic to 1.4.1 (#2435) @softwaremill-ci
- Update netty-all to 4.1.82.Final (#2433) @softwaremill-ci
- Update gatling-test-framework to 3.8.4 (#2431) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.8.0 (#2429) @softwaremill-ci
- Update gatling-sbt to 4.2.4 (#2430) @softwaremill-ci
- Update magnolia to 1.2.0 (#2428) @softwaremill-ci
- Update armeria to 1.19.0 (#2427) @softwaremill-ci
- Update model:core to 1.5.2 (#2422) @softwaremill-ci
- Update quicklens to 1.9.0 (#2425) @softwaremill-ci
- Update opentelemetry-api, ... to 1.18.0 (#2423) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.17.2 (#2421) @softwaremill-ci
- Update netty-all to 4.1.81.Final (#2420) @softwaremill-ci
- Update fs2-reactive-streams to 3.2.14 (#2418) @softwaremill-ci
v1.1.0
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
- Coproduct using a wrapped representation of child schemas (#2403) @adamw
- Publish tapir-client for Scala Native (#2411) @lolgab
- chore: fix typo in doc endpoint/integrations (#2410) @GreyPlane
- Properly specify the content-type of the docs yaml, as SwaggerUI expects it (#2399) @adamw
- #2361 add monix newtypes integration (#2382) @massimosiani
- Split CI tests by scala version & platform (#2389) @adamw
Dependency updates
- Update mockserver-netty to 5.14.0 (#2378) @softwaremill-ci
- Update logback-classic, logback-core to 1.4.0 (#2388) @softwaremill-ci
- Update shared:akka, shared:armeria, ... to 1.3.8 (#2405) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.17.1 (#2409) @softwaremill-ci
- Update akka-slf4j, akka-stream to 2.6.20 (#2417) @softwaremill-ci
- Update fs2-reactive-streams to 3.2.13 (#2415) @softwaremill-ci
- Update akka-http to 10.2.10 (#2416) @softwaremill-ci
- Update scala3-library, ... to 3.2.0 (#2414) @softwaremill-ci
- Update quicklens to 1.8.10 (#2408) @softwaremill-ci
- Update sbt-scala-native to 0.4.7 (#2406) @softwaremill-ci
- Update finatra-http-server, inject-app, ... to 22.7.0 (#2339) @softwaremill-ci
- Update quicklens to 1.8.9 (#2400) @softwaremill-ci
- Update play-json to 2.9.3 (#2395) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.0.2 (#2393) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.17.0 (#2391) @softwaremill-ci
- Update model:core to 1.5.1 (#2392) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.16.0 (#2387) @softwaremill-ci
- Update netty-all to 4.1.80.Final (#2386) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.7.6 (#2385) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.7.5 (#2384) @softwaremill-ci
v1.0.6
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
- Update http4s-circe, http4s-core, ... to 0.23.15 (#2381) @softwaremill-ci
- Update swagger-ui to 4.14.0 (#2377) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.0.1 (#2375) @softwaremill-ci
- Update zio-json to 0.3.0-RC11 (#2373) @softwaremill-ci
v1.0.5
Whatβs Changed
- Simplify the way Netty server is configured (#2372) @adamw
- Fix Validator.Any empty validators case (also fixes Validator.reject) (#2370) @DenisVerkhoturov
Dependency updates
- Update opentelemetry-api, ... to 1.17.0 (#2369) @softwaremill-ci
- Update fs2-reactive-streams to 3.2.12 (#2362) @softwaremill-ci
- Update scalafmt-core to 3.5.9 (#2368) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.7.4 (#2367) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.15.0 (#2366) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.14.2 (#2365) @softwaremill-ci
- Update vertx-web to 4.3.3 (#2364) @softwaremill-ci
- Update magnolia to 1.1.5 (#2363) @softwaremill-ci
- Update armeria to 1.18.0 (#2360) @softwaremill-ci
v1.0.4
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
- Update gatling-sbt to 4.2.3 (#2356) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.14.1 (#2355) @softwaremill-ci
- Update swagger-ui to 4.13.2 (#2353) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.14.0 (#2352) @softwaremill-ci
- Update gatling-test-framework to 3.8.3 (#2349) @softwaremill-ci
- Update armeria to 1.17.2 (#2347) @softwaremill-ci
- Update gatling-charts-highcharts to 3.8.3 (#2350) @softwaremill-ci
- Update gatling-sbt to 4.2.2 (#2348) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.13.39 (#2346) @softwaremill-ci
- Update scalatest to 3.2.13 (#2343) @softwaremill-ci
- Update scalacheck-1-16 to 3.2.13.0 (#2344) @softwaremill-ci
- Update scala-collection-compat to 2.8.1 (#2342) @softwaremill-ci