Releases: softwaremill/tapir
Releases · softwaremill/tapir
v1.11.0
Breaking changes
When rendering OpenAPI specifications, there are two changes which might impact the resulting YAML/JSON:
- tuples are by default rendered as arrays (#3954, #3941)
- discriminator fields on the child schemas have a
const
constraint (#3955)
What’s Changed
- Update scalafmt-core to 3.8.3 (#3956) @softwaremill-ci
- codegen: permit parent properties in one of children (#3958) @hughsimpson
- Add an encoded discriminator value attribute for coproducts, use it to render const constraints (#3955) @adamw
- codegen: ensure schemas are distinct when splitting across ranges (#3957) @hughsimpson
- Properly derive schemas for tuples (#3954) @adamw
- ProductAsArray attribute added, alternative rendering of SProduct (#3941) @zorba128
Dependency updates
- Update armeria to 1.29.3 (#3960) @softwaremill-ci
- Update sttp-mock-server, ... to 1.10.15 (#3950) @softwaremill-ci
- Update play, play-akka-http-server, ... to 2.9.5 (#3952) @softwaremill-ci
- Update play, play-pekko-http-server, ... to 3.0.5 (#3953) @softwaremill-ci
v1.10.15
What’s Changed
- Generate exact zio patterns for endpoints, taking into account lack of zio's support for no-trailing-slashes (#3949) @adamw
- Move
validatorForDescribed*
to LowPriority trait to prevent ambigious implicits under Scala 3.6+ (#3938) @WojciechMazur - Add contextSecurityIn for http4s endpoints (#3939) @LaurenceWarne
- test(testing): add test to detect duplicate endpoint names (#3908) @ThijsBroersen
Dependency updates
- Update netty-all to 4.1.112.Final (#3946) @softwaremill-ci
- Update vertx-codegen, vertx-web to 4.5.9 (#3937) @softwaremill-ci
- Update sttp-mock-server, ... to 1.10.14 (#3943) @softwaremill-ci
v1.10.14
What’s Changed
- Async api example rendering bugfix (#3936) @zorba128
- Fix shutdowns in test servers (#3930) @kciesielski
- Fix releasing resources in TestServerInterpreter (#3921) @kciesielski
- Update sttp-mock-server, ... to 1.10.13 (#3925) @softwaremill-ci
Dependency updates
- Update jsoniter-scala-core, ... to 2.30.7 (#3931) @softwaremill-ci
- Update Ox to 0.3.1 (#3929) @kciesielski
- Update play-ahc-ws-standalone to 2.2.9 (#3918) @softwaremill-ci
- Update armeria to 1.29.2 (#3924) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.30.6 (#3927) @softwaremill-ci
- Update play-ahc-ws-standalone to 3.0.5 (#3919) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.1.6 (#3926) @softwaremill-ci
v1.10.13
What’s Changed
- Examples using scala cli (#3917) @adamw
- Update enumeratum, enumeratum-circe to 1.7.4 (#3910) @softwaremill-ci
- Update sbt, sbt-dependency-tree to 1.10.1 (#3912) @softwaremill-ci
- Fix extractFromRequest in zio http endpoints (#3913) @adamw
- Update jsoniter-scala-core, ... to 2.30.4 (#3911) @softwaremill-ci
- Use Scala 3 in the IDE, for examples & documentation (#3903) @adamw
Dependency updates
- Update sbt-mdoc to 2.5.4 (#3920) @softwaremill-ci
- Update opentelemetry-api, ... to 1.40.0 (#3906) @softwaremill-ci
- Update jackson-module-scala to 2.17.2 (#3905) @softwaremill-ci
v1.10.12
v1.10.11
What’s Changed
- Enable nativePlatform for jsoniter (#3897) @kciesielski
- Update jsoniter-scala-core, ... to 2.30.3 (#3896) @softwaremill-ci
- Run ZIO HTTP middlewares only once (#3856) @adamw
- Restore Native support for core and a few other modules (#3894) @kciesielski
- codegen: Support enums in paths (#3889) @hughsimpson
- Update circe-core, circe-generic, ... to 0.14.9 (#3892) @softwaremill-ci
- codegen: Improve enum support (#3861) @hughsimpson
- codegen: add openapiAdditionalPackages arg to sbt plugin (#3866) @hughsimpson
- Update Helidon version from 4.0.0 to 4.0.10 (#3875) @hohonuuli
- Update pekko-discovery, pekko-slf4j, ... to 1.0.3 (#3873) @softwaremill-ci
- Update scalatest to 3.2.19 (#3870) @softwaremill-ci
Dependency updates
- Update gatling-test-framework to 3.11.5 (#3887) @softwaremill-ci
- Update aws-lambda-java-runtime-interface-client to 2.5.1 (#3891) @softwaremill-ci
- Update gatling-sbt to 4.9.2 (#3893) @softwaremill-ci
- Update gatling-charts-highcharts to 3.11.5 (#3888) @softwaremill-ci
- Update zio-json to 0.7.1 (#3881) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.1.5 (#3885) @softwaremill-ci
- Update armeria to 1.29.1 (#3884) @softwaremill-ci
- Update sbt-twirl to 2.0.7 (#3883) @softwaremill-ci
- Update play-ahc-ws-standalone to 2.2.8 (#3880) @softwaremill-ci
- Update tethys-core, tethys-derivation, ... to 0.28.4 (#3879) @softwaremill-ci
- Update play-ahc-ws-standalone to 3.0.4 (#3882) @softwaremill-ci
- Update circe-yaml to 0.15.2 (#3872) @softwaremill-ci
- Update sbt-scala-native to 0.5.4 (#3874) @softwaremill-ci
- Update iron to 2.6.0 (#3869) @softwaremill-ci
- Update scalacheck-1-18 to 3.2.19.0 (#3871) @softwaremill-ci
- Update gatling-test-framework to 3.11.4 (#3867) @softwaremill-ci
- Update gatling-charts-highcharts to 3.11.4 (#3868) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.1.4 (#3864) @softwaremill-ci
v1.10.10
What’s Changed
- Fix schema name resolution for Map (Scala 2) (#3865) @kciesielski
- Fixes in iron: union, intersection, Not[Empty] and other cases (#3858) @kciesielski
- Better error message for jsoniter (#3860) @kciesielski
- codegen: serialize default values with jsoniter (#3857) @DrGreggles
- codgegen: Optional query parameters (#3855) @DrGreggles
- Error handling tutorial (#3850) @adamw
- Improve name generation for Schemas of Eithers with parameterized types (#3848) @kciesielski
- Update scalafmt-core to 3.8.2 (#3849) @softwaremill-ci
- feat: implement Scala 3 Constant and Union support for string-based literals as enums (#3846) @ThijsBroersen
Dependency updates
- Update zio, zio-streams, zio-test, ... to 2.1.3 (#3841) @softwaremill-ci
- Update jawn-parser to 1.6.0 (#3806) @softwaremill-ci
- Update opentelemetry-api, ... to 1.39.0 (#3832) @softwaremill-ci
- Update play, play-json, play-netty-server, ... to 3.0.4 (#3853) @softwaremill-ci
- Update mdoc, sbt-mdoc to 2.5.3 (#3863) @softwaremill-ci
- Update classgraph to 4.8.174 (#3859) @softwaremill-ci
- Update sbt-twirl to 2.0.6 (#3854) @softwaremill-ci
- Update play, play-akka-http-server, ... to 2.9.4 (#3851) @softwaremill-ci
v1.10.9
What’s Changed
- Fix some occasionally failing tests (#3847) @kciesielski
- Add Endpoint serverLogicSuccessPure and serverLogicErrorPure (#3837) @geirolz
- Iron: Support MinLength, MaxLength, Not[Empty] for Iterables (#3843) @kciesielski
- Refined: Treat fields with NonEmpty or MinSize(>0) as required (#3839) @kciesielski
- Play: Optimize usages of
route
(#3842) @kciesielski - Improve PlayServerInterpreter.toRoutes (#3838) @dmtran-g
- Fix handling of WS Close frame in Netty backends (#3826) @kciesielski
- Fix hidden schema visible in OpenAPI generated yml (#3820) @micossow
- Netty servers: handle requestTimeout properly, add idleTimeout (#3815) @kciesielski
- Update jsoniter-scala-core, ... to 2.30.1 (#3814) @softwaremill-ci
- Iron: add validator for Pure constraint (#3818) @shubbush
- Pickler: add transientNone for optional fields (#3816) @kciesielski
- Update tethys version and add scala 3 support for tethys-json module. (#3819) @Grryum
- Tapir tutorials: basics, docs, json (#3797) @adamw
- Fix WebSocket frame concatenation for Netty (#3801) @kciesielski
- Update jsoniter-scala-core, ... to 2.29.0 (#3798) @softwaremill-ci
- Update cats-core, cats-laws to 2.12.0 (#3799) @softwaremill-ci
- Don't include a 'invalid value for: body' response for a simple stringBody (#3796) @adamw
- Fixes for iron derivation for GreaterEqual, LessEqual, In (#3790) @kciesielski
Dependency updates
- Update scala-java-time, ... to 2.6.0 (#3831) @softwaremill-ci
- Update armeria to 1.29.0 (#3840) @softwaremill-ci
- Update netty-all to 4.1.111.Final (#3836) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.1.2 (#3822) @softwaremill-ci
- Update sbt-scala-native to 0.5.3 (#3824) @softwaremill-ci
- Update classgraph to 4.8.173 (#3823) @softwaremill-ci
- Update java-dogstatsd-client to 4.4.2 (#3821) @softwaremill-ci
- Update zio-prelude to 1.0.0-RC27 (#3811) @softwaremill-ci
- Update sbt-scala-native to 0.5.2 (#3805) @softwaremill-ci
- Update java-dogstatsd-client to 4.4.1 (#3809) @softwaremill-ci
- Update swagger-ui to 5.17.14 (#3810) @softwaremill-ci
- Update zio-json to 0.7.0 (#3817) @softwaremill-ci
- Update refined to 0.11.2 (#3813) @softwaremill-ci
- Update zio-http to 3.0.0-RC8 (#3804) @softwaremill-ci
- Update swagger-ui to 5.17.11 (#3783) @softwaremill-ci
- Update shared:akka, shared:armeria, ... to 1.3.19 (#3792) @softwaremill-ci
v1.10.8
What’s Changed
- Move Id alias to core. Add serverLogicSync & other variants to Endpoint. (#3789) @adamw
- remove validation on body for NoContent/NotModified (#3785) @ShahOdin
- chore: Upgrade zio-http to version 3.0.0-RC7 (#3784) @jakubjanecek
- Optimize byte array operations in Http4sRequestBody (#3772) @kciesielski
- Update doc/flake.nix (#3766) @kciesielski
- Updated conversion from CodecWithInfo into asyncapi.Message. (#3757) @kamilkloch
Dependency updates
- Update model:core to 1.7.11 (#3791) @softwaremill-ci
- Update vertx-web to 4.5.8 (#3787) @softwaremill-ci
- Update upickle to 3.3.1 (#3773) @softwaremill-ci
- Update discipline-scalatest to 2.3.0 (#3788) @softwaremill-ci
- Update java-dogstatsd-client to 4.4.0 (#3786) @softwaremill-ci
- Update prometheus-metrics-core, ... to 1.3.1 (#3782) @softwaremill-ci
- Update magnolia to 1.3.7 (#3781) @softwaremill-ci
- Update magnolia to 1.1.10 (#3780) @softwaremill-ci
- Update netty-all to 4.1.110.Final (#3779) @softwaremill-ci
- Update gatling-test-framework to 3.11.3 (#3777) @softwaremill-ci
- Update gatling-charts-highcharts to 3.11.3 (#3778) @softwaremill-ci
- Update client3:async-http-client-backend-cats, ... to 3.9.7 (#3775) @softwaremill-ci
- Update prometheus-metrics-core, ... to 1.3.0 (#3769) @softwaremill-ci
- Update zio-prelude to 1.0.0-RC26 (#3762) @softwaremill-ci
- Update zio, zio-streams, zio-test, ... to 2.1.1 (#3761) @softwaremill-ci
- Update opentelemetry-api, ... to 1.38.0 (#3760) @softwaremill-ci
v1.10.7
What’s Changed
- Separate creation & usage of OxDispatcher (#3759) @adamw
- add zio-json support to openapi-codegen (#3728) @oker1
- [bugfix] Ensure cancelation of WS pipeline forks (#3755) @kciesielski
- Pin scala3-library_sjs1 to 3.3.x for Scala Steward (#3752) @kciesielski
- Rework Gatling tests (#3746) @kciesielski
- Update sbt, sbt-dependency-tree to 1.10.0 (#3745) @softwaremill-ci
- Update circe-core, circe-generic, ... to 0.14.7 (#3730) @softwaremill-ci
- Update jsoniter-scala-core, ... to 2.28.5 (#3738) @softwaremill-ci
- Update scala-library, scala-reflect to 2.13.14 (#3736) @softwaremill-ci
Dependency updates
- Update play, play-akka-http-server, ... to 2.9.3 (#3748) @softwaremill-ci
- Update zio-prelude to 1.0.0-RC25 (#3749) @softwaremill-ci
- Update scala3-library_sjs1 to 3.4.1 (#3751) @softwaremill-ci
- Update play, play-netty-server, ... to 3.0.3 (#3750) @softwaremill-ci
- Update armeria to 1.28.4 (#3731) @softwaremill-ci
- Update jackson-module-scala to 2.17.1 (#3741) @softwaremill-ci
- Update client3:akka-http-backend, ... to 3.9.6 (#3732) @softwaremill-ci
- Update jwt-circe to 10.0.1 (#3744) @softwaremill-ci
- Update play-ahc-ws-standalone to 3.0.3 (#3743) @softwaremill-ci
- Update play-ahc-ws-standalone to 2.2.7 (#3742) @softwaremill-ci
- Update http4s-circe, http4s-core, ... to 0.23.27 (#3740) @softwaremill-ci
- Update finatra-http-server, inject-app, ... to 24.2.0 (#3739) @softwaremill-ci
- Update play-json to 3.0.3 (#3735) @softwaremill-ci
- Update armeria to 1.28.3 (#3729) @softwaremill-ci