RestExpress 0.11.3 is available in Maven Central

42 views
Skip to first unread message

Todd Fredrich

unread,
Feb 11, 2016, 1:11:24 PM2/11/16
to RestExpress
Hey RestExpressians!

The latest release of RestExpress is 0.11.3. Version 0.11.3-SNAPSHOT is no longer available.

Use this instead in your POM file:
        <dependency>
            <groupId>com.strategicgains</groupId>
            <artifactId>RestExpress</artifactId>
            <version>0.11.3</version>
        </dependency>
A summary of the changes are:
Changed signature of RestExpress.serializationProvider(SerializationProvider) to return the RestExpress server instance to facilitate method chaining.
Issue #38 - Produce error on no routes defined for server. Now throws NoRoutesDefinedException on bind() if no routes are defined.
Issue #122 - Listen on prescribed local IP address.
Issue #123 - Routes Exception when using PATCH method.
Issue #125 - Changed DefaultExceptionMapper to map cause for RuntimeException (not sub-classes) so all exceptions get mapped correctly from the mapping settings. Left a version, LegacyExceptionMapper, for old behavior. If you want legacy behavior, simply call server.setExceptionMapping(new LegacyExceptionMapper());
Upgraded to jackson-databind 2.6.0 (from 2.4.2).
Minor fixes due to FindBugs report. There were 11 easily fixable issues reported by FindBugs: primarily equals(), hashCode() and compareTo() implementations.
Added UnprocessableEntityException (for 422 status code).
Upgraded to: Netty 4.0.34.Final, XStream 1.4.8, OWasp Encoder 1.2, Jackson Databind 2.7.1-1, HTTP Client (test) 4.5.1

Enjoy!
--Todd

Todd Fredrich

unread,
Feb 11, 2016, 1:17:42 PM2/11/16
to RestExpress
BTW, with the latest release of RestExpress, all of the other micro-libraries have also been upgraded and released. This Google spreadsheet will let you know what the latest release status is of everything, RestExpress, RepoExpress, plugins, etc.:


Reply all
Reply to author
Forward
0 new messages