Skip to content

Releases: agourlay/cornichon

v0.20.3

24 Mar 16:35
Compare
Choose a tag to compare

Bug fixes

  • Avoid stale connections by setting up an idle timeout on connections #607

Dependency updates

Full Changelog: v0.20.2...v0.20.3

0.20.2

16 Feb 11:03
Compare
Choose a tag to compare

Internal changes

  • Remove unnecessary trait mixin for CoreDsl & JsonDsl 706b94c
  • Lock artifact compat. to java 8 83a711e
  • Remove transitive dependency on scala-reflect 0aafcfc
  • Order HTTP verbs by likelyhood in client ebc37e4

Dependency updates

0.20.1

05 Nov 12:39
Compare
Choose a tag to compare

Breaking changes

The feature trait does not expose a default execution context (EC) anymore (fixes #598)

This change impacts only users from cornichon-test-framework with custom steps.

It is however possible to not rely on an EC at all by using directly an IO with:

  • a specialized IO step com.github.agourlay.cornichon.steps.cats.EffectStep
  • a specialized IO HTTP request httpService.requestEffectIO

Dependency updates

0.20.0

07 Oct 10:20
Compare
Choose a tag to compare

What's Changed

  • Migrate internals from Monix to cats-effect 3.2.x in #591

Breaking change

  • com.github.agourlay.cornichon.steps.cats.EffectStep now requires a concrete IO effect instead of F[_]: Effect.

0.19.9

25 Sep 14:24
Compare
Choose a tag to compare

Breaking changes

  • Server-Sent-Event now have a comment field (null by default)

Improvements

  • Migrate from http4s 0.21.x to 0.22.0 (#568)
  • Migrate unit tests from utest to munit
  • Remove test dependency claimant as it is officially deprecated

Dependency updates

0.19.8

22 Jul 09:47
Compare
Choose a tag to compare

Fixes

  • Noisy logging issue with http4s nio1 #544
  • Scala 2.12 build restored for this release
  • Restore Mergify bot on Github Actions.

Dependency updates

0.19.7

17 May 18:23
Compare
Choose a tag to compare

Compatibility note

  • Java 11 or above is required following the upgrade of caffeine in version 3.0

Improvements

Dependency updates

0.19.6

15 Jan 20:48
Compare
Choose a tag to compare

This release contains only dependency updates.

What’s Changed

0.19.5

15 Oct 09:22
Compare
Choose a tag to compare

new features and improvements

And assert body_raw.containsString("xml")
  • Optimization & refactoring of BodyElementCollectorMacro (#416) @agourlay
    • runs faster at compile time
    • generates better code for runtime
    • decrease allocations via (#413) @agourlay

bug fixes

dependency updates

0.19.4

31 Jul 09:37
Compare
Choose a tag to compare

new features and improvements

  • Introduce compareWithPreviousValue for Json and String session_value using an Assertion (#396, #394) @agourlay
And 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) }
And 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

  • Fix error message in cornichon-check for invalid transition definition 610e914 @agourlay

dependency updates