Releases: kamillionlabs/hateoflux
v1.1.0
What's Changed?
hateoflux now has its own responses that serve as reactive versions of a ResponseEntity
:
HalResourceResponse
: For single HAL resourcesHalMultiResourceResponse
: For streaming multiple resources individuallyHalListResponse
: For collections as a single HAL document, including pagination
Also see:
Full Changelog: v1.0.0...v1.1.0
v1.0.1
What's Changed
- Prevent scalars from being wrapped by @yelouarti in #34
Full Changelog: v1.0.0...v1.0.1
v1.0.0
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
andHalListWrapper
to encapsulate resources and collections without polluting domain models with hypermedia concerns. -
Simplified Assemblers: Reduces boilerplate code with
FlatHalWrapperAssembler
andEmbeddingHalWrapperAssembler
, 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:
- Open a discussion
- Submit an issue
- Email us at contact@kamillionlabs.de
- Submit a pull request
Thank you for your support, and I'm looking forward to seeing how hateoflux enhances your reactive Spring WebFlux applications!