Skip to content

Hammock 1.3

Compare
Choose a tag to compare
@johnament johnament released this 23 Apr 23:57
· 166 commits to master since this release

Hammock 1.3 Release Notes

New Modules

  • Camel integration via ws.ament.hammock:util-camel:1.3. This brings in the Servlet and CDI modules, enabling Camel to expose Servlet endpoints. This makes for a good way to use the Rest DSL and other routing functions. Its based on Camel 2.18.3. (#84)
  • Bean Validation integration via ws.ament.hammock:util-beanvalidation:1.3. This brings in Hibernate Validator, its CDI plugin, and javax.el support. Its based on Hibernate Validator 5.4.1.Final. (#86)
  • OpenZipkin Brave via ws.ament.hammock:util-brave:1.3. This brings in the JAX-RS 2 integration for OpenZipkin's Brave. (#87) - More Info

Major changes

  • JBoss Weld 3 is now the default CDI runtime when you pull in dist-microprofile. Hammock is still based on CDI 1.2 APIs, but end users can make use of the improved features in CDI 2.0. (#83)
  • WebServer bootstrap is once again fixed in the AfterDeploymentValidation phase. (#82)
  • Logging support is much better starting in this release. Log4j2 is used as a logging aggregator, and bringing in Hammock Core also brings in the Log4j2 libraries, including JUL logging and SLF4J integration. As long as you use Hammock to Bootstrap your application, all log messages will be fed into Log4j2. (#85)

Backwards Compatibility issues

No major changes, however various libraries were upgrade to major versions:

  • CXF
  • Tomcat
  • Mockito
  • Hibernate
  • RestEasy
  • Undertow

Getting Started

To get started, visit LayingInYourFirstHammock