New integration modules:
comsat-spring-webmvc
– Spring Framework Web MVC fiber-blocking controller methods integration.
comsat-spring-boot
– Spring Boot auto-configuration support for Web MVC controllers.
comsat-spring-security
– Spring Security configuration support for fibers.
comsat-ring-jetty9
– Clojure Ring fiber-blocking adapter based on Jetty 9.
Breaking changes:
comsat-servlet
is now fully aligned to the standard Servlet API and allows using @WebServlet
annotations. To port code to the new version, remove throws SuspendExecution
from fiber-blocking servlets and replace it with a @Suspendable
annotation. Method bodies that throw SuspendExecution
will compile after wrapping them with:
try {
// ... method body
} catch(SuspendExecution e) {
throw new AssertionError(); // shouldn't happen
}
Improvements:
comsat-loader-tomcat
and comsat-loader-tomcat-jdk8
now work in standalone server mode too (verified with Tomcat 7.0.56 and 8.0.15).
comsat-servlet
now dispatches exceptions back to a servlet container's thread where they are re-thrown, so they can be handled correctly and reach the client.
- Several dependencies upgraded.