Skip to content

v0.22.0-M4

Pre-release
Pre-release
Compare
Choose a tag to compare
@rossabaker rossabaker released this 02 Mar 15:46

Also includes changes through 0.21.20.

http4s-core

Breaking changes

  • #4242: Replace internal models of IPv4, IPv6, java.net.InetAddress, and java.net.SocketAddress with ip4s. This affects the URI authority, various headers, and message attributes that refer to IP addresses and hostnames.
  • #4352: Remove deprecated Header.Recurring.GetT and Header.get(`Set-Cookie`).
  • #4364: Remove deprecated AsyncSyntax and NonEmpyListSyntax. These were unrelated to HTTP.
  • #4407: Relax constraint on EntityEncoder.fileEncoder from Effect to Sync. This is source compatible.
  • #4519: Drop unused Sync constraints on MultipartParser, Part, and KleisliSyntax. This is source compatible.

http4s-laws

Breaking changes

  • #4519: Drop unused Arbitrary and Shrink constraints on LawAdapter#booleanPropF. This is source compatible.

http4s-server

Breaking changes

  • #4519: Drop unused Functor constraints in HSTS, Jsonp, PushSupport, TranslateUri, and UriTranslation middlewares. Drop unused Sync and ContextShift constraints in staticcontent package. These are source compatible.

http4s-servlet

Breaking changes

  • #4519: Drop unused Async constraint in ServletContainer. Drop unused ContextShift in ServletContextSyntax. These are source compatible.

http4s-async-http-client

Breaking changes

  • #4519: Drop unused Sync constraint on AsyncHttpClientStats. This is source compatible.

http4s-prometheus

Breaking changes

  • #4519: Drop unused Sync constraint on PrometheusExportService. This is source compatible.

http4s-argonaut

Removal

  • #4409: http4s-argonaut is no longer published

http4s-json4s

Removal

  • #4410: http4s-json4s, http4s-json4s-native, and http4s-json4s-jackson are no longer published

http4s-play-json

Breaking changes

  • #4371: Replace jawn-play with an internal copy of the facade to work around withDottyCompat issues.

http4s-scala-xml

Breaking changes

  • #4380: Move the implicits from the root package to a Cats-like encoding. Suggest replacing import org.http4s.scalaxml._ with import org.http4s.scalaxml.implicits._.

Dependencies

  • blaze-0.15.0-M2
  • case-insensitive-1.0.0
  • cats-parse-0.3.1
  • circe-0.14.0-M4
  • ip4s-2.0.0-RC1
  • jawn-1.1.0
  • jawn-play (dropped)
  • keypool-0.3.0
  • log4cats-1.2.0
  • log4s-1.0.0-M5
  • play-json-2.10.0-RC2
  • scala-xml-2.0.0-M5
  • vault-2.1.7