Skip to content

2.0.0-Final

Choose a tag to compare

@miere miere released this 05 Aug 21:35

Enhancements / New features

Better Dependency Injection engine

#68 tRip project, once proved to be mature and used under heavy-load environment, was merged and completely reviewed into a module on the Kikaha's core. This new engine became focused on JSR-299/330 annotations providing better integration with the most used design patterns that interoperates with DI pattern. Also, it made simple and fun to create standalone applications - in a Spring-boot fashion. Its main feature was kept intact - pre-generate its dependencies at compile time.

Smart Routes

At this release, the former Reverse and Proxy routing rules were grouped into a set of automatic routing rules called Smart Routes. We will call Smart Routes every route that can change the default behavior of standard requests. With Smart Routes you can redirect, intercept, filter and also proxy requests to another server.
#60: Add CORS support
#159 Developers should able to configure CORS to allow credentials
#150 Include an auto-redirect rule similar to reverse and rewrite ones
#148 Allow developers to Filter requests in a Servlet Filter fashion

WebSocket improvements

#158 WebSocket 'onText' should be able to handle Objects
#157 WebSocket messages should be handled at the Workers thread pool
#161 Allow receive JSON serialized objects on WebSocket routes

Other important enhancements

#139 Created a new (and faster) configuration module, based on the popular YML format
#141 New modular (and simple) system - it allows developers to easily customized Kikaha (or Undertow runtime)
#122 Better feedback handling missing Content-Types
#135 Better 404 experience when no mustache template is found
#164 Allow receive primitive type as parameters received from Http requests
#147 Included a more convenient API to handle requests through the Undertow API
#151 Better experience when dealing with user sessions (logged in users, attaching attributes, logout, etc..)
#154 Headers sent as response should use HttpString to store their names
#146 Allow start Undertow in HTTP 2.0 mode (it still requires Jetty ALPN to run)

Bug Fixes

#152 Cannot find unserializer for Content-Types that also have charset encoding define
#153 Cannot send parameters with primitive types on routing methods (see #164)
#155 Cannot handle NullPointerException when no custom ExceptionHandler is available
#156 Cannot start Kikaha on Windows
#163 CORs' Smart Route does not allow PUT request (even if configured for PUT requests)