Skip to content

v0.11.0 - The Undertow Edition

Compare
Choose a tag to compare
@testinfected testinfected released this 18 Nov 15:46
· 162 commits to master since this release

Added

  • A basic authentication middleware with pluggable authentication providers. (#28)
  • A server adapter for powering Molecule with Undertow. Undertow is fast! (#53)
  • The possibility to check for the presence of a given request parameter.
    This avoids checks against null for boolean parameters. See Request#hasParameter. (#49)
  • The request query string. See Request#query. (#54)
  • The server host name and the request host name, the latter taken from the HOST header.
    See Request#serverHost and Request#hostname. (#55)
  • The server port and the request port, the latter taken from the HOST header.
    See Request#serverPort and Request#port. (#56)
  • The request scheme. See Request#scheme. (#58)
  • The reconstructed request URL. See Request#url. (#57)

Changed

  • The testing package, which contains helpers for testing applications built with Molecule, is now included in the main jar.
    The test jar is no longer distributed. (#51)
  • Request input streams are now closed automatically at the end of the request cycle. This includes file uploads. (#52)

Fixed

  • The test HTTP client no longer loses the Content-Type header when creating a fresh request from
    a prototype request. (#50)
  • ETag middleware now properly closes original body after computing ETag.