Skip to content

Releases: kamillionlabs/hateoflux

v1.1.0

22 Dec 17:17
611178e
Compare
Choose a tag to compare

What's Changed?

hateoflux now has its own responses that serve as reactive versions of a ResponseEntity:

  • HalResourceResponse: For single HAL resources
  • HalMultiResourceResponse: For streaming multiple resources individually
  • HalListResponse: For collections as a single HAL document, including pagination

Also see:

Full Changelog: v1.0.0...v1.1.0

v1.0.1

04 Dec 11:28
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

01 Dec 16:15
e0d3470
Compare
Choose a tag to compare

I'm excited to announce the release of hateoflux v1.0.0! This is the first official stable release of hateoflux, a lightweight, reactive-first Java library designed to simplify the creation of hypermedia-driven APIs in Spring WebFlux applications.


Highlights

  • Reactive-First Design: Built specifically for Spring WebFlux, hateoflux addresses the limitations of traditional hypermedia libraries like Spring HATEOAS in reactive environments.

  • Resource Wrappers: Introduces HalResourceWrapper and HalListWrapper to encapsulate resources and collections without polluting domain models with hypermedia concerns.

  • Simplified Assemblers: Reduces boilerplate code with FlatHalWrapperAssembler and EmbeddingHalWrapperAssembler, allowing you to focus on link-building logic.

  • Type-Safe Link Building: Offers the SpringControllerLinkBuilder for creating annotation-aware, type-safe links.

  • Pagination Support: Provides built-in support for pagination with HalListWrapper, including automatic navigation link generation.

  • URI Template Support: Allows the definition of dynamic URLs with placeholders, following RFC6570 standards.

  • Seamless Spring Integration: Works effortlessly with existing Spring configurations and annotations, making it easy to adopt in your projects.


Documentation

Comprehensive documentation is available at https://hateoflux.kamillionlabs.de containing:

  • Introduction to hateoflux
  • Core Concepts: Representation Model, Link Building, Assemblers
  • Cookbook: Examples & Use Cases
  • Comparison with Spring HATEOAS

Examples & Use Cases

Explore practical examples and debug them in the hateoflux-demos repository. Fork the repository and run the applications to see hateoflux in action.


Feedback and Contributions

We welcome your feedback and contributions! Please feel free to:


Thank you for your support, and I'm looking forward to seeing how hateoflux enhances your reactive Spring WebFlux applications!