Skip to content

0.8.0

Compare
Choose a tag to compare
@pron pron released this 03 Sep 10:57
· 774 commits to master since this release

New Features

  • Capsule supports Maven's settings.xml for authentication of private repositories
  • A capsule's Maven repositories can be given ids (in the form id(url) rather than just url)
  • The CAPSULE_REPOS environment variable can now take a whitespace separated list (in addition to a comma-separated list)
  • Added a default log level attribute as well as a NONE log level
  • Programmatically set the capsule's mode in a custom capsule
  • The Args attribute can now address and reorder command line arguments with $*, $1, $2 etc.
  • Specify JVM arguments that apply only to the application on the command line via the capsule.jvm.args property
  • The application's (child) process pid is now published with a system property to be queried with jcmd or other tools.
  • Really executable capsules can now use "capsule trampolining" to execute the application directly in the parent process (the process launched at the command line) rather than in a child process.
  • The online documentation now includes Javadocs for all Capsule subprojects.

Bug Fixes and Improvements

  • The Capsule JAR file size has been reduced from about 2MB to under 1.5MB (not relevant for fat capsules)
  • JARs in the Capsule's root are now added to the default classpath in lexical-order, to prevent different behavior on different platforms (the order can be explicitly specified with the App-Class-Path attribute)

Breaking Changes

  • Repositories listed in the CAPSULE_REPOS environment variable are now prepended to the capsule's repositories rather than replace them
  • Some of Capsule's methods have changed names, which could affect custom capsules. See the Capsule class's Javadoc