OldReleases - hammock-project/hammock GitHub Wiki
Older Releases
Full list of releases can be found here
Hammock 1.1 Release Notes
Major changes
- Introduce a set of coordinates to leverage Apache OpenWebBeans as your CDI runtime
- This introduces two modules,
bootstrap-weldandbootstrap-owbfor CDI support - The
microprofiledistribution has been updated to includebootstrap-weld. A newdist-microprofile-cochisehas been introduced to leverage all Apache components. - All modules now use Arquillian to test, Travis has been updated to test all configurations.
- All web containers are now using a shard test framework to verify functionality is the same across the board. Each needs to activate the tests they're running.
- REST URIs are now fully configurable
- Adding
@ApplicationPathto your JAX-RS applications works and is tested in all containers. - Modifying the property
rest.uri.pathwill now override the servlet mapping.- RestEasy & Jersey use application path == servlet mapping approach, in which case the JAX-RS annotation takes precedence over the configuration value
- CXF treats them separate settings and both features can coexist.
- Jetty & Jersey now work together. This includes jetty parsing all init params.
Backwards Compatibility issues
- If you were previously leveraging Hammock Core to do your bootstrap, you now need to explicitly include either
bootstrap-weldorbootstrap-owb - If you were not using JPA support before,
bootstrap-weldnow includes core JPA support, the processing of@PersistenceUnitand@PersistenceConextannotations. This is to match OWB which provides this support out of the box. - Flyway support has been move out of JPA, and is now its own standalone
util-flywaymodule. - The CXF shaded JAR is no longer distributed. Please refer to the requirements of your packaging.
Getting Started
To get started, visit LayingInYourFirstHammock
Hammock 0.1.0 is now out!
Major changes:
- Added a new CXF module
- Added a new distribution based on Microprofile.io
- Refined
StartWebServerso that it's a CDI extension. Your HTTP listener is now available as a result ofAfterDeploymentValidation
With the introduction of CXF as a REST implementation (still based on JAX-RS), there's an important point about its dependencies. You'll find a maven artifact ws.ament.hammock:util-cxf-shaded which is a shaded dependency of CXF 3.1.6. You don't have to use this dependency, but it is preconfigured for CXF. I built this as CXF has custom files that need to be packaged, which don't fall under standard maven shaded archives.
I also really wanted to get a Tomcat container in this release. However, I think I finally figured out what was happening. I've raised WELD-2223 as a problem. Hopefully this will get resolved soon.
To get started, visit LayingInYourFirstHammock
Hammock 0.2.0 is now out!
Major changes:
- Added integration for Metrics (via Metrics CDI), Tomcat, and SparkJava
- Arquillian integration, to ease testing Hammock based applications
- Added the ability to load multiple property files, and from the command line.
- Full list of tickets resolved can be found on github.
This releases adds a lot of functionality. Introducing Arquillian support brings in a lot of the ecosystem. The other modules help round out some other critical framework support.
A note on Tomcat. While its included, I would consider it a beta component. There's still refinement required on how it works. It will work with JAX-RS frameworks, or anything that registers a servlet. Filter only support is not quite there yet.
To get started, visit LayingInYourFirstHammock
Hammock 0.3.0 is now out!
Major changes:
- Implemented initial JPA Support (Thanks to #23 and Antoine Sabot-Durand)
- Library Upgrades - Weld 2.4, Apache Johnzon 0.9.5, Undertow 1.4.2
- Full list of tickets resolved can be found on github.
The focus this time was on stability and documentation. You'll see that Hammock Examples exists to demonstrate how to use Hammock. This will be expanded upon further as time goes on.
Microprofile
This release was also intended to coincide with the official 1.0 of Microprofile. Hammock was lucky to be one of the first six implementations, and with the upgrade to Weld 2.4 now weighs in at 10 MB for a shaded deployment. Obviously, mileage will vary, for instance Hibernate adds 6 MB to your deployment.
Getting Started
To get started, visit LayingInYourFirstHammock
JavaOne 2016
Don't forget to learn about Hammock & Microprofile at my conference session at JavaOne this Monday BootEE - Creating Lightweight Services with Java EE
Hammock 0.4.0 is now out!
Major changes:
- Implemented Support for Jersey (thanks to @jasondlee, @shamoh on #34 )
- A CORS filter and Configuration
- A Static Resource Filter
- Full list of tickets resolved can be found on github.
This was primarily a feature release. The first step towards tighter integration for JPA was done by adding the ability to read @DataSourceDefinition annotations and create beans from it.
Getting Started
To get started, visit LayingInYourFirstHammock
Hammock 0.5.0 is now out!
Major changes:
- Added JPA Support for EclipseLink, OpenJPA
- Improved JPA Support - custom built
PersistenceUnitInfoand improved DataSourceDefinition binding - Flyway support - now you can automatically run your database migrations
- Messaging Integration with Apache ActiveMQ Artemis
- Full list of tickets resolved can be found on github.
Getting Started
To get started, visit LayingInYourFirstHammock
Hammock 1.0 is now out!
Major changes:
- Compatibility with Apache Tomcat has been fixed. The web container is now started after the CDI container is started.
- Weld has been upgraded to 2.4.1, fixing some issues with groovy and CXF compatibility.
- SSL support has been enabled for all three webservers - Tomcat, Jetty and Undertow thanks to irimia-dragos
- Created a new RabbitMQ module
Known Issues:
- Jetty + Jersey does not work currently, see #61
Getting Started
To get started, visit LayingInYourFirstHammock