Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update http4k to v6 (major) #1050

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

Update http4k to v6 (major) #1050

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 20, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.http4k:http4k-client-websocket (source) 4.48.2.0 -> 6.0.1.0 age adoption passing confidence
org.http4k:http4k-server-jetty (source) 4.48.2.0 -> 6.0.1.0 age adoption passing confidence
org.http4k:http4k-core (source) 4.48.2.0 -> 6.0.1.0 age adoption passing confidence

Release Notes

http4k/http4k (org.http4k:http4k-client-websocket)

v6.0.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-format-moshi : [Fix #​1291] Moshi + ProtocolStatus Serialization Exception
  • http4k-tools-hotreload : [Fix #​1290] Hot Reload Module does not work in Windows

v6.0.0.0

Compare Source

  • http4k-* : [License update] Selected "Pro-tier" modules will start to be introduced under the new http4k commercial license. These modules remain freely available for personal and academic purposes, and bear the new org.http4k.pro Maven coordinate group to distinguish them from the open-source modules.
  • http4k-* : [Breaking] Minimum Java version is now 21. Java versions 8-20 support is provided through our LTS programme available through the commercial version of http4k. Please see: https://www.http4k.org/enterprise/
  • http4k-* : [Breaking] Repackaging/splitting code into new modules coordinates. See the mapping grid below:
SOURCE MODULE - v5.X.X.X DESTINATION MODULE(S) - v6.X.X.X
http4k-aws http4k-platform-aws
http4k-azure http4k-platform-azure
http4k-cloudevents http4k-api-cloudevents
http4k-cloudnative Split into http4k-config, http4k-platform-core, http4k-platform-k8s
http4k-contract http4k-api-openapi
http4k-contract-jsonschema http4k-api-jsonschema
http4k-contract-ui-redoc http4k-api-ui-redoc
http4k-contract-ui-swagger http4k-api-ui-swagger
http4k-failsafe http4k-ops-failsafe
http4k-gcp http4k-platform-gcp
http4k-graphql http4k-api-graphql
http4k-htmx http4k-web-htmx
http4k-jsonrpc http4k-api-jsonrpc
http4k-metrics-micrometer http4k-ops-micrometer
http4k-opentelemetry http4k-ops-opentelemetry
http4k-resilience4j http4k-ops-resilience4j
  • http4k-* : [Breaking] Complete rewrite of the routing logic to work identically across HTTP, WS and SSE. Mostly backwards compatible, but some small may be required if you are referencing low level routing classes.
  • http4k-* : [Breaking] Removal of all deprecations. See the migration guide for more details.
  • http4k-core : [Breaking] regex lens now returns the entire matched string. To match groups, use regexGroup instead.
  • http4k-contract : [Breaking] withPostSecurityFilter() removed as is part of the contract DSL.
  • http4k-realtime-core : [Breaking] From above, repackaging of SSE and Websocket routing and filters.
  • http4k-connect-amazon-kms : [Breaking] CustomerKeySpec removed and replaced with KeySpec (as per AWS deprecations)
  • http4k-server : [Breaking] For consistency, all server configurations have been simplified to only support only simple examples. Anything more convoluted should be handled by user implementations.
  • http4k-api-contract : [Breaking] Security implementations moved from contract to security-core. This has involved repackaging them, but the APIs remain the same.
  • http4k-api-jsonrpc : [Breaking] Repackaging of some classes - APIs remain the same.
  • http4k-cloudnative : [Breaking] Code has moved to a combination of http4k-config, http4k-platform-core and http4k-platform-k8s modules.
  • http4k-* : [Unlikely Break] Upgrades all dependencies to latest versions. This may involve API changes if you are reliant on APIs in previous versions.
  • http4k-format-moshi : [Unlikely break/Enhancement] Support for MoshiLong as well as MoshiInteger. This has improved the handling of longs when using the MoshiNode types.
  • http4k-serverless-* : [Unlikely break] Replacement of serverless Context system to use new RequestKey mechanism.
  • http4k-core : [Replacement/Upgrade] RequestContextKey mechanism replaced with new simpler RequestKey lenses. This obliviates the need for the old InitializeRequestContext mechanism and filter
  • http4k-server-helidon : [Fix] SSE implementation now cleans up SSE connections correctly on close.
  • http4k-* : [Enhancement] Unified the Events for HTTP, WS and SSE to use the same ProtocolEvent type for tracing and logging transactions.
  • http4k-realtime-core : [Enhancement] Added ability to use debugging filters for both SSE and WebSockets.
  • http4k-realtime-core : [Enhancement] New DSL for defining Polyhandlers for routing to different types of HTTP/SSE/Websocket protocols connections. Use poly().
  • http4k-realtime-core : [Enhancement] SSE client for connecting to Server-sent events. Includes configurable auto-reconnection modes.
  • http4k-format-moshi : [Enhancement] Support for Data4k containers for Moshi.
  • http4k-tools-hotreload : [New Pro module!] Work with any http4k-based application without restarting the server. Includes browser reloading when working with web-based code, assets and templates. Extensible with custom rebuild logic - ships with Gradle support.
  • http4k-bridge-jakarta : [New module!] Easy migrations from/to Jakarta-based servers.
  • http4k-bridge-spring : [New module!] Easy migrations from/to Spring-based servers.
  • http4k-bridge-vertx : [New module!] Easy migrations from/to Vertx-based servers.
  • http4k-bridge-ktor : [New module!] Easy migrations from/to Ktor-based servers.
  • http4k-bridge-micronaut : [New module!] Easy migrations from/to Micronaut-based servers.
  • http4k-bridge-ratpack : [New module!] Easy migrations from/to Ratpack-based servers.
  • http4k-web-datastar : [New module!] Deep support for the super-powerful Datastar Hypermedia library, which helps you build reactive web applications with the simplicity of server-side rendering and the power of a full-stack SPA framework..
  • http4k-tools-traffic-capture : [New module!] A set of tools to help the capture and replay of traffic from any HTTP server.

v5.47.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4-aws : Fix AWS signature when path contains plus symbol. H/T @​aharin
  • http4k-template-core : [Unlikely break] Fix classpath template resolution on Windows. H/T @​oharaandrew314

v5.46.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4-connect-amazon-s3 : [Unlikely break] Make name and region parameters of S3Bucket. H/T @​oharaandrew314
  • http4-contract : Add ClientCredentialsOAuthSecurity. H/T @​ashcor

v5.45.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4-core : Support Query.noValue() lenses for query parameters.

v5.45.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-server-undertow* : [Fix #​1259] POST requests have empty body with Undertow if an SSE handler is registered

v5.45.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-bridge-servlet : [PRE RELEASE PREPARATION] This will be the ultimate destination of the Servlet integrations in http4k v6. We are providing this new module as a migration step before the upgrade to v6, so module changes can be dealt with separately.
  • http4k-server-servlet : [Breaking] Renamed as above.

v5.44.3.0

Compare Source

  • http4k-server-servlet : [PRE RELEASE PREPARATION] This will be the ultimate destination of the Servlet integrations in http4k v6. We are providing this new module as a migration step before the upgrade to v6, so module changes can be dealt with separately.
  • http4k-tools-traffic-capture : [PRE RELEASE PREPARATION] This will be the ultimate destination of the Traffic Capture functionality from http4k-core in http4k v6. We are providing this new module as a migration step before the upgrade to v6, so module changes can be dealt with separately.

v5.44.2.0

Compare Source

v5.44.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-template-thymeleaf : Support template fragments. H/T @​mikaelstaldal

v5.44.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-approval : [Possible Break] HtmlApprovalTest formatter improved handling of HTML attributes which may require re-approving files.
  • http4k-connect-amazon-iamidentitycenter* : Read AWS profile configuration both from credentials and config files. H/T @​aharin
  • http4k-core : Deprecate lens' regex() in favour of regexGroup. In v6 regex() will match fully, changing its current behaviour.

v5.43.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-connect-amazon-iamidentitycenter* : Files containing tokens should only be readable by owner. H/T @​aharin
  • http4k-connect-slack : [New module!] Minimal support for Slack and Slack Webhooks.

v5.42.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-template : Fix line separators for templates to allow working across platform with templates.
  • http4k-connect-amazon-iamidentitycenter* :[Fix 1239] CredentialsProvider.SSO - Credentials caching issue.
  • http4k-connect-amazon-iamidentitycenter* : [Unlikely break] PKCE-based Authorization for AWS SSO. Tweaks should be easy to remedy in previous SSO implementation. H/T @​aharin

v5.41.0.0

Compare Source

  • http4k-format-xml : [Fix CVE-2024-55875: Possible Break] Fixed XML processing by disabling entity expansion in DocumentBuilderFactory configuration.
    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

  • http4k-core : Allow invalidation of cookie with a path. H/T @​ollieabbey
  • http4k-core : Allow setting cookie value without quotes. H/T @​ollieabbey
  • http4k-core : Fix cookie format for cookie with no attributes. H/T @​ollieabbey
  • http4k-testing-webdriver : Remove usages of deprecated getAttribute API. Now use getDomAttribute instead.
  • http4k-cloudnative : [Breaking] Deprecation of various functions and re-homing into http4k-platform-k8s module. Some classes and functions have been repackaged.
  • http4k-* : [PRE RELEASE PREPARATION] As a part of the upcoming V6, several modules are being rehoused to new Maven coordinates within http4k Community edition (and retaining the Apache2 license). In preparation, we have introduced these modules to give users the time to migrate without taking on-board other breaking changes from v6 - essentially allowing the upgrade cycle to be:
  1. Upgrade to latest v5 release. Deal with deprecations and module changes.
  2. Upgrade to v6 when it is released. Deal with other breaking changes. We expect these to be mainly imports and will be detailed in the v6 release note when we have the chance. In the meantime, this is the list of modules that are being rehoused:
SOURCE MODULE - v5.X.X.X DESTINATION MODULE(S) - v6.X.X.X
http4k-aws http4k-platform-aws
http4k-azure http4k-platform-azure
http4k-cloudevents http4k-api-cloudevents
http4k-cloudnative Split into http4k-config, http4k-platform-core, http4k-platform-k8s
http4k-contract http4k-api-openapi
http4k-contract-jsonschema http4k-api-jsonschema
http4k-contract-ui-redoc http4k-api-ui-redoc
http4k-contract-ui-swagger http4k-api-ui-swagger
http4k-failsafe http4k-ops-failsafe
http4k-gcp http4k-platform-gcp
http4k-graphql http4k-api-graphql
http4k-htmx http4k-web-htmx
http4k-jsonrpc http4k-api-jsonrpc
http4k-metrics-micrometer http4k-ops-micrometer
http4k-opentelemetry http4k-ops-opentelemetry
http4k-resilience4j http4k-ops-resilience4j

v5.39.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-amazon-*-fake : [Unlikely break] Rename AmazonRestfulFake to AmazonRestJsonFake
  • http4k-amazon-evidently-fake : Fixed Project status value to be a valid value instead of an empty string

v5.38.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : [Unlikely break] Split of RequestWithRoute into Request and RoutedMessage
  • http4k-realtime-core-* : Further rework on Sse and Ws to add functionalities missing (which are present in HTTP)

v5.37.1.1

Compare Source

  • http4k-format-* : [Fix 1225] Issue with Datastar module being required on the classpath. Causes NoClassDefFoundError.

v5.37.1.0

Compare Source

  • http4k-format-jackson : Fixed issue with Jackson pulling in a dependency that it didn't need.

v5.37.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-contract-* : Ability to model binary downloads in OpenAPI format. H/T @​hektorKS
  • http4k-server-* : [Possible Break] The return type to sse.send() is now Sse instead of Unit
  • http4k-server-helidon : Add WebSocket support.
  • http4k-server-* : Fixes to SSE support for various servers.

v5.36.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-realtime-core* : [Possible Break] SSE responses now contain a "handled" flag, so we can now fallback from SSE to HTTP if the route is unbound in SSE. SSE now also returns a 404 if the route is unbound.
  • http4k-server-helidon* : [Possible Break] Slight refactor of SSE code to support SSE -> HTTP fallback
  • http4k-server-helidon* : [Possible Break] Throw exception if configured with Immediate stop mode as it's not supported.
  • http4k-server-jetty* : [Possible Break] Slight refactor of SSE code to support SSE -> HTTP fallback
  • http4k-server-jetty11* : [Possible Break] Slight refactor of SSE code to support SSE -> HTTP fallback
  • http4k-server-netty* : [Possible Break] Throw exception if configured with Immediate stop mode as it's not supported.
  • http4k-server-undertow* : [Possible Break] Slight refactor of SSE code to support SSE -> HTTP fallback

v5.35.5.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-server-helidon* : Fixes to SSE support
  • http4k-server-helidon* : Throw exception if configured with Graceful stop mode as it's not supported.
  • http4k-server-undertow* : Fixes to SSE support

v5.35.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-server-helidon* : Add support for SSE. There are some limitations - see HelidonSseTest for details.
  • http4k-server-helidon* : Add support for SSE. There are some limitations - see HelidonSseTest for details.

v5.35.3.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-gcp : [New module!] SDK support for GCP services.

v5.35.2.0

Compare Source

  • http4k-server-ktorcio : Upgrade to Ktor 3
  • http4k-server-ktornetty : Upgrade to Ktor 3
  • http4k-* : Upgrade some dependency versions.

v5.35.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-* - [Fix again!] Missing dependencies in various modules
  • http4k-connect* - [Fix again!] Missing dependencies in various modules

v5.35.0.0

Compare Source

  • http4k-bom : Now includes all http4k-connect modules.

v5.34.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.

v5.34.0.0

Compare Source

  • http4k-core : [Unlikely break] Fix parsing of accept header. It may break direct usages of Accept class
  • http4k-core : Fix tracking of uri templates during in-memory request redirection
  • http4k-core : Make LocalCookie serialisable
  • http4k-testing-tracerbullet : Render other types of participant in PlantUML diagrams

v5.33.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.

v5.33.0.1

Compare Source

  • http4k-multipart* : [Fix #​1188] MultiPartFormBody reads body into memory even when stream is available

v5.33.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 2.0.21
  • http4k-core : [Unlikely break] Adding start time to HTTP Transaction. Should be a simple fix if you are already creating your own for some reason. :) H/T @​npryce
  • http4k-resilience4j : Add resilience4j timeout filter. H/T @​ollieabbey
  • http4k-format-* : Adding ability to create BiDiMapping lens. H/T @​potfur
  • http4k-server-apache - [Fix] Apache httpcomponents server throws when returning 204.

v5.32.4.0

Compare Source

v5.32.4.0

v5.32.3.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-approval Support for binary comparisons using BinaryApprovalTest. @​H/T @​oharaandrew314

v5.32.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-approval : Fix withNameSuffix which wasn't checking the content type when you overrode the name suffix.§

v5.32.1.0

Compare Source

  • http4k-core : Fix ordering of params on Body.webForm()
  • http4k-* : Tightened up nullable types and data class constructor visibility on various APIs

v5.32.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-client-apache* : [Unlikely break]: Removed insecureApacheHttpClient() due to deprecated API.
  • http4k-webdriver* : [Unlikely break]: New Nullable types on WebDriver API led to tightening up our implementations.

v5.31.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.

v5.31.0.0

Compare Source

  • http4k-server-apache : [Possible Break] Upgrade httpcore to 5.3, which introduces stricter authority validation. This may break projects with custom version of ApacheServer.

v5.30.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-client-jetty : [Fix] encoding of binary content in Jetty client. H/T @​kwydler
  • http4k-client-* : All websocket implementations implement a unified WebsocketFactory. @​H/T @​oharaandrew314

v5.30.0.0

Compare Source

  • 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: 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)

💡 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

💡 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)

v5.29.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions including Kotlin to 2.0.20
  • http4k-security-oauth : [Breaking] OAuthProvider support for PKCE. This may break code because of the addition of an extra parameter in the OAuth construction. H/T @​dkandalov
  • http4k-* : [New module] Azure SDK integration - use an http4k client with the official libraries
  • http4k-server-* : [Fix #​1163] Request.version is always HTTP/1.1 for server requests, even when using HTTP/2.0

v5.28.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-multipart : [Fix] Further fixes to deletion of temporary files. @​H/T @​oharaandrew314

v5.28.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Include Vary header on CORS responses. H/T @​ollieabbey
  • http4k-multipart : [Fix Break] Multipart form files were all calling deleteOnExit() instead of being deleted when the Body is closed. Possible memory leak for long running processes. The fix MAY be a change of OS files-system usage if you are not closing your MultiPart form body. @​H/T @​oharaandrew314 for the report.

v5.27.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions including Kotlin to 2.0.10
  • http4k-core New HTTP status codes. H/T @​torfinnberset
  • http4k-core Added helper method for dealing with forms. H/T @​tim-mortimer
  • http4k-core [Fix] Close backing DiskLocation when MultipartForm closed. H/T @​oharaandrew314
  • http4k-testing-kotest Fix haveSetCookie and haveCookie to work when cookie isn't present. H/T @​bagguley

v5.26.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-* : Fix transformer is lost when adding name suffix to Approver H/T @​ilya.aliaksandrovich

v5.26.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Response caching extensions. H/T @​ollieabbey
  • http4k-config : [New Module!] Extraction of typesafe configuration module from http4k-cloudnative.
  • http4k-cloudnative : [Breaking!] Repackaging of typesafe configuration module classes (org.http4k.cloudnative.env) to http4k-config (org.http4k.config). New imports are required.
  • http4k-contract : Adds ApiKeySecurity that identifies a consumer and makes it available for later use. H/T @​dhs3000

v5.25.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-lambda* : [Breaking Fix] Incorrect lambda request context variable is passed - we now pass the incoming reqeust object instead of the converted http4k request. If you were using the LAMBDA_REQUEST_KEY, you can just use the request passed into the handler instead.

v5.24.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-lambda* : [Fix] AWS adapter throws on invalid URLs.
  • http4k-testing-webdriver : [Fix] Base path replacement logic for same-dir-path and dot-path URLs. H/T jweidler

v5.24.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Allow removal of all queries for a URI. H/T @​dhs3000
  • http4k-format-kondor : Upgrade to new version of Kondor. H/T @​uberto
  • http4k-testing-strikt [Break] The upgrade to the latest version drops Java <17 support. If you are still using Java 8, you will need to stick with the previous version of this module.

v5.23.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-contract : [Approval test break] Addition of "nullable" field to every model property. This improves JSON output compatability with various tooling for generating types from the definitions.

v5.22.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-format-dataframe : [Break] Move classes to alternative package to not clash with existing format objects.

v5.21.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-format-dataframe : [New module] Support for KotlinX DataFrame.

v5.21.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-multipart* : [Fix #​1113] Disk-backed multipart form field data is now cleaned up when the body is closed, including the parent form directory.

v5.21.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions including Kotlin to v2
  • http4k-testing-chaos : [Breaking] Changed Trigger to be a fun interface instead of a typealias. Should be no-op or a simple fix to the type.
  • http4k-core : [Possible Break] Renamed CachingFilters.Request/Responseto CachingFilters.CacheRequest/CacheResponse. If you have imports then they may break and need to be updated.

v5.20.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-chaos* : [Unlikely break]: remove Hamkrest dependency so that it does not appear randomly in your projects. If you were accidentally relying on this it will need to be re-added manually.

v5.19.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.24
  • http4k-core : Add support for the timesource typealias () -> Instant where a Clock is used. H/T @​kwydler

v5.18.2.0

Compare Source

  • http4k-core : Add convenience methods to read bodies from HttpMessages as JSON/XML/CSV etc.. request.json<MyType>()

v5.18.1.0

Compare Source

  • http4k-core : Add convenience methods to set common headers to HTTP message.

v5.17.0.0

Compare Source

  • http4k-* : Tweaks to make the K2 compiler happy
  • http4k : Added convenience methods to set the body of an HTTP message. The works for both standard body types and with automarshallers.
  • http4k-core : Fix request source in SunHttp. H/T @​dkandalov
  • http4k-contract : Added top-level MetadataRetrieval to schema objects. H/T @​BBB
  • http4k-format-* : [Unlikely break] rename with() functions on auto-marshallers to match content type, so you can now do req.json(myObj) and get the content type and body set in one go. Likewise for other content types

v5.16.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.

v5.16.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core: Add support for surrogate-key headers in EtagSupport. H/T @​jason-annadani-springer

v5.16.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-approval : [Unlikely break] Rename typo in an ApprovalSource instance
  • http4k-testing-approval : Addition of optional suffix to the approval file name, and added ApprovalTransformer for varying the compared content from the InputStream
  • http4k-core : [Fix #​1084] Route name without a beginning / works for everything except static resources. H/T @​ArthurS1

v5.15.0.0

Compare Source

  • http4k-core : [Unlikely break] Change to Meta to remove default params

v5.14.5.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Make Lenses support metadata passed through the LensBuilder construction methods. H/T @​BBB, @​ivanmoore @​jack-bolles
  • http4k-testing-tracerbullet : Account for spans across traces with same spanId. H/T @​IvanPavlov1995

v5.14.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-tracerbullet : Improve identification of actor for incoming traces.
  • http4k-client-helidon : Various fixes H/T @​dkandalov

v5.14.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-tracerbullet : Improve identification of actor for incoming traces.
  • http4k-client-helidon : Various fixes H/T @​dkandalov

v5.14.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-contract : Validator optimisation. H/T @​dkandalov
  • http4k-testing-webdriver : Adding a space between method name and URI when naming spans H/T @​ReinholdsB
  • http4k-testing-webdriver : Multipart forms in the webdriver, including sending files. H/T @​gypsydave5
  • http4k-testing-webdriver : Fix bug in webdriver form submission + a method for relative Uri resolution. H/T @​gypsydave5

v5.14.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.23
  • http4k-* : Static handlers serve an index.html file from a subdirectory. H/T @​mbcltd

v5.13.9.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-contract : Implement Kondor Schema creator. H/T @​tamj0rd2
  • http4k-cloudnative : Read environment properties from yaml resources. H/T @​dzappold
  • http4k-webdriver : [Fix] Bug when submitting with inputs of type submit. H/T @​gypsydave5
  • http4k-testing-approval : Allow adding a suffix to an approval test file name. H/T @​becky-sequence

v5.13.8.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-format-kondor : Expose converterFor method. H/T @​tamj0rd2

v5.13.7.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-contract : Allow user to provide schema creation implementation. H/T @​tamj0rd2
  • http4k-core : [Fix #​1053]: Add BiDiLensSpec defaulted with factory method
  • http4k-core : [Fix #​1059]: Update kondor-json to 2.2.2. H/T @​asadmanji

v5.13.6.1

Compare Source

  • http4k-core : FollowRedirects also sets port on redirect.

v5.13.6.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-serverless-lambda :[Fix #​1057] Error when parsing AWS lambda event from S3 bucket
  • http4k-testing-webdriver :[Fix #​1050] Http4kWebDriver does not work on Windows due to path issues. H/T @​cmh-dev
  • http4k-core :[Fix #​1055] Host header should contain host with port. H/T @​obecker

v5.13.5.0

Compare Source

  • http4k-client-core : Ensure consistent content-length behaviour across clients
  • http4k-client-apache : Ensure consistent content-length behaviour across clients
  • http4k-client-apache4 : Ensure consistent content-length behaviour across clients
  • http4k-client-fuel : Ensure consistent content-length behaviour across clients
  • http4k-client-jetty : Ensure consistent content-length behaviour across clients

v5.13.4.1

Compare Source

  • http4k-* : Fix broken POM dependencies.

v5.13.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-contract : Support for data4k progressive data models with field metadata via delegate properties

v5.13.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-contract* : [Fix] Enums do not pick up custom prefixes in model naming. H/T @​ashcor for the tip-off!
  • http4k-opentelemetry* : [Fix] Fix to set HTTP_REQUEST_BODY_SIZE attribute in OpenTelemetryTracing. H/T @​dkandalov
  • http4k-contract* : Added Canonical model-namer.

v5.13.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-client-helidon : [Fix #​1037] Improve support for query parameters. H/T @​franckrasolo

v5.13.0.1

Compare Source

  • http4k-testing-tracerbullet : [Fix] Mermaid sequence diagram generation was constantly changing by default editorconfig files and people committing with
    different IDE settings
  • http4k-server-jetty : [Fix #​1023] Header values in quotes lose their quotes. H/T @​efasel, @​dhs3000

v5.13.0.0

Compare Source

  • http4k-format-jade4j : [Breaking] This module has been renamed due to the library Jade4J becoming Pug4J. Migration should be a no-op apart from switching
    the imported module, and renaming your templates from .jade to .pug. Please see Pug4j docs for anything else.
  • http4k-format-pug4j : [New module] Replacement for Jade4j

v5.12.2.1

Compare Source

  • http4k-webhooks : Move VerifyWebhookSignature filter to ServerFilters as it's not for HTTP clients!

v5.12.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-core : [New module!] Support for the Standard Webhooks format
  • http4k-core [Fix #​1022] For a request with matching if-none-match header the response lacks the etag header. H/T @​efasel
  • http4k-core [Fix #​1030] Maven POM for http4k-format-jackson-xml is invalid: jackson-dataformat-xml is missing a version

v5.12.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-core : Fix lens replacement of path parameter when there is a regular expression in the path segment
  • http4k-format-jackson : Added lens support for deserialising data4k containers directly
    from HTTP message bodies (via Body.json(::JsonNodeDataContainer)).toLens()

v5.12.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.22, and Jetty 12 (see below).
  • http4k-server-jetty - [Breaking] Upgrade to Jetty 12. This is a major rewrite of the Jetty engine and the API surface is incompatible with v11. If you are
    using vanilla Jetty backend then this is a NoOp replacement, otherwise fallback to using the new Jetty11 module and then plan migration accordingly. Massive
    H/T to H/T @​FredNordin for the implementation upgrade.
  • http4k-server-jetty11 - [New Module!] Drop-in replacement module for custom Jetty11 users. Constructor is now called Jetty11() instead of Jetty(), so
    migration should be very simple. Other renames as required (using 11) to avoid API clashes in the http4k codebase.
  • http4k-aws : [Breaking] Tweaks to the signature of AwsPreSignRequests. Use AwsRequestPreSigner instead. H/T @​oharaandrew314

v5.11.1.0

Compare Source

  • http4k-aws : Pre-sign AWS requests with the new AwsPreSignRequests class. H/T @​oharaandrew314
  • http4k-serverless-lambda : [Fix #​1013] Support multi value query parameters in ApiGatewayV2LambdaFunction (
    http4k-serverless/lambda)

v5.11.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-core : [Unlikely Break: Fix #​1011] Jackson does not honour serialisation of Enums when they are used as Map
    keys. The fix MAY break JSON serialisation (which actually is a bug as the expected behaviour is for the Enums to use
    the predefined mapping).

v5.10.7.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-core : [Fix #​1009] Extracting access token from non-standard AccessToken response fails

v5.10.6.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-core : Make RouterDescription print-friendly

v5.10.5.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-serverless-lambda : Add support for custom EventBridgeEvent format

v5.10.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.21

v5.10.3.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • **http4k-cont

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-http4k branch 7 times, most recently from f0aef10 to 4089946 Compare June 27, 2023 17:01
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 846e1e7 to 38b0292 Compare June 30, 2023 21:56
@renovate renovate bot force-pushed the renovate/major-http4k branch from 38b0292 to b1c7cae Compare July 9, 2023 19:37
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from e2833fe to 3c8564e Compare July 17, 2023 20:26
@renovate renovate bot force-pushed the renovate/major-http4k branch 3 times, most recently from 7a46a55 to a0f911b Compare July 30, 2023 16:03
@renovate renovate bot force-pushed the renovate/major-http4k branch 7 times, most recently from d9a9e10 to 9bad0a6 Compare August 13, 2023 16:54
@renovate renovate bot force-pushed the renovate/major-http4k branch 3 times, most recently from a7cae2a to 83f460c Compare August 20, 2023 16:43
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 8484a3d to 9daf5c0 Compare August 28, 2023 11:19
@renovate renovate bot force-pushed the renovate/major-http4k branch 3 times, most recently from 52a3e82 to f12ce96 Compare September 5, 2023 15:21
@renovate renovate bot force-pushed the renovate/major-http4k branch 8 times, most recently from c49d7a5 to 8f1b26d Compare November 30, 2024 08:04
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 87137a0 to c9a34d4 Compare December 6, 2024 16:41
@renovate renovate bot force-pushed the renovate/major-http4k branch 3 times, most recently from 2526ef5 to 22d5130 Compare December 12, 2024 17:36
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 058411d to 9de2731 Compare December 31, 2024 22:33
@renovate renovate bot force-pushed the renovate/major-http4k branch 6 times, most recently from 385bdb4 to 1229b97 Compare January 9, 2025 11:53
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 4d25c28 to 8a660dd Compare January 23, 2025 20:59
@renovate renovate bot force-pushed the renovate/major-http4k branch from 8a660dd to 3d39b28 Compare January 30, 2025 17:25
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 1b12a0a to a7f8e53 Compare February 13, 2025 12:43
@renovate renovate bot changed the title Update http4k to v5 (major) Update http4k to v6 (major) Feb 13, 2025
@renovate renovate bot force-pushed the renovate/major-http4k branch from a7f8e53 to 180ed42 Compare February 17, 2025 18:16
@renovate renovate bot force-pushed the renovate/major-http4k branch from 180ed42 to 6f47d2f Compare February 20, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants