DEV Community

Cover image for Hexagon v2 released 🎉
Juanjo Aguililla for Hexagon Toolkit

Posted on • Edited on

Hexagon v2 released 🎉

Check the latest changes on the project website or its GitHub repository.

This is an important milestone in the project. It switches from using DSL transformation to adapters constructions,
to define a common handlers pipeline used by all adapters.

To wrap up the project history:

  1. Fork of Spark to support Java 8.
  2. Port to Kotlin (first Hexagon version). Still heavily based on Spark.
  3. V2, complete rewrite to be based on middlewares, as opposed to before/after filters like Spark.

This design change makes easier to add new adapters as proved
with Netty's brand new adapter.

These changes come with a performance boost, however there is still room for improvement here (stay tuned for more performance gains here).

Also, the new design improves reusability by letting users define their own Callbacks, Handlers and Predicates.

The documentation and examples are not yet fully ported, but works on this regard are ongoing.

Please take a look at the changes, share your feedback... and spread the word!

Thanks for your support 🙂

Top comments (0)