Changelog for servant-hateoas-0.3.4
Changelog
All notable changes to the servant-hateoas library will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to PVP versioning.
v0.3.4 (2024-12-30)
Added
- Added class
HasTemplateLinkfor fully templated links to endpoints - Added combinator
data Title (sym :: Symbol)for human-readable titles of resources
Changed
- Class
HasRelationLinknow returns complete links instead of partially templated ones - Replaced all usages of
LinkwithRelationLink, allowing more flexibility when gathering information about the resource the link refers to - Extended the rendering of
HALResourceby propstype(Content-Type) andtitle
v0.3.3 (2024-12-28)
Added
- Added function
fromURIfor creatingRelationLinkfrom anURI
Changed
- Replaced fully templated links with partially templated links for layers whose endpoints take arguments
v0.3.2 (2024-12-27)
Changed
- Rendering prop
templated: truehypermedia relations for HAL+JSON-Responses when the relationshrefis templated
v0.3.1 (2024-12-27)
Added
- Added support for layers indicating usage of queries
Changed
- Fixed bug where instances for
BuildLayerLinksonly worked for layers whose endpoints do not take any arguments
v0.3.0 (2024-12-24)
Added
- Added functionality to derive a HATEOAS Layer-Api and rewritten HATEOAS API from your API and their respective server-implementations.
Changed
- Removed argument
apifrom classToResource
Removed
- Temporarily removed support for content-type
application/vnd.collection+json
v0.2.2 (2024-12-01)
Changed
- Removed
SomeToJSONand replaced it withSomeF f ToJSONfromconstrained-some
v0.2.1 (2024-10-25)
Changed
- Export
CollectionItem - Improved documentation
v0.2.0 (2024-10-29)
Added
- Support for Content-Type
application/collection+json - Classes
EmbeddingResource res&CollectingResource resfor resource-modification
Changed
- (breaking change) Renamed class
HasResourcetoResource, removed associated type and Content-Type param
v0.1.1 (2024-10-25)
Changed
- Improved documentation
v0.1.0 (2024-10-25)
Added
- Released