Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.29 KB

CHANGELOG.md

File metadata and controls

80 lines (52 loc) · 2.29 KB

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 with RelationLink, allowing more flexibility when gathering information about the resource the link refers to
  • Extended the rendering of HALResource by props type (Content-Type) and title

v0.3.3 (2024-12-28)

Added

  • Added function fromURI for creating RelationLink from an URI

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 relations href 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 class ToResource

Removed

  • Temporarily removed support for content-type application/vnd.collection+json

v0.2.2 (2024-12-01)

Changed

  • Removed SomeToJSON and replaced it with SomeF f ToJSON from constrained-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 to Resource, removed associated type and Content-Type param

v0.1.1 (2024-10-25)

Changed

  • Improved documentation

v0.1.0 (2024-10-25)

Added

  • Released