obecker / causalist

German legal case management app
0 stars 2 forks source link

:arrow_up: Bump org.http4k:http4k-bom from 5.29.0.0 to 5.30.0.0 in /backend #377

Closed dependabot[bot] closed 1 day ago

dependabot[bot] commented 1 week ago

Bumps org.http4k:http4k-bom from 5.29.0.0 to 5.30.0.0.

Release notes

Sourced from org.http4k:http4k-bom's releases.

5.30.0.0

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-multipart : [Fix] Further fixes to deletion of temporary files. Should fix memory leak. @​H/T @​oharaandrew314
  • http4k-server-jetty11 : [Fix] Received binary Websocket frames will no longer have their content coerced to text. @​H/T @​oharaandrew314
  • http4k-* : [Breaking] Make WsMessage mode explicit. @​H/T @​oharaandrew314
Changelog

Sourced from org.http4k:http4k-bom's changelog.

v5.30.0.0

  • http4k-* : Upgrade some dependency versions.
  • http4k-multipart : [Fix] Further fixes to deletion of temporary files. Should fix memory leak. @​H/T @​oharaandrew314
  • http4k-server-jetty11 : [Fix] Received binary Websocket frames will no longer have their content coerced to text. @​H/T @​oharaandrew314
  • http4k-* : [Breaking] Make WsMessage mode explicit. @​H/T @​oharaandrew314

Migration Guide

Previously, a WsMessage was sent in either TEXT or BINARY mode based on whether the Body was a MemoryBody or StreamBody, respectively.

:warning: Warning: If you were using the primary constructor of WsMessage, you will need to explicitly provide a WsMessage.Mode to resolve the new compiler errors.

val textMessage = WsMessage(MemoryBody("hi"), WsMessage.Mode.Text)
val binaryMessage = WsMessage(StreamBody(imageStream), WsMessage.Mode.Binary)

:bulb: Note: If you were using the secondary WsMessage constructors, no changes are necessary.

val textMessage = WsMessage("hi") // Text like before
val binaryMessage = WsMessage(imageStream) // Binary like before

:bulb: Note: You now have full control over how content is sent.

// have a very long string?  Stream it!
val lotsOfText = WsMessage(StreamBody(imageStream), WsMessage.Mode.Text)

// have your binary buffered already? Send it as is! val bufferedBinary = WsMessage(MemoryBody(imageBytes), WsMessage.Mode.Binary)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)