Skip to content

v0.14.0

Latest
Compare
Choose a tag to compare
@testinfected testinfected released this 28 Feb 04:06
· 44 commits to master since this release

Added

  • The ability to load mustache view templates from the classpath, in situations where they're bundled in a jar. (#72)
  • An additional clause to route definitions for routing requests based on the HTTP Accept header. (#70)
  • A way to do simple static routing based on HTTP verbs using Predicates.
    A set of basic predicates is provided out-of-the-box. (#70)

Changed

  • Drop Matcher interface in favor of Java 8 Predicate. (#69)
  • As a consequence to introduction of static routing, DynamicRoutes has been renamed to Routes. (#70)

Fixed

  • An error occurring when compressing responses without a content type. (#71)