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 v5 (major) #1050

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

Update http4k to v5 (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.0.0 -> 5.35.1.0 age adoption passing confidence
org.http4k:http4k-server-jetty (source) 4.48.0.0 -> 5.35.1.0 age adoption passing confidence
org.http4k:http4k-core (source) 4.48.0.0 -> 5.35.1.0 age adoption passing confidence

Release Notes

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

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-contract [Fix #​1002]: Ability to use RequestContexts for providing a User Principal with Security.

v5.10.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-core- : [Fix] FollowRedirects now remove host header
  • http4k-testing-webdriver- : Ability to inject clock into the Webdriver

v5.10.1.0

Compare Source

  • http4k-testing-webdriver* : Allow the originalUri method of the OAuthRedirectionFilter to be configured when
    constructing an OAuthProvider H/T @​mbcltd
  • http4k-format-* : Add alternative syntax for Automarshalling injection/extraction of bodies into and out of
    HttpMessages

v5.10.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.20
  • http4k-testing-webdriver* : Host header is populated in Http4kWebDriver H/T @​mbcltd

v5.9.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-server-helidon : [Breaking] Upgrade to stable v4 of Helidon, API changes.
  • http4k-client-helidon : [Breaking] Upgrade to stable v4 of Helidon, API changes.
  • http4k-* : [Breaking - dev only] http4k is now built with Java 21, although Java 8 is still targeted.

v5.8.6.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : New filter to validate zipkin headers. H/T @​time4tea

v5.8.5.1

Compare Source

  • http4k-* : Fix maven dependencies marked as optional in various http4k modules

v5.8.5.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including CVE fix for Jetty.
  • http4k-core : Rename Events.then() with Events.and() for clarity.

v5.8.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-lambda : Add support to multiple query/header values with the same key

v5.8.3.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-incubator* : Added HTMX emulation on Http4kWebDriver H/T @​mbcltd

v5.8.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core* : Added extension function ExecutionService.withRequestTracing() to propagate Zipkin traces across
    threads

v5.8.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : BiDiLenses now implement LensInjectorExtractor

v5.8.0.0

Compare Source

  • http4k-core : BiDiLenses now implement LensInjectorExtractor
  • http4k-contract : [Unlikely break] NoRenderer now returns a 404 instead of an empty JSON document.

v5.7.5.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-aws : Add support for AwsSdkAsyncClient. H/T @​oharaandrew314

v5.7.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-testing-playwright : [New Module] Easily browser-test your http4k apps with this Playwright JUnit
    extension! H/T @​dmcg for the inspiration.

v5.7.3.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.10
  • http4k-htmx : Added hyperscript.js webjar to the distribution.

v5.7.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-htmx : [New Module] Basic support for htmx development, including Webjar and custom lens types
  • http4k-testing-webdriver : Improve support for radio buttons and radio groups in the http4k-testing-webdriver. H/T
    @​mbcltd

v5.7.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-contract* : [Fix #​964] ContractRoute - inconsistent behavior on route matching. H/T @​potfur for the
    investigation.

v5.6.5.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-testing-approval : Whitespace is now trimmed from end of approval file content. Improves compatibility with
    IntelliJ (as final line endings might be added automatically)
  • http4k-testing-webdriver : [Fix #​963] Submitting empty textarea form element in the webdriver causes a validation
    error

v5.6.4.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-server-apache4: Upgrade compromised commons-codec version. H/T @​oharaandrew314
  • http4k-template-jte : [New module] JTE templating support

v5.6.3.0

Compare Source

  • http4k-security-oauth :Add ability to override response mode in OAuthProvider.

v5.6.2.1

Compare Source

  • http4k-core : [Fix] Extend URI now supports fragment parameters

v5.6.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions
  • http4k-security-oauth : [Fix] In-memory request tracking for FakeOAuthServer now supports full AuthRequest.

v5.6.1.0

Compare Source

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-core : Add some filters for Serverless functions.

v5.6.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Added nonBlank() to set of standard BiDiMappings. H/T @​dmcg
  • http4k-core : [Unlikely break: Fix #​956] Lenses don't really work for optional fields in HTML form parsing.
    Form-fields are now filtered for values which are not blank. This means that you may need to change form lenses to be
    optional and default to an empty string if they are missing.

v5.5.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-cloudnative - Add support for enums in EnvironmentKey
  • http4k-testing-tracerbullet : [Breaking] Fixed SequenceDiagrams for Mermaid to be formatted correctly. This may
    break approval files for any tests.

v5.4.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-client-helidon : API changes from Helidon alpha to M1
  • http4k-server-helidon : API changes from Helidon alpha to M1
  • http4k-contract : [Fix #​750] JacksonFieldMetadataRetrievalStrategy is incompatible with kotlinx.serialization
    @​Serializable classes. H/T @​krissrex
  • http4k-realtime-core : [Fix #​951] Add filters to initialise request context for SSE and WS.
  • http4k-realtime-core : [Fix #​885] Accept websocket subprotocols. Note that not all servers are currently supported
  • http4k-server-jetty : [Fix #​885] Support subprotocols for Websockets

v5.4.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-aws: [Fix #​656] AWS request signing issue for URLs with special characters. H/T @​krissrex
  • http4k-aws: [Fix #​947] AWS request signing issue for duplicated headers and header values with multiple spaces.
    H/T @​krissrex
  • http4k-format-kondor-json: [Unlikely Break] Upgrade kondor-json to 2.0.0. H/T @​FredNordin

v5.3.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.9.0.
  • http4k-core : Surface root error messages in Body lenses when failure occurs on deserialisation.
  • http4k-template-thymeleaf : [Unlikely Break] Use HTML rendering mode and .html suffix by default for Thymeleaf
    templates. H/T @​mikaelstaldal

v5.2.1.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : [Fix #​939] Override all Request and Response mutators for routed messages. H/T @​kwydler

v5.2.0.0

Compare Source

  • http4k-contract-jsonschema : [New module] Extracted this so we can reuse in non-OpenAPI scenarios
  • http4k-contract : [Deprecation] Repackaging of JSON schema classes. Should only affect users if they have
    explicitly used/extended the standard behaviour.

v5.1.2.1

Compare Source

  • http4k-serverless-lambda* : [Fix #​936] AWS SQS null deserialization issues

v5.1.2.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-security-oauth* : Remove dependency on Kotlin-reflect by adding custom adapters. H/T

v5.1.1.1

Compare Source

  • http4k-serverless-lambda* : [Fix #​933] AWS SQS deserialization issue when md5OfMessageAttributes is null. H/T
    @​oharaandrew314

v5.1.1.0

Compare Source

  • http4k-realtime-core* : Readd test client methods for SSE and WS

v5.1.0.0

Compare Source

  • http4k-server-realtime-core* : [Breaking - Fix #​931] Change Websocket and SSE interfaces to return WsResponse
    and SseResponse objects. This makes it easier to set response headers and control if a connection is made from the
    incoming request as it is no-longer hidden (it is exposed at the top level instead of being hidden in the SSE and
    Websocket objects). It also means that the interfaces for the protocols follow the same pattern.
  • http4k-server-jetty* : As above
  • http4k-server-undertow* : As above
  • http4k-core* : [Fix #​930] Update content-length header after GZipping it. H/T @​bjornbugge

v5.0.0.0

Compare Source

  • http4k-* : Upgrade some dependency versions.
  • http4k-* : [Breaking] Remove all previous deprecations from all modules for v4. To upgrade cleanly, first upgrade
    to v4.48.0.0 and then re-upgrade to v5.0.0.0. This will ensure that you only have to deal with Deprecations
    between the major versions.
  • http4k-templates-dust: [Breaking] Nashorn is finally removed, so we are dropping support for this module. If you
    are on-pre Java 19 you can continue to use the old module version with no breaking changes.
  • http4k-*: [Breaking] http4k is now built with Java 20. We are still compiling for older Java versions. New major
    versions will now be incoming with every major JDK release in order to track new and retired JVM features (6 month
    cycle).
  • http4k-server-jetty: New Server Backend JettyLoom, based on Loom VirtualThreads. Requires Java 21 to use.
    Standard Jetty remains usable with any Java version.
  • http4k-core: New Server Backend SunHttpLoom, based on Loom VirtualThreads. Requires Java 21 to use.
    Standard SunHttp remains usable with any Java version.
  • http4k-server-helidon: [New Module] Helidon is a Loom-first rewrite of the popular server. Requires Java >= 19 to
    use.
  • http4k-server-websocket: [New Module] A lightweight Websocket server built
    on TooTallNate/Java-Websocket. H/T @​oharaandrew314
  • http4k-client-helidon: [New Module] An HTTP client build from the ground up to take advantage of project Loom.
    Requires Java >= 19 to use.
  • http4k-format-kondor-json: [New Module] Support for KondorJson , the
    reflection-free JSON library.
  • http4k-testing-tracerbullet: [New Module] TracerBullet allows you to hook into the http4k Events implementation
    to visually document your applications through testing. See example in reference guide.
  • http4k-contract: Allow RouteMetaDsl to be marked as hidden H/T @​oharaandrew314

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 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 2 times, most recently from 4490861 to c86bcc7 Compare June 9, 2024 22:32
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 5a47327 to 4dec939 Compare July 7, 2024 12:24
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 56e2f26 to cd701b7 Compare August 6, 2024 13:03
@renovate renovate bot force-pushed the renovate/major-http4k branch 4 times, most recently from 1c831fc to adf23cb Compare August 25, 2024 18:06
@renovate renovate bot force-pushed the renovate/major-http4k branch 3 times, most recently from 0d17bae to b113000 Compare September 23, 2024 15:47
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from addf7f2 to 380ac55 Compare October 2, 2024 18:08
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 38a8548 to f9e052f Compare October 9, 2024 11:43
@renovate renovate bot force-pushed the renovate/major-http4k branch 2 times, most recently from 1a417e8 to a2a00f1 Compare October 25, 2024 16:51
@renovate renovate bot force-pushed the renovate/major-http4k branch 3 times, most recently from c15dd20 to 796cbec Compare November 15, 2024 17:28
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