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
HasTemplateLink
for fully templated links to endpoints - Added combinator
data Title (sym :: Symbol)
for human-readable titles of resources
Changed
- Class
HasRelationLink
now returns complete links instead of partially templated ones - Replaced all usages of
Link
withRelationLink
, allowing more flexibility when gathering information about the resource the link refers to - Extended the rendering of
HALResource
by propstype
(Content-Type) andtitle
v0.3.3 (2024-12-28)
Added
- Added function
fromURI
for creatingRelationLink
from 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: true
hypermedia relations for HAL+JSON-Responses when the relationshref
is templated
v0.3.1 (2024-12-27)
Added
- Added support for layers indicating usage of queries
Changed
- Fixed bug where instances for
BuildLayerLinks
only 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
api
from classToResource
Removed
- Temporarily removed support for content-type
application/vnd.collection+json
v0.2.2 (2024-12-01)
Changed
- Removed
SomeToJSON
and replaced it withSomeF f ToJSON
fromconstrained-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 res
for resource-modification
Changed
- (breaking change) Renamed class
HasResource
toResource
, removed associated type and Content-Type param
v0.1.1 (2024-10-25)
Changed
- Improved documentation
v0.1.0 (2024-10-25)
Added
- Released