New
0.23.0
Breaking changes
- Drop Scala 2.12 support https://github.com/agourlay/cornichon/commit/e71e152fa811e8dd744ae13498d7ab09deb653f0
- Use
Shortinstead ofIntfor status code everywhere (it should be rather transparent for literal call sites) https://github.com/agourlay/cornichon/commit/2e583efd513181bb736ad9530458f04c9d08fe62
Improvements
- Reinstate URL cache to avoid expensive parsing https://github.com/agourlay/cornichon/commit/93187dc6ab86d2bf963403bb70b1c9f85751233c
- Optimize code generated by DSL Scala 2.x macro https://github.com/agourlay/cornichon/commit/e05ff6a5829f0d083a6da5e604974b1a48f3800e
- Optimize
runStepsShortCircuitingto not build a large IO before running it https://github.com/agourlay/cornichon/commit/eb7eab3a865f71df5587ec5f4dc62fb8adb26790 - Various minor performance optimizations (https://github.com/agourlay/cornichon/commit/3c0e717de5dc0818fee8b7078ad59687e761df6f, https://github.com/agourlay/cornichon/commit/c466f62a277a9f29c97c18202726c2a1b97fb38e, https://github.com/agourlay/cornichon/commit/5e9c603ba6ac6c48c6f8d28720ea158173f28a7d)
Dependency updates
- Update cats-effect to 3.6.3 by @scala-steward in https://github.com/agourlay/cornichon/pull/930
- Update fansi to 0.5.1 by @scala-steward in https://github.com/agourlay/cornichon/pull/931
- Update sbt, scripted-plugin to 1.11.4 by @scala-steward in https://github.com/agourlay/cornichon/pull/932
- Update sangria to 4.2.11 by @scala-steward in https://github.com/agourlay/cornichon/pull/934
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/agourlay/cornichon/pull/935
- Bump actions/setup-java from 4 to 5 by @dependabot[bot] in https://github.com/agourlay/cornichon/pull/936
- Update sbt-unidoc to 0.6.0 by @scala-steward in https://github.com/agourlay/cornichon/pull/937
- Update sbt, scripted-plugin to 1.11.5 by @scala-steward in https://github.com/agourlay/cornichon/pull/938
- Update fs2-core, fs2-io to 3.12.2 by @scala-steward in https://github.com/agourlay/cornichon/pull/940
- Update scalacheck to 1.19.0 by @scala-steward in https://github.com/agourlay/cornichon/pull/942
- Update sbt, scripted-plugin to 1.11.6 by @scala-steward in https://github.com/agourlay/cornichon/pull/941
- Update pureconfig, pureconfig-core, ... to 0.17.9 by @scala-steward in https://github.com/agourlay/cornichon/pull/943
- Update kafka, kafka-clients to 4.1.0 by @scala-steward in https://github.com/agourlay/cornichon/pull/945
- Update embedded-kafka to 4.1.0 by @scala-steward in https://github.com/agourlay/cornichon/pull/944
- Update munit to 1.1.2 by @scala-steward in https://github.com/agourlay/cornichon/pull/946
- Update munit to 1.2.0 by @scala-steward in https://github.com/agourlay/cornichon/pull/947
- Update http4s-circe, http4s-dsl, ... to 0.23.31 by @scala-steward in https://github.com/agourlay/cornichon/pull/948
- Update http4s-circe, http4s-dsl, ... to 0.23.32 by @scala-steward in https://github.com/agourlay/cornichon/pull/949
- Update diffson-circe to 4.6.1 by @scala-steward in https://github.com/agourlay/cornichon/pull/950
- Update sbt-jmh to 0.4.8 by @scala-steward in https://github.com/agourlay/cornichon/pull/951
- Update circe-core, circe-generic, ... to 0.14.15 by @scala-steward in https://github.com/agourlay/cornichon/pull/952
- Update sbt, scripted-plugin to 1.11.7 by @scala-steward in https://github.com/agourlay/cornichon/pull/953
- Update scala-collection-compat to 2.14.0 by @scala-steward in https://github.com/agourlay/cornichon/pull/954
- Update sangria to 4.2.12 by @scala-steward in https://github.com/agourlay/cornichon/pull/955
- Update munit to 1.2.1 by @scala-steward in https://github.com/agourlay/cornichon/pull/956
- Update scala3-compiler, scala3-library, ... to 3.3.7 by @scala-steward in https://github.com/agourlay/cornichon/pull/957
- Update sangria to 4.2.14 by @scala-steward in https://github.com/agourlay/cornichon/pull/958
- Update sangria to 4.2.15 by @scala-steward in https://github.com/agourlay/cornichon/pull/959
- Update caffeine to 3.2.3 by @scala-steward in https://github.com/agourlay/cornichon/pull/961
- Update http4s-circe, http4s-dsl, ... to 0.23.33 by @scala-steward in https://github.com/agourlay/cornichon/pull/962
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in https://github.com/agourlay/cornichon/pull/964
- Update scala-library, scala-reflect to 2.13.18 by @scala-steward in https://github.com/agourlay/cornichon/pull/965
Full Changelog: https://github.com/agourlay/cornichon/compare/v0.22.1...v0.23.0