v0.22.0-RC1
Pre-release
Pre-release
Includes the changes of 0.21.24, including the vulnerability fix to StaticFile.fromUrl
. This release is incorrectly referenced as 0.22.0-M9 in the GHSA.
http4s-core
Breaking changes
- #4787: Various header selection refinements:
Header.Select#toRaw
now takes anF[A]
and returns aNonEmptyList[Header.Raw]
. This is necessary because headers without aSemigroup
(e.g.,Set-Cookie
) can't be combined into a single header value.- The old
Header.Select#toRaw
is renamed totoRaw1
. This version still accepts a single value and returns a single raw header. Header.Select#from
now returns anOption[Ior[NonEmptyList[ParseFailure], NonEmptyList[A]]]
. TheIor
lets us return both a value and "warnings" when a repeating header contains both valid and invalid entries.- Add
Headers#getWithWarnings
to return theIor
result.
- #4788: Extend
ServerSentEvent
with comments. Thedata
field is now optional.retry
is changed from aLong
to aFiniteDuration
.data
spanning multiple lines are now rendered as multipledata:
fields per the spec.
Bugfixes
- #4873: Catch exceptions in
ParseResult.fromParser
. Don't throw when parsing a media range in theContent-Type
parser.
Dependency updates
- blaze-0.15.1
- circe-0.14.1
- play-json-2.9.2 (downgrade)