Update http4k to v6 (major) #1050
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.48.2.0
->6.5.5.0
4.48.2.0
->6.5.4.0
4.48.2.0
->6.5.5.0
Release Notes
http4k/http4k (org.http4k:http4k-client-websocket)
v6.5.5.0
Compare Source
v6.5.4.0
Compare Source
v6.5.3.0
Compare Source
v6.5.2.0
Compare Source
v6.5.1.0
Compare Source
v6.5.0.0
Compare Source
v6.4.1.0
Compare Source
v6.4.0.0
Compare Source
v6.2.0.0
Compare Source
org.http4k.connect
. Import changes will be required.FinishReason
toStopReason
Schema
with a simpleMap<String, Any>
, as we are unifying the types across all AI modules. A new Schema type will be introduced in a future release. Replace existing Schema usage with a Map<String, Any> for now.v6.1.0.1
Compare Source
v6.1.0.1
v6.1.0.0
Compare Source
v6.0.1.0
Compare Source
v6.0.0.0
Compare Source
org.http4k.pro
Maven coordinate group to distinguish them from the open-source modules.regex
lens now returns the entire matched string. To match groups, useregexGroup
instead.withPostSecurityFilter()
removed as is part of the contract DSL.CustomerKeySpec
removed and replaced withKeySpec
(as per AWS deprecations)http4k-config
,http4k-platform-core
andhttp4k-platform-k8s
modules.MoshiLong
as well asMoshiInteger
. This has improved the handling of longs when using theMoshiNode
types.Context
system to use newRequestKey
mechanism.RequestContextKey
mechanism replaced with new simplerRequestKey
lenses. This obliviates the need for the oldInitializeRequestContext
mechanism and filterProtocolEvent
type for tracing and logging transactions.poly()
.v5.47.0.0
Compare Source
v5.46.0.0
Compare Source
v5.45.2.0
Compare Source
Query.noValue()
lenses for query parameters.v5.45.1.0
Compare Source
v5.45.0.0
Compare Source
v5.44.3.0
Compare Source
v5.44.2.0
Compare Source
v5.44.1.0
Compare Source
v5.44.0.0
Compare Source
HtmlApprovalTest
formatter improved handling of HTML attributes which may require re-approving files.regex()
in favour ofregexGroup
. In v6regex()
will match fully, changing its current behaviour.v5.43.0.0
Compare Source
v5.42.0.0
Compare Source
v5.41.0.0
Compare Source
Note: This change affects how XML entity references are handled. If your code relies on XML entity expansion (like
replacing &entity; references with their defined content), it will need to be updated to provide the correct configuration when deserialising the XML body.
Entity references will now remain as unexpanded text in the document.
Full details at: https://www.http4k.org/security/cve-2024-12345/
H/T to @@JAckLosingHeart for the report.
v5.40.0.0
Compare Source
v5.39.0.0
Compare Source
AmazonRestfulFake
toAmazonRestJsonFake
v5.38.0.0
Compare Source
v5.37.1.1
Compare Source
v5.37.1.0
Compare Source
v5.37.0.0
Compare Source
Sse
instead ofUnit
v5.36.0.0
Compare Source
Immediate
stop mode as it's not supported.Immediate
stop mode as it's not supported.v5.35.5.0
Compare Source
Graceful
stop mode as it's not supported.v5.35.4.0
Compare Source
v5.35.3.0
Compare Source
v5.35.2.0
Compare Source
v5.35.1.0
Compare Source
v5.35.0.0
Compare Source
v5.34.1.0
Compare Source
v5.34.0.0
Compare Source
Accept
classv5.33.1.0
Compare Source
v5.33.0.1
Compare Source
v5.33.0.0
Compare Source
v5.32.4.0
Compare Source
v5.32.4.0
v5.32.3.0
Compare Source
v5.32.2.0
Compare Source
withNameSuffix
which wasn't checking the content type when you overrode the name suffix.§v5.32.1.0
Compare Source
Body.webForm()
v5.32.0.0
Compare Source
insecureApacheHttpClient()
due to deprecated API.v5.31.1.0
Compare Source
v5.31.0.0
Compare Source
v5.30.1.0
Compare Source
WebsocketFactory
. @H/T @oharaandrew314v5.30.0.0
Compare Source
WsMessage
mode explicit. @H/T @oharaandrew314Migration Guide
Previously, a
WsMessage
was sent in eitherTEXT
orBINARY
mode based on whether theBody
was aMemoryBody
orStreamBody
, respectively.WsMessage
, you will need to explicitly provide aWsMessage.Mode
to resolve the new compiler errors.💡 Note: If you were using the secondary
WsMessage
constructors, no changes are necessary.💡 Note: You now have full control over how content is sent.
v5.29.0.0
Compare Source
v5.28.1.0
Compare Source
v5.28.0.0
Compare Source
v5.27.0.0
Compare Source
v5.26.1.0
Compare Source
v5.26.0.0
Compare Source
v5.25.0.0
Compare Source
v5.24.1.0
Compare Source
v5.24.0.0
Compare Source
v5.23.0.0
Compare Source
v5.22.0.0
Compare Source
v5.21.2.0
Compare Source
v5.21.1.0
Compare Source
v5.21.0.0
Compare Source
CachingFilters.Request/Response
toCachingFilters.CacheRequest/CacheResponse
. If you have imports then they may break and need to be updated.v5.20.0.0
Compare Source
v5.19.0.0
Compare Source
() -> Instant
where a Clock is used. H/T @kwydlerv5.18.2.0
Compare Source
request.json<MyType>()
v5.18.1.0
Compare Source
v5.17.0.0
Compare Source
with()
functions on auto-marshallers to match content type, so you can now doreq.json(myObj)
and get the content type and body set in one go. Likewise for other content typesv5.16.2.0
Compare Source
v5.16.1.0
Compare Source
v5.16.0.0
Compare Source
v5.15.0.0
Compare Source
v5.14.5.0
Compare Source
v5.14.4.0
Compare Source
v5.14.2.0
Compare Source
v5.14.1.0
Compare Source
v5.14.0.0
Compare Source
v5.13.9.0
Compare Source
v5.13.8.0
Compare Source
v5.13.7.0
Compare Source
v5.13.6.1
Compare Source
v5.13.6.0
Compare Source
v5.13.5.0
Compare Source
v5.13.4.1
Compare Source
v5.13.4.0
Compare Source
v5.13.2.0
Compare Source
v5.13.1.0
Compare Source
v5.13.0.1
Compare Source
different IDE settings
v5.13.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.