Changelog for RingoJS 0.12
Release date: 17th June 2016
General
- Java 8 is required, dropped official support for other versions
- Updated to Rhino 1.7.7
- Updated to Jetty 9.3
- Dropped POSIX wrappers from
fsmodule and switched to Java NIO.2 - Package loader automatically loads JAR files defined in the package descriptor
Security
ringo/utils/httpsupports first-party only cookies- Added cookie path check for CTL characters
- Stricter implementation of RFC 2231 in MIME parser
- Added two missing unsafe characters to
escapeHtmlinringo/utils/strings(via Mathias Bynens)
Core and Modules
- Rewrite of the
fsmodule using Java NIO.2 - Removed
ringo/jsdoc,ringo/parser,ringo/markdown, andringo/mustache - Server-Sent event support via
ringo/jsgi/eventsource ringo/jsgi/connectorchangedhandleRequest()to not expect a module exporting a property containing the handler function (egexports.app), but also allow usingmodule.exportsto export the handlerringo/httpclientdropped callbacks since it has never been asyncringo/httpservernow uses IPv4 127.0.0.1 instead of localhost as default, initializer now respectsjetty.xml- HTTP query parameter parsing: adds support for multi-key parsing, e.g.
?a=1&a=2becomes an arraya=["1", "2"]; empty parameters are supported now instead of being dropped AsyncResponseuses Servlet 3.1 asynchronous response writes instead of continuations- Removed Jetty Continuation support
- HTTP server's
addWebSocket()now accepts an optionalonCreatecallback function ringo/utils/httpfixed to run on Google App Engineringo/utils/httpsupports complex objects inurlEncode()- Added more MIME types to the MIME parser
- Multiple HTTP header support in various modules
- Resolve
ModuleLoader.javafile descriptor leak points - Better
worker.toString()for easier tracking of individual threads - Added response.stream() method to JSGI helper
- Added a shutdown hook to save the shell history to disk
- Console module now prints to stderr for .error() and .warn()
Documentation
- Improved the module documentation, added a lot of examples
- Removes old
ringo-doccommand
Contributors
- Robert Gaggl
- Philipp Naderer
- Simon Oberhammer
- sclee15