Releases: agourlay/cornichon
Releases · agourlay/cornichon
0.21.4
Fixes
- HEAD request never completes #822
Dependency updates
- Update fs2-core, fs2-io to 3.10.0 by @scala-steward in #841
- Update fs2-core, fs2-io to 3.10.1 by @scala-steward in #842
- Update fs2-core, fs2-io to 3.10.2 by @scala-steward in #843
- Update diffson-circe to 4.6.0 by @scala-steward in #844
- Update fansi to 0.5.0 by @scala-steward in #845
- Update scala-xml to 2.3.0 by @scala-steward in #846
- Update scalacheck to 1.17.1 by @scala-steward in #847
- Update scalacheck to 1.18.0 by @scala-steward in #848
- Update munit to 1.0.0-M12 by @scala-steward in #849
- Update munit to 1.0.0-RC1 by @scala-steward in #850
- Update circe-core, circe-generic, ... to 0.14.7 by @scala-steward in #851
- Update scala-library, scala-reflect to 2.13.14 by @scala-steward in #853
- Update http4s-circe, http4s-dsl, ... to 0.23.27 by @scala-steward in #852
- Update sbt to 1.10.0 by @scala-steward in #854
- Update munit to 1.0.0 by @scala-steward in #855
- Update cats-core to 2.12.0 by @scala-steward in #856
Full Changelog: v0.21.3...v0.21.4
0.21.3
Fixes
- Request DSL not available on HttpRequest (#837)
Dependency updates
- Update embedded-kafka to 3.7.0 by @scala-steward in #838
- Update http4s-circe, http4s-dsl, ... to 0.23.26 by @scala-steward in #839
- Update cats-effect to 3.5.4 by @scala-steward in #840
Full Changelog: v0.21.2...v0.21.3
0.21.2
Changes
- Disable Gzip by default as it is slow for small payload. It can be re-enabled with:
cornichon {
addAcceptGzipByDefault = true
}
Improvements
- Decrease global memory usage
- Optimize
Feature
object evaluation - Display feature evaluation time in logs for
cornichon-test-framework
Dependency updates
- Update sbt to 1.9.7 by @scala-steward in #810
- Update fs2-core, fs2-io to 3.9.3 by @scala-steward in #811
- Update parboiled to 2.5.1 by @scala-steward in #812
- Update sbt-microsites to 1.4.4 by @scala-steward in #813
- Update http4s-circe, http4s-dsl, ... to 0.23.24 by @scala-steward in #814
- Bump actions/setup-java from 3 to 4 by @dependabot in #815
- Update diffson-circe to 4.5.0 by @scala-steward in #816
- Update kafka-clients to 3.6.1 by @scala-steward in #817
- Update http4s-circe, http4s-dsl, ... to 0.23.25 by @scala-steward in #819
- Update sbt-release to 1.3.0 by @scala-steward in #818
- Update sbt-jmh to 0.4.7 by @scala-steward in #821
- Update sbt to 1.9.8 by @scala-steward in #820
- Update cats-effect to 3.5.3 by @scala-steward in #823
- Bump actions/cache from 3 to 4 by @dependabot in #824
- Update pureconfig to 0.17.5 by @scala-steward in #825
- Update fs2-core, fs2-io to 3.9.4 by @scala-steward in #826
- Update sbt-release to 1.4.0 by @scala-steward in #827
- Update sangria to 4.1.0 by @scala-steward in #829
- Update munit to 1.0.0-M11 by @scala-steward in #830
- Update scalatest-wordspec to 3.2.18 by @scala-steward in #831
- Update pureconfig to 0.17.6 by @scala-steward in #832
- Update sbt to 1.9.9 by @scala-steward in #833
- Update scala-library, scala-reflect to 2.12.19 by @scala-steward in #835
- Update scala-library, scala-reflect to 2.13.13 by @scala-steward in #836
Full Changelog: v0.21.1...v0.21.2
0.21.1
Improvements
- Add support for HTTP2 connection - enabled via configuration (default to false)
cornichon {
enableHttp2 = true
}
- Removing caching infrastructure 875584c
- A truckload of micro optimizations
Dependency updates
- Update sbt to 1.9.2 by @scala-steward in #786
- Update scala-xml to 2.2.0 by @scala-steward in #787
- Update http4s-circe, http4s-dsl, ... to 0.23.23 by @scala-steward in #788
- Update sbt to 1.9.3 by @scala-steward in #791
- Update fs2-core, fs2-io to 3.8.0 by @scala-steward in #792
- Update embedded-kafka to 3.5.1 by @scala-steward in #793
- Update cats-core to 2.10.0 by @scala-steward in #795
- Update sbt to 1.9.4 by @scala-steward in #796
- Update fs2-core, fs2-io to 3.9.1 by @scala-steward in #797
- Update circe-core, circe-generic, ... to 0.14.6 by @scala-steward in #798
- Bump actions/checkout from 3 to 4 by @dependabot in #799
- Update sbt-jmh to 0.4.6 by @scala-steward in #800
- Update scalatest-wordspec to 3.2.17 by @scala-steward in #801
- Update scala-library, scala-reflect to 2.13.12 by @scala-steward in #802
- Update sangria to 4.0.2 by @scala-steward in #804
- Update fs2-core, fs2-io to 3.9.2 by @scala-steward in #803
- Update sbt to 1.9.6 by @scala-steward in #805
- Update munit to 1.0.0-M10 by @scala-steward in #806
- Update cats-effect to 3.5.2 by @scala-steward in #807
- Update kafka-clients to 3.6.0 by @scala-steward in #808
Full Changelog: v0.21.0...v0.21.1
0.21.0
This release contains various types of breaking changes
Breaking changes
Eventually
has been simplified to not retain intermediary error states 9dac8cd- only the last error is shown in case of error or success
EventuallyDiscard
has been removed- the mode to detect oscillations has been removed
- it should decrease the memory pressure (see #778 for background)
CornichonJson.parseDataTableRaw
returns aList[List[(String, String)]]]
instead ofList[Map[String, String]]]
3b64300- the raw data with ordering and duplicates is preserved
- the maps can be rebuilt manually if required
Improvements
- Migrate to Http4s Ember client in #427
- it has been configured like
blaze
but it could still be the source of unexpected errors
- it has been configured like
- New resource step with explicit scopes in #785
- introduce new
Resource
type - new DSL
WithResource(resource: Resource)
- introduce new
Dependency updates
- Update http4s-circe, http4s-dsl, ... to 0.23.22 by @scala-steward in #782
- Update sbt to 1.9.1 by @scala-steward in #783
- Update cats-effect to 3.5.1 by @scala-steward in #784
Full Changelog: v0.20.8...v0.21.0
0.20.8
This is the last release for the 0.20 series #780
Improvements
- Introduce 'EventuallyDiscard' to discard inner failing states by @agourlay in #778
- Decrease allocations in Session Show by @agourlay in #770
- Update to cats-effect 3.5 ecosystem by @agourlay in #762
- Mock server returns request duration in header 535f2a1
- Various performance improvements (83e742a, 014bcd2, 4b99550, 57003d4)
Dependency updates
- Update sbt-microsites to 1.4.3 by @scala-steward in #756
- Update caffeine to 3.1.6 by @scala-steward in #757
- Update pureconfig to 0.17.3 by @scala-steward in #758
- Update cats-effect to 3.4.9 by @scala-steward in #759
- Update cats-effect to 3.4.10 by @scala-steward in #761
- Update http4s-blaze-client to 0.23.15 by @scala-steward in #764
- Update scalatest-wordspec to 3.2.16 by @scala-steward in #767
- Update pureconfig to 0.17.4 by @scala-steward in #763
- Update sbt to 1.8.3 by @scala-steward in #766
- Update sangria to 4.0.0 by @scala-steward in #768
- Update parboiled to 2.5.0 by @scala-steward in #765
- Update sbt to 1.9.0 by @scala-steward in #771
- Update sbt-jmh to 0.4.5 by @scala-steward in #773
- Update scala-library, scala-reflect to 2.13.11 by @scala-steward in #774
- Update munit to 1.0.0-M8 by @scala-steward in #775
- Update http4s-circe, http4s-dsl, ... to 0.23.20 by @scala-steward in #776
- Update kafka-clients to 3.4.1 by @scala-steward in #772
- Update http4s-circe, http4s-dsl, ... to 0.23.21 by @scala-steward in #779
- Update kafka-clients to 3.5.0 by @scala-steward in #777
- Update sangria to 4.0.1 by @scala-steward in #781
Full Changelog: v0.20.7...v0.20.8
0.20.7
Improvements
- Minor performance optimizations across the board
Dependency updates
- Update scalatest-wordspec to 3.2.15 by @scala-steward in #730
- Update sangria to 3.5.0 by @scala-steward in #731
- Update cats-effect to 3.4.5 by @scala-steward in #732
- Update http4s-circe, http4s-dsl, ... to 0.23.18 by @scala-steward in #735
- Update fs2-core, fs2-io to 3.5.0 by @scala-steward in #733
- Update embedded-kafka to 3.3.2 by @scala-steward in #737
- Update sbt-jmh to 0.4.4 by @scala-steward in #738
- Update cats-effect to 3.4.6 by @scala-steward in #739
- Update fs2-core, fs2-io to 3.6.1 by @scala-steward in #741
- Update caffeine to 3.1.3 by @scala-steward in #742
- Update sangria to 3.5.1 by @scala-steward in #744
- Update circe-core, circe-generic, ... to 0.14.4 by @scala-steward in #743
- Update sangria to 3.5.2 by @scala-steward in #746
- Update sbt-microsites to 1.4.2 by @scala-steward in #745
- Update cats-effect to 3.4.7 by @scala-steward in #747
- Update caffeine to 3.1.4 by @scala-steward in #748
- Update cats-effect to 3.4.8 by @scala-steward in #750
- Update circe-core, circe-generic, ... to 0.14.5 by @scala-steward in #751
- Update diffson-circe to 4.4.0 by @scala-steward in #752
- Update caffeine to 3.1.5 by @scala-steward in #753
- Update sangria to 3.5.3 by @scala-steward in #754
- Update http4s-blaze-client to 0.23.14 by @scala-steward in #755
Full Changelog: v0.20.6...v0.20.7
0.20.6
This release is motivated by a CVE in http4s - there should be no issues in practice but it is better not to depend on the affected artifact at all.
Improvements
Dependency updates
- Update sbt-pgp to 2.2.1 by @scala-steward in #720
- Update cats-effect to 3.4.2 by @scala-steward in #721
- Update sbt-microsites to 1.4.0 by @scala-steward in #722
- Update decline to 2.4.1 by @scala-steward in #723
- Update http4s-blaze-client to 0.23.13 by @scala-steward in #724
- Update cats-effect to 3.4.3 by @scala-steward in #725
- Update cats-effect to 3.4.4 by @scala-steward in #726
- Update http4s-circe, http4s-dsl, ... to 0.23.17 by @scala-steward in #728
- Update sbt to 1.8.2 by @scala-steward in #729
- Update sbt-microsites to 1.4.1 by @scala-steward in #727
Full Changelog: v0.20.5...v0.20.6
0.20.5
Fixes
Improvements
- Use Java 11 bytecode by @agourlay in #704
- Add WithJsonDataInputs to CoreDSL by @martinw-ct in #717
- Pull latest scala-xml version by @agourlay in d796f19
- Add json path info to matcher error by @agourlay in 52e15a0
- Add scaladoc to clarify tuple values in DSL by @agourlay in 28f82ac
Performance
- Optimize Json path fast path by @agourlay in 2c76434
- Optimize String replace for placeholders and matchers by @agourlay in 9886702
- Remove stripMargin from hotpath by @agourlay in ee7f4f0
- No need to focus json path cursor before deletion by @agourlay in a8009a5
- Decrease allocations in HTTP response processing by @agourlay in 7a9679a
- Avoid Option allocation for NonFatal exceptions by @agourlay in 1f08721
Dependency updates
- Update fs2-core, fs2-io to 3.3.0 by @scala-steward in #691
- Update circe-core, circe-generic, ... to 0.14.3 by @scala-steward in #692
- Update scalacheck to 1.17.0 by @scala-steward in #696
- Update scala-library, scala-reflect to 2.12.17 by @scala-steward in #695
- Update http4s-circe, http4s-dsl, ... to 0.23.16 by @scala-steward in #694
- Update decline to 2.3.1 by @scala-steward in #697
- Update embedded-kafka to 3.2.3 by @scala-steward in #698
- Update diffson-circe to 4.3.0 by @scala-steward in #699
- Update scala-library, scala-reflect to 2.13.10 by @scala-steward in #701
- Update sbt to 1.7.2 by @scala-steward in #702
- Update scalatest-wordspec to 3.2.14 by @scala-steward in #703
- Update sangria to 3.4.0 by @scala-steward in #700
- Update embedded-kafka to 3.3.1 by @scala-steward in #705
- Update sbt-pgp to 2.2.0 by @scala-steward in #706
- Update sbt to 1.7.3 by @scala-steward in #707
- Update parboiled to 2.4.1 by @scala-steward in #708
- Update sangria to 3.4.1 by @scala-steward in #709
- Update pureconfig to 0.17.2 by @scala-steward in #710
- Update sbt to 1.8.0 by @scala-steward in #711
- Update cats-core to 2.9.0 by @scala-steward in #712
- Update cats-effect to 3.4.0 by @scala-steward in #713
- Update munit to 1.0.0-M7 by @scala-steward in #715
- Update decline to 2.4.0 by @scala-steward in #714
- Update cats-effect to 3.4.1 by @scala-steward in #716
- Update fs2-core, fs2-io to 3.4.0 by @scala-steward in #718
- Update caffeine to 3.1.2 by @scala-steward in #719
New Contributors
- @martinw-ct made their first contribution in #717
Full Changelog: v0.20.4...v0.20.5
0.20.4
Improvements
- HTTP header assertions support session value placeholder by @yanns in #687
- Harden logic and optimize
MatcherResolver
by @agourlay in #677 - The http-mock module now uses the http4s Ember server by @agourlay in #428
Dependency updates
- Update cats-effect to 3.3.9 by @scala-steward in #648
- Update fs2-core, fs2-io to 3.2.7 by @scala-steward in #650
- Update cats-effect to 3.3.10 by @scala-steward in #651
- Update scala-xml to 2.1.0 by @scala-steward in #652
- Update cats-effect to 3.3.11 by @scala-steward in #653
- Update scalacheck to 1.16.0 by @scala-steward in #654
- Update scalatest-wordspec to 3.2.12 by @scala-steward in #655
- Update caffeine to 3.1.0 by @scala-steward in #656
- Update kafka-clients to 3.2.0 by @scala-steward in #657
- Update circe-core, circe-generic, ... to 0.14.2 by @scala-steward in #658
- Update cats-effect to 3.3.12 by @scala-steward in #659
- Update http4s-blaze-client, ... to 0.23.12 by @scala-steward in #661
- Bump actions/cache from 2 to 3 by @dependabot in #662
- Update fs2-core, fs2-io to 3.2.9 by @scala-steward in #663
- Update decline to 2.3.0 by @scala-steward in #665
- Update caffeine to 3.1.1 by @scala-steward in #664
- Update scala-library, scala-reflect to 2.12.16 by @scala-steward in #668
- Update sangria to 3.0.1 by @scala-steward in #667
- Update cats-effect to 3.3.13 by @scala-steward in #670
- Update http4s-circe, http4s-dsl to 0.23.13 by @scala-steward in #666
- Update cats-core to 2.8.0 by @scala-steward in #669
- Update fs2-core, fs2-io to 3.2.10 by @scala-steward in #671
- Update fansi to 0.4.0 by @scala-steward in #672
- Update sbt to 1.7.0 by @scala-steward in #673
- Update sbt to 1.7.1 by @scala-steward in #674
- Update cats-effect to 3.3.14 by @scala-steward in #675
- Update http4s-circe, http4s-dsl to 0.23.14 by @scala-steward in #679
- Update fs2-core, fs2-io to 3.2.11 by @scala-steward in #678
- Update scalatest-wordspec to 3.2.13 by @scala-steward in #681
- Update sangria to 3.2.0 by @scala-steward in #682
- Update kafka-clients to 3.2.1 by @scala-steward in #680
- Update fs2-core, fs2-io to 3.2.12 by @scala-steward in #683
- Update http4s-circe, http4s-dsl to 0.23.15 by @scala-steward in #684
- Update fs2-core, fs2-io to 3.2.14 by @scala-steward in #685
Full Changelog: v0.20.3...v0.20.4