Skip to content

Releases: ringo/ringojs

v2.0.0

27 Jul 11:02
Compare
Choose a tag to compare

Changelog for RingoJS 2.0.0

Release date: 27 July 2020

With 2.0.0 the HttpServer module has been completely rewritten. It supports a fluent configuration style and has renamed misguiding configuration options. The module is battle-tested by the @orfon team in various production environments.

Breaking Changes

  • Updated to Rhino 1.7.12 commit
  • Updated to Jetty 9.4.30.v20200611 commit
  • Switched to new httpserver module by @grob commit
  • Removed fs.workingDirectory(), fixes #393 commit

New Features

  • Added supportsFileAttributeView() to file utils commit
  • Hardened default ssl configuration commit
  • HttpClient's user agent includes its corresponding Ringo version commit

Bugfixes

  • Fixed JAVA_HOME_DIRS to work in Docker builds commit
  • Adds AdoptOpenJDK's HOME_DIR to deb package rules commit
  • Updates debian package configuration commit
  • Fixed #404 to improve compatibility with the new HttpServer module commit
  • Adds additional test for new date methods commit
  • Removes GAE workaround, fixes #367 commit
  • Dates test need to run in local time commit
  • Adds java.time helpers, fixes 394 commit
  • Harmonizes toISOString() with Date commit
  • POSIX permissions won't work on Windows commit
  • Fixed classloader error with Java 9+ commit
  • Changed order of module scope modifications commit
  • Only set executable permissions on non-Windows filesystems, as fs .changePermissions() throws on Windows commit

Contributors

  • Robert Gaggl
  • Philipp Naderer-Puiu
  • Simon Oberhammer

v1.2.1

09 Nov 11:53
Compare
Choose a tag to compare

Changelog for RingoJS 1.2.1

Release date: 10 November 2017

This release fixes a major bug introduced with the update to Rhino 1.7.7.2, so we switched back to 1.7.7.1.

Changes

  • Updated to SLF4J to 1.7, commit

Bugfixes

  • Revert back to Rhino 1.7.7.1, commit
  • Dropped Xbootclasspath which allows Ringo to run on JDK9, commit, #381

Signed Checksums

Beginning with RingoJS 1.2.1 the release checksums are signed by Philipp Naderer-Puiu with fingerprint DE2A A9A1 B018 6C2F 622F D9EF 3F47 C28B 23EB 3072.

Contributors

  • Robert Gaggl
  • Philipp Naderer-Puiu
  • Simon Oberhammer

v1.2.0

27 Oct 08:23
Compare
Choose a tag to compare

Changelog for RingoJS 1.2.0

Release date: 27 October 2017

Features & Changes

  • updated to Jetty 9.4.7 to prepare JDK 9 support, enables native ALPN/SSL provider, Hazelcast session management, better HTTP2 support, see commit
  • updated to Rhino 1.7.7.2, see #380
  • added new helpers setHeaders() and setContentType() in the JSGI response module, see #371
  • switched to Java NIO.2 in file system utils ringo/utils/files, see #376
  • enabled permissions on a temporary file, see #379
  • added optional custom separator and equals delimiter in http.urlEncode(), see #375

Bugfixes

  • ringo/term required both write and writeln imported to be functional, which has been resolved, see #377
  • a file test failed on Windows commit
  • fixed the standard log4j.properties, see #372
  • fixed file-based streams if using response.stream(), auto-closing now, see commit

Contributors

  • Robert Gaggl
  • Philipp Naderer-Puiu

v1.1.1

22 Feb 15:11
Compare
Choose a tag to compare

Changelog for RingoJS 1.1.1

Release date: 22 February 2017

Bugfixes

  • in high-load environments a circular dependency between ringo/utils/dates and ringo/utils/strings could cause a deadlock in the module loader - commit

Contributors

  • Robert Gaggl
  • Philipp Naderer-Puiu

v1.1.0

20 Feb 14:57
Compare
Choose a tag to compare

Changelog for RingoJS 1.1.0

Release date: 20 February 2017

Features & Changes

  • Updates to Jetty 9.4, fixes #364 - commit
  • Adds HTTP Range Request support, fixes #363 - pull request
  • Re-adds pom.xml and RingoJS returns to the Maven Central Repository, fixes #315 - commit

Bugfixes

  • javac source and target switched back to 1.7 instead of 1.8 to keep RingoJS compatible with Google App Engine - commit

Contributors

  • Robert Gaggl
  • Philipp Naderer-Puiu
  • Simon Oberhammer

v1.0.0

14 Dec 13:19
Compare
Choose a tag to compare

The first major stable release of Ringo!

Features & Breaking Changes

  • Updates to Rhino 1.7.7.1, fixes #337 - commit
  • New objects.clone(); ports the node-clone package to Ringo (#345) - commit
  • Improved string and dates util modules (#343) - commit
    • Adds custom date format to dates.parse()
    • Adds toggle for lenient date parsing
    • Adds strings.isDate() check
    • Removed unnecessary import of binary module
  • Allow HTTP middlewares to preserve & modify input stream (#351) - commit
  • ringo -version displays patch version number - commit

Bugfixes

  • Fixed response.stream(); adds response.binary() for binary HTTP responses - commit
  • Stricter check for multipart form request data - commit
  • Adds content type parameter for BinaryPart in multipart/form-data requests - commit
  • Switched to ringo/mime instead of Java's guessContentTypeFromName() in the HTTP client - commit
  • Accept Content-Encoding values case-insensitive (#354) - commit
  • Fixes ringo-admin - commit
  • Adds <async-supported> to web.xml - commit
  • Fixed behaviour of http.setCookie() for negative numbers - commit

v1.0.0-rc1

11 Oct 12:28
Compare
Choose a tag to compare
v1.0.0-rc1 Pre-release
Pre-release

This is a release candidate of Ringo's first major release. We will fix bugs, but no new features or breaking API changes will be accepted.

Features & Breaking Changes

  • Updates to Rhino 1.7.7.1, fixes #337 - commit
  • New objects.clone(); ports the node-clone package to Ringo (#345) - commit
  • Improved string and dates util modules (#343) - commit
    • Adds custom date format to dates.parse()
    • Adds toggle for lenient date parsing
    • Adds strings.isDate() check
    • Removed unnecessary import of binary module
  • Allow HTTP middlewares to preserve & modify input stream (#351) - commit

Bugfixes

  • Fixed response.stream(); adds response.binary() for binary HTTP responses - commit
  • Stricter check for multipart form request data - commit
  • Adds content type parameter for BinaryPart in multipart/form-data requests - commit
  • Switched to ringo/mime instead of Java's guessContentTypeFromName() in the HTTP client - commit
  • Accept Content-Encoding values case-insensitive (#354) - commit
  • Fixes ringo-admin - commit

v0.12.0

17 Jun 15:45
Compare
Choose a tag to compare

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

v0.11.0

22 Dec 12:24
Compare
Choose a tag to compare

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

RingoJS 0.11 Release Candidate

19 Dec 15:02
Compare
Choose a tag to compare
Pre-release

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