This release contains a bug fix discovered by @nafg and fixed by @imliar.
Breaking API Changes
This release is source compatible with most of the Finch API 0.9.0 except for Outputs
API.
Before:
val ok: Output[Unit] = Ok
val err: Output[Nothing] = BadRequest
After:
val ok: Output[Unit] = Ok()
val err: Output[Nothing] = BadRequest()
New Features
Finch now provides a very basic instance of EncodeResponse[Map[String, String]]
, which is unlikely useful for production projects but it's helpful to provide this out of the box and be more friendly for newcomers.