Skip to content

Releases: hammock-project/hammock

Hammock 2.1

05 Mar 00:36
Compare
Choose a tag to compare

Hammock 2.1 continues to align to Java EE 8 technologies, and adds new MicroProfile capabilities from 1.2 and 1.3.

  • Apache CXF upgraded to 3.2.2 which brings in the CXF MP Rest Client implementation
  • RestEasy upgraded to 3.5, which brings in their MP Rest Client implementation
  • Swagger upgraded to rc4, which is based on Open API 3.0.1
  • Support for FlexyPool has been added
  • Support for MicroProfile Fault Tolerance with Safeguard
  • Support for MicroProfile Config 1.2
  • Support for MicroProfile Health Checks in both array and object types
  • Weld configuration can be read from MP Config sources
  • Configuration settings for entities can be read from config sources

For a full list of changes take a look here

Known issues

  • OpenWebBeans integration does not work properly
  • While you can disable CXF's SSE integration, the libraries cannot be removed

Hammock 2.0

22 Sep 14:52
Compare
Choose a tag to compare

Hammock 2.0 is a major change for Hammock. It makes things a bit simpler to integrate, and makes major shifts in the code structure to align with Java EE 8 and MicroProfile 1.2

  • Dropped Apache DeltaSpike in favor of MicroProfile Config
  • Added a secondary Health check specific utility to support MicroProfile Health Checks
  • JWT has been refactored to better align to the specifications from MicroProfile JWT Auth
  • The framework is based fully on CDI 2.0
  • Component upgrades to align with Java EE 8:
    • Weld 3.0.1
    • OpenWebBeans 3.0.1
    • CXF 3.2
    • Jersey 2.26
    • Johnzon 1.1.3 with both JSON-P and JSON-B support, Johnzon is now automatically registered when using the dependency ws.ament.hammock:johnzon:2.0

For a full list of changes take a look here

Hammock 1.5

17 Jul 03:11
Compare
Choose a tag to compare

Hammock 1.5 Release Notes

New Features

  • Security, Security, Security! Security was a big theme for this release, adding support for JWTs from Jose and Keycloak. #94 and #93 . Additionally you can use Jose with the existing SPI #95
  • Hammock now reads multiple property files by default, in addition to hammock.properties you can register microprofile.properties and META-INF/microprofile.properties
  • OWB 2 is now supported as a bootstrapping module #96 . The Microprofile Cochise distribution now uses OWB 2 as its bootstrapper

Backwards Compatibility issues

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

  • Apache Johnzon
  • Apache Tomcat
  • Apache Camel
  • HikariCP
  • Spark
  • Flyway
  • Jetty
  • Undertow

Deprecation Notices

The next release of Hammock is anticipated to be 2.0, which will align with Microprofile 1.1 and above, adding support for the Config API and Fault Tolerance. It will also align with CDI 2.0.

DeltaSpike is likely to be removed from the code base in favor of the Geronimo Config project.

Getting Started

To get started, visit LayingInYourFirstHammock

Hammock 1.4

15 May 22:02
Compare
Choose a tag to compare

Hammock 1.4 Release Notes

New Features

  • Brave Integration has been enhanced to support Servlet use cases and injected JAX-RS clients (#88 / #89)
  • Jetty containers now support CDI managed listeners #92
  • You can now look at runtime container information by injecting HammockRuntime into your class. It can provide the listener information, including public host, of the machine this service is running on. Perfect for service registration and discovery. #91

Backwards Compatibility issues

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

  • Apache Johnzon
  • Apache Tomcat
  • Apache Camel
  • Spark
  • Flyway
  • Jetty
  • Undertow

Getting Started

To get started, visit LayingInYourFirstHammock

Hammock 1.3

23 Apr 23:57
Compare
Choose a tag to compare

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

Hammock 1.2.1

23 Apr 23:59
Compare
Choose a tag to compare

Hammock 1.2.1 Release Notes

Major changes

  • Introduce a set of coordinates to leverage JBoss Weld 3 as your CDI runtime (#71)
  • This is considered a preview feature, and will become the default dist-microprofile in 1.3, when Weld 3 is final.
  • The container will now automatically discover classes annotated @WebServlet or @WebFilter (#75 / #76)
  • Servlets and Filters now support configurable URL patterns, using ${variable.name} as a syntax. (#79)
  • Tomcat has been upgrade to 9.0.0.M19 to leverage a patch fix around asynchronous bootstrap. It also brings a preview to Servlet 4 features. (#78)
  • On start up, if the bind address is 0.0.0.0 log the system host name instead of the raw address (which is invalid) (#72)
  • Introduce Unmanageable classes as a base utility for dealing with programmatic @Dependent scoped beans (#80)
  • Allow the Metrics component to run in a Capsule deployment (#81)

Backwards Compatibility issues

  • No major changes, however various libraries were upgrade to major versions.

Getting Started

To get started, visit LayingInYourFirstHammock

Old Releases

To see old release information, go to [[OldReleases|OldReleases]]