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 - 4.10.0.1

Published by github-actions[bot] over 3 years ago

Changelog:

  • Mistakenly released version with wrong number of digits. Re-release for clatiry
http4k - 4.10.0.0.0

Published by github-actions[bot] over 3 years ago

Changelog:

http4k - 4.9.10.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-security-digest* : New module! H/T @oharaandrew314 for the contribution!
http4k - 4.9.9.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-contract : Fix #626 - Non JSON bodies do not display examples.
  • http4k-* : Upgrade some dependency versions.
http4k - 4.9.8.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-testing-chaos* : Added ChaoticHttpHandler to allow easy creation of HttpHandlers which have a Kotlin API for creating chaos.
  • http4k-format-moshi* : Fix to support marshalling of exceptions and added IsAnInstanceOfAdapter to capture
  • http4k-* : Upgrade some dependency versions.
http4k - 4.9.7.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
http4k - 4.9.6.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-testing-strikt : New module! Matchers for Strikt assertion library.
  • http4k-core : no longer exposing UriTemplate.trimSlashes() . H/T @PaulienVa
http4k - 4.9.5.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-lambda* : Functions can now be matched on a pattern instead of an exact match.
http4k - 4.9.4.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-serverless-lambda-runtime : New module! Sidestep the AWS Lambda Runtime with the super lightweight http4k version!
http4k - 4.9.3.1

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-format-moshi : Fix Moshi to use nullsafe value adapters.
http4k - 4.9.3.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-serverless-lambda : Move initialisation of Moshi into loading stage for AWS Lambda functions.
http4k - 4.9.2.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-contract : Fix #622. DELETE requests not rendered with Body in OpenApi
  • http4k-serverless-lambda : Remove requirement for dependency on AWS Events JAR.
  • http4k-* : Upgrade some dependency versions.
http4k - 4.9.1.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-serverless-* : Allow custom automarshallers to be used for marshalling events in FnLoader, FnHandler construction.
  • http4k-core : (re)fix Body behaviour for ByteBuffers shorter than the array they wrap. This was taken out due to: H/T (again) @npryce
  • http4k-server-jetty - Multi-frame websocket messages are handled in Jetty. H/T @endofhome
http4k - 4.9.0.2

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-aws : Fix AWS request signing when using stream body.
http4k - 4.9.0.1

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-core : Revert body buffer "fix".
http4k - 4.9.0.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-serverless- : Reworking of Serverless infrastructure to support calling Serverless Functions using automarshalled event classes. New concepts of FnHandler and FnLoader (analogues to existing HttpHandler and AppLoader). Docs and examples coming soon!
  • http4k-serverless-lambda* : Support for FnHandlers, with super lightweight unmarshalling of event classes via Moshi. Conversion of all AWS functions to use RequestStreamHandlers under the covers instead of slow marshalling via Jackson. New FnHandlers should extend AwsLambdaEventFunction for events, or the existing ApiGateway*Function classes for HTTP functions. Automarshalling support for the following AWS event types, extensible by providing own Moshi adapter:
    • DynamodbEvent
    • KinesisEvent
    • KinesisFirehoseEvent
    • S3Event
    • ScheduledEvent
    • SNSEvent
    • SQSEvent
  • http4k-serverless-alibaba : [Breaking] Support for FnHandlers. Old style HTTP Handlers should now extend AlibabaCloudHttpFunction. Event functions should extend AlibabaCloudEventFunction. Extensible automarshalling support for event types using Moshi.
  • http4k-serverless-gcf* : Support for FnHandlers. Old style HTTP Handlers should now extend GoogleCloudHttpFunction. Event functions should extend GoogleCloudEventFunction. Extensible automarshalling support for event types using Moshi.
http4k - 4.8.2.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions. Remove excess dependency on alibaba libraries which depend on vulnerable libs.
http4k - 4.8.1.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Fix Body behaviour for ByteBuffers shorter than the array they wrap. H/T @npryce
http4k - 4.8.0.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-format-moshi : [Breaking] Add mappings for Map-type and List-like classes to use default serialisers. To get around this, create your own Moshi configuration, omitting the CollectionEdgeCasesAdapter
  • http4k-websocket-* : [Breaking] Added support for filters with WsFilter, which can be wrapped around a WsHandler or WsConsumer to decorate them with behaviour. This has involved changing WsHandler to always return a WsConsumer even if it doesn't match - in the case of a non-match, the socket is closed immediately.
  • http4k-sse-* : [Breaking] Added support for filters with SseFilter, which can be wrapped around a SseHandler or SseConsumer to decorate them with behaviour. This has involved changing SseHandler to always return a SseConsumer even if it doesn't match - in the case of a non-match, the socket is closed immediately.
  • http4k-* : Upgrade some dependency versions.
  • http4k-core : Repackaging of non-core classes for SSE/WebSockets into new http4k-realtime-core module. No action required unless these classes are needed without an implementation.
  • http4k-core : Repackaging of non-core classes for Serverless into new http4k-serverless-core module. No action required unless these classes are needed without an implementation.
http4k - 4.7.1.0

Published by github-actions[bot] over 3 years ago

Changelog:

  • http4k-* : Upgrade some dependency versions.