:rocket: Hey everyone! We're excited to announce t...
# http4k
s
πŸš€ Hey everyone! We're excited to announce the release of http4k v6! πŸš€It includes major changes to ecosystem, including setting the minimum Java support to 21*, rewriting of the routing, new modules for Datastar, Helidon and bridges to other popular JVM frameworks, the introduction of the first few Pro modules and more! You can read the full announcement here: https://http4k.org/v6 *_long-term support for http4k v5 and older Java versions available in Enterprise Edition subscription_
❀️ 7
πŸŽ‰ 3
k
Nice, I'm rolling up my sleeves to bump the version πŸš€πŸš€πŸš€πŸš€πŸš€ PS. One link here is broken, I get 404.
πŸͺš 1
s
The link should work now. Thank you for spotting it, @Konrad Sn!
πŸ‘ 1
k
Do we have any built-in replacement for this?
Copy code
http = reverseProxy(),
It used to be pretty handy as stub in tests, but now I get this:
Copy code
java.lang.IllegalArgumentException: No routes added!
        at org.http4k.routing.RoutingHandler.<init>(RoutingHandler.kt:19)
        at org.http4k.routing.RoutingHttpHandler.<init>(http.kt:23)
        at org.http4k.routing.ReverseProxyKt.reverseProxyRouting(ReverseProxy.kt:17)
        at org.http4k.routing.ReverseProxyKt.reverseProxy(ReverseProxy.kt:11)
s
Not really. If you need a stub, the equivalent would be a handler to return 404
k
Ok, well, using custom proxy helped, so all tests green with V6, thanks.
K 1
http4k 1