cornichon v0.19.5 Release Notes
Release Date: 2020-10-15 // about 4 years ago-
🆕 new features and improvements
🔦 Exposed
body_raw
to assert non JSON bodies (#421) @agourlayAnd assert body_raw.containsString("xml")
🔨 Optimization & refactoring of
BodyElementCollectorMacro
(#416) @agourlay
🐛 bug fixes
save_body
does not expect JSON #419 (#420) @agourlayBodyElementCollectorMacro
handles identifier #409 (#410) @agourlay
⚡️ dependency updates
- ⚡️ Update caffeine to 2.8.6 (#423) @scala-steward
- ⚡️ Update sangria to 2.0.1 (#418) @scala-steward
- ⚡️ Update sbt to 1.4.0 (#417) @scala-steward
- ⚡️ Update pureconfig to 0.14.0 (#415) @scala-steward
- ⚡️ Update parboiled to 2.2.1 (#414) @scala-steward
- ⚡️ Update scala-xml to 2.0.0-M2 (#412) @scala-steward
- ⚡️ Update decline to 1.3.0 (#406) @scala-steward
- ⚡️ Update sbt-jmh to 0.4.0 (#407) @scala-steward
- ⚡️ Update kafka-clients to 2.6.0 (#398) @scala-steward
- ⚡️ Update utest to 0.7.5 (#405) @scala-steward
- ⚡️ Update scalatest-wordspec to 3.2.2 (#404) @scala-steward
- ⚡️ Update http4s to 0.21.7 (#400) @scala-steward
Previous changes from v0.19.4
-
🆕 new features and improvements
Introduce
compareWithPreviousValue
for Json and Stringsession_value
using anAssertion
(#396, #394) @agourlayAnd assert session_value("my-key").asJson.path("product.price").compareWithPreviousValue[Int] { case (prev, current) => LessThanAssertion(prev, current) }And assert session_value("my-key").compareWithPreviousValue { case (prev, current) => LessThanAssertion(prev.length, current.length) }
➕ Add JsonPath support to
JsonValuesStep
(#395) @agourlayAnd assert session_values("k1", "k2").asJson.path("a.b.c").areEquals
👌 Improve error reporting for
cornichon-http-mock
(#393) @agourlay📚 Split
cornichon-check
documentation in several pages for readability 410dcc5 @agourlay🐛 bug fixes
⚡️ dependency updates
- ⚡️ Update diffson-circe to 4.0.3 (#397) @scala-steward