Simple, high-performance event-driven HTTP client+server for Clojure
Dep/s: http-kit is on Clojars.
Versioning: http-kit uses Break Versioning.
This is a major feature and maintenance release. As always, please test carefully and report any unexpected problems, thank you! 🙏
Highlights include:
See linked commits below for details.
A huge thanks to the 10 contributors who helped create this release!
v2.7.0
(2023-06-30)v2.7.0
(2023-06-30)SimpleDateFormat
to java.time
, fixes native-image issue (@borkdude)Connection: Close
when appropriateinsecure?
client optionTimerService
(@weavejester)Content-Type
header to last-resort error responsesv2.7.0
(2023-06-30)utils/new-worker
improvements:nested-param-style
option to client requests (@wevre)v2.7.0
(2023-06-30)http.async.client
(@NoahTheDuke)v2.8.0-RC1
(2024-02-06):nested-param-style
option to client requests (@wevre)📦 Available on Clojars, this project uses Break Versioning.
This is a major feature and maintenance pre-release.
Please test carefully and report any unexpected problems, thank you! 🙏
Highlights include:
Please see linked commits below for details.
A huge thanks to all contributors!
v2.7.x
v2.7.x
SimpleDateFormat
to java.time
, fixes native-image issue (@borkdude)Connection: Close
when appropriateinsecure?
client optionTimerService
(@weavejester)Content-Type
header to last-resort error responsesv2.7.x
utils/new-worker
improvementsv2.7.x
http.async.client
(@NoahTheDuke)📦 Available on Clojars, this project uses Break Versioning.
Hotfix: identical to v2.8.0-beta2
but removes an unintended dependency on Cider. Thanks to @borkdude for the report!
📦 Available on Clojars, this project uses Break Versioning.
This is an early maintenance and feature pre-release.
Please test carefully and report any unexpected problems, thank you! 🙏
v2.8.0-beta1
Connection: Close
when appropriatev2.8.0-beta1
utils/new-worker
improvementsv2.8.0-beta1
📦 Available on Clojars, this project uses Break Versioning.
This is an early maintenance and feature pre-release.
Please test carefully and report any unexpected problems, thank you! 🙏
The main improvement in this release is to make it easier to automatically get good performance from http-kit client + server. Virtual threads are now used by default for both client and server on Java 21+, otherwise the default worker pools are now automatically sized based on available processor count.
As before, you may still want to customize your request queue and/or worker threading - but the changes here make it much easier to get started with reasonable defaults.
As always, feedback welcome! Cheers :-)
- Peter Taoussanis
v2.7.x
v2.7.x
insecure?
client optionv2.7.x
v2.7.x
http.async.client
(@NoahTheDuke)Please test carefully and report any issues!
Identical to 2.7.0-RC1
except for:
2.6.0
⚠️:insecure?
flag is currently brokenIdentical to 2.7.0-beta3
.
This is a major pre-release that includes many significant fixes and new features.
Please test carefully and report any issues!
A big thanks to the many contributors 🙏
2.6.0
⚠️:insecure?
flag is currently broken2.6.0
:client
valswith-channel
(@figurantpp):as :raw-byte-array
coercion for babashka use case (@xfthhxk):start-time
initial timestamp to requests (@niquola)org.http-kit.memmap-file-threshold
JVM property (@ikappaki)2.6.0
with-channel
, et al.2.6.0
with-channel
to as-channel
(@kipz)client/request
docstringIdentical to 2.7.0-beta2
except for:
cider-nrepl
plugin (@harold)This is a major pre-release that includes many significant fixes and new features.
Please test carefully and report any issues!
A big thanks to the many contributors 🙏
2.6.0
⚠️:insecure?
flag is currently broken2.6.0
:client
valswith-channel
(@figurantpp):as :raw-byte-array
coercion for babashka use case (@xfthhxk):start-time
initial timestamp to requests (@niquola)org.http-kit.memmap-file-threshold
JVM property (@ikappaki)2.6.0
with-channel
, et al.2.6.0
with-channel
to as-channel
(@kipz)client/request
docstring[http-kit "2.6.0"]
Non-breaking maintenance release with some fixes and minor features See here recommended steps when updating any Clojure/Script dependencies.
Identical to v2.6.0-RC1
.
2.5.3
2.5.3
2.5.3
2.6.0-alpha1