v0.12.0

@botic botic released this Jun 16, 2016 · 11 commits to master since this release

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 fs module and switched to Java NIO.2
  • Package loader automatically loads JAR files defined in the package descriptor

Security

  • ringo/utils/http supports 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 escapeHtml in ringo/utils/strings (via Mathias Bynens)

Core and Modules

  • Rewrite of the fs module using Java NIO.2
  • Removed ringo/jsdoc, ringo/parser, ringo/markdown, and ringo/mustache
  • Server-Sent event support via ringo/jsgi/eventsource
  • ringo/jsgi/connector changed handleRequest() to not expect a module exporting a property containing the handler function (eg exports.app), but also allow using module.exports to export the handler
  • ringo/httpclient dropped callbacks since it has never been async
  • ringo/httpserver now uses IPv4 127.0.0.1 instead of localhost as default, initializer now respects jetty.xml
  • HTTP query parameter parsing: adds support for multi-key parsing, e.g. ?a=1&a=2 becomes an array a=["1", "2"]; empty parameters are supported now instead of being dropped
  • AsyncResponse uses Servlet 3.1 asynchronous response writes instead of continuations
  • Removed Jetty Continuation support
  • HTTP server's addWebSocket() now accepts an optional onCreate callback function
  • ringo/utils/http fixed to run on Google App Engine
  • ringo/utils/http supports complex objects in urlEncode()
  • Added more MIME types to the MIME parser
  • Multiple HTTP header support in various modules
  • Resolve ModuleLoader.java file 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-doc command

Contributors

  • Robert Gaggl
  • Philipp Naderer
  • Simon Oberhammer
  • sclee15

Downloads

v0.11.0

@botic botic released this Dec 22, 2014 · 235 commits to master since this release

Core and Modules

  • Dropped Narwhal support
  • addToClasspath() throws an exception if it fails
  • Changed redirect() and notModified() to return the JsgiResponse instance instead of a plain JS
  • Added missing removeAllListeners() proxy method to JavaEventEmitter
  • Added y64encode, y64decode, isInt, isFloat, isUpperCase and isLowerCase to ringo/utils/strings
  • Minor improvements in the fs module
  • Removed UTC based calculation for dates.diff()
  • Added charset to JsModuleLoader's getReader() call
  • Allow setting of session cookie domain and path too
  • module.resolve() was broken on windows
  • Made httpserver more configurable

Documentation

  • Improved the module documentation, added a lot of examples
  • Droped Maven's pom.xml: no longer maintained
  • Building a RingoJS-package for distribution now requires an empty /packages directory
  • Fixed JavaDoc errors

General

  • Switched to Jetty 8
  • Improved the Google App Engine skeleton
  • Dependencies: Instead of .orbit dependency: use direct download for Jetty
  • Adds new ant build target jsdocs

Downloads

RingoJS 0.11 Release Candidate

@botic botic released this Dec 19, 2014 · 237 commits to master since this release

If no objections, this will be RingoJS 0.11 on Monday.

Downloads