Http4s v1.0.0-M2 Release Notes
Release Date: 2020-06-25 // almost 4 years ago-
v1.0.0-M2 (2020-06-25)
๐ This is the first milestone release in the 1.x series.
๐ It is not binary compatible with prior releases.Where is M1?
๐ Unpublished. The release build from the tag failed, and the fix required a new tag.
๐ฅ Breaking changes
- #3174: Drop http4s-prometheus dependency on http4s-dsl
- #2615: Model the
Server
header - #3206: Model the
Content-Location
header - ๐ #3264: Remove unused
EntityEncoder
argument inPlayInstances
. - #3257: Make
SameSite
cookie attribute optional - ๐ #3291: Remove unused
F[_]
parameter fromServer
- ๐ #3241: Port all macros to blackbox in anticipation of Dotty support
- ๐ #3323: Drop deprecated
ArbitraryInstances#charsetRangesNoQuality
- ๐ #3322: Drop deprecated
getAs
andprepAs
methods fromClient
- #3371: In http4s-metrics, add
rootCause
field toTerminationType.Abnormal
andTerminationType.Error
. AddTerminationType.Canceled
- ๐ #3335: Remove unused
Bracket
instance inClient#translate
- #3390: Replace
org.http4s.util.CaseInsensitiveString
withorg.typelevel.ci.CIString
- #3221: Implement a
Uri.Path
type to replace the type alias forString
- #3450: Model
Accept-Patch
header as aNonEmptyList[MediaType]
- #3463: Model
Access-Control-Allow-Credentials
header as a nullary case class. - ๐ #3325: Add a WebSocket builder with a
Pipe[F, WebSocketFrame, WebSocketFrame]
to unify sending and receiving. - #3373: Parameterize
ClassLoader
forResourceService
andWebjarService
. Changes theCacheStrategy
'suriPath
argument toUri.Path
. - ๐ #3460: Remove deprecated
Service
and related aliases - #3529: Refresh the
MediaType
s constants from the IANA registry. Not source breaking, but shifts constants in a binary breaking way.
โจ Enhancements
- #3320: Reimplement
Media#as
withF.rethrow
๐ Deprecations
- ๐ฆ #3359: Deprecate the
org.http4s.util.execution
package. - ๐ #3422: Deprecate
BlazeClientBuilder#withSslContextOption
.
๐ Documentation
- ๐ #3374: Add a deployment tutorial, including for GraalVM. See also #3416.
- #3410: Suggest a global execution context for the argument to
BlazeClientBuilder
๐จ Internal refactoring
- ๐ #3386: Drop internal argonaut parser in favor of jawn's
- #3266: Replace
fs2.compress
withfs2.compression
โก๏ธ Dependency updates
- argonaut-6.3.0
- async-http-client-2.12.1
- blaze-http-0.14.13
- play-json-2.9.0
- simpleclient-0.9.0 (Prometheus)