http4k

The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.

APACHE-2.0 License

Stars
2.5K
Committers
151

Bot releases are visible (Hide)

http4k - 3.275.0

Published by github-actions[bot] almost 4 years ago

Changelog:

  • http4k-core : Reimplemented core routing logic to be fully based on Routers. It is now possible to nest arbitrary levels of request matching in a mix-and-match way. And it's ace. :)
  • http4k-* : Pulled out a set of core modules for the various module types (format, template). This has shrunk the core module by ~10% in size
http4k - 3.274.0

Published by github-actions[bot] almost 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-format-kotlinx-serialization : Now supports Automarshalling. H/T @zsambek for the PR.
  • http4k-core : Added Markdown to static Mime-types. H/T @razvn for the PR.
  • http4k-security-oauth [Breaking]: Don't store the original call that required authentication in the state as it runs the risk of being used in an open-redirector phishing attack, instead store it as a value in the oauth persistence and retrieved on successful requests H/T @tom
http4k - 3.271.0

Published by github-actions[bot] almost 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-azure : New serverless module for Azure Functions!
http4k - 3.269.0

Published by github-actions[bot] almost 4 years ago

Changelog:

  • http4k-contract : Fix #502 - OPTIONS requests not honoured for requests with body
  • http4k-contract : Support for JavaBeans in OpenAPI descriptions.
http4k - 3.268.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-core : Add Parameter Match routing, so you can match on presence of parameters in a request
  • http4k-testing-kotest: Re-add kotest matcher as is fixed in underlying kotest lib.
http4k - 3.266.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Add CustomBasicAuth and ProxyBasicAuth filters. H/T @raymanoz for the PR
  • http4k-core : Implemented OriginPolicy for CORS. H/T @kratostaine for the PR
  • http4k-server-netty : Websocket support added. H/T @carbotaniuman for the PR
http4k - 3.265.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • [http4k-security-oauth] [Break (via repackaging of dependent JAR)] - Result4k changed published package structure. Changes made to accommodate new package dev.forkhandles.result4k instead of com.natpryce. To fix, simply find/replace the package names - everything else is identical.
  • http4k-serverless-lambda : Work around various inconsistencies between the APIGateway V1 and V2.
  • http4k-core : Lenses can now be restricted to inject/extract types. This has an effect on BodyLenses which can be tied to Request/Response.
http4k - 3.264.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-lambda : Support for ApiGateway V1 & v2 and AppLoadBalancer requests. Just extend the correct class. Converted functions to use the official AWS RequestHandler interfaces (which means that you can refer to just the name of the class when deploying lambda instead of handle())
http4k - 3.263.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-cloudnative : Add support for loading config files and YAML files into Environments.
http4k - 3.262.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions, including Kotlin to 1.4.10
  • http4k-* : Take advantage of Kotlin Functional Interfaces, including for Filter. Breaking change to creation of Filters from Java code only as they can just be lambdas eg. Filter filter = next -> req -> next.invoke(request.header("foo", "bar"));
  • http4k-testing-kotest - Possible Break: DUE TO KOTLIN 1.4.10. Remove a haveBody matcher which uses Matcher<JsonNode> directly, because of a bug in Kotest:
    https://github.com/kotest/kotest/issues/1727
  • http4k-format-jackson - Possible Break: DUE TO KOTLIN 1.4.10. Inline classes do not deserialise properly. See: https://github.com/FasterXML/jackson-module-kotlin/issues/356
http4k - 3.261.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-* : Remove some example code which was mistakenly added to some main src dirs. No impact on anything other than JAR size.
  • http4k-aws* : Add pluggable Amazon SDK client, allowing you to plug an HttpHandler into the Amazon SDK.
http4k - 3.260.0

Published by github-actions[bot] about 4 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-*, Unlikely break : Added some nicer naming and examples for when people are calling http4k via Java code.
  • http4k-core : Fixed SunHttp server backend not setting content length, and hence responses are always chunked.