Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hateoas Laravel Package

willdurand/hateoas

Hateoas is a PHP library for building HATEOAS-friendly REST representations. Configure links and embedded resources via annotations/attributes, XML or YAML, with expression language support, URL generators, and serializers (HAL JSON/XML) for rich hypermedia APIs.

View on GitHub
Deep Wiki
Context7
3.14.0

What's Changed

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.13.0...3.14.0

3.13.0

What's Changed

New Contributors

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.12.0...3.13.0

3.12.0

What's Changed

New Contributors

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.11.0...3.12.0

3.12.0-beta1

What's Changed

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.11.0...3.12.0-beta1

3.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.10.0...3.11.0

3.11.0-beta1

What's Changed

New Contributors

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.10.0...3.11.0-beta1

3.9.0

What's Changed

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.8.0...3.9.0

3.8.0

What's Changed

New Contributors

Full Changelog: https://github.com/willdurand/Hateoas/compare/3.7.0...3.8.0

3.7.0
  • PHP 8 compatibility #313
  • format link attributes as string when serializing xml #306
3.6.0
  • Address deprecations from persistence lib #302
  • Pass metadata dirs and expression evaluator to JMS serializer builder #304
3.5.0
  • Test against php 7.4 #301
3.4.0
  • Twig 3 support #300
3.3.0
  • Upgrade to Symfony 5 #299
  • remove unused symfony/dependency-injection component
3.2.0
  • [feature] Expressions in attributes are not supported when using YAML. #297
3.1.0
  • [feature] Allow jms/serializer 3.0 #291
  • [bugfix] RelationProvider 1st argument constructor must be string #282
3.0.0

Improvement are:

  • compatibility with jms/serializer v2.0
  • PHP 7.2 is the minimum version
  • Adopted PSR-4
  • fully cached relation metadata
  • fully cached expression language expressions
  • removed deprecated functionalities
  • fixed some long-standing bugs
  • adopted doctrine codestyle 5.0

A detailed list of closed issues is here

Information on how to upgrade are in the UPGRADING document

In parallel has been released willdurand/BazingaHateoasBundle 2.0.0 that integrates this library into Symfony.

3.0.0-RC1

This is the first release candidate for willdurand/Hateoas v3.0 that brings major improvement as:

  • compatibility with jms/serializer v2.0
  • PHP 7.2 is the minimum version
  • fully cached relation metadata
  • fully cached expression language expressions
  • removed deprecated functionalities
  • fixed some long-standing bugs
  • adopted doctrine codestyle 5.0

A detailed list of closed issues is here

Information on how to upgrade are in the UPGRADING document

In parallel has been relreased willdurand/BazingaHateoasBundle 2.0.0-RC1 that integrates this library into Symfony.

A stable release is expected in a couple of weeks.

2.12.0

This release adds support for Symfony 4.

2.11.0
  • Added: JMS serializer had a BC break in 1.6.1 and 1.6.2 that has been reverted in 1.7.0
  • Fixed: support all (non EOL) Symfony versions / improve tests
  • Fixed: MaxDepth issues when used in embedded collections

Thanks to all contributors, especiall Asmir!

2.10.0
  • Added: class name & allow possibility to register extension later
  • Added: avoid serializing the same object twice
2.9.1
  • Fixed: Use UrlGeneratorInterface constants for UrlGenerator::generate For relative path (with absolute url) use Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_PATH
v2.9.0

This release adds Symfony 3.0 support.

v2.8.1
  • Fixed: assign class, name and type properties on RelationPropertyMetadata
v2.8.0
  • Added: Evaluate ExcludeIf after JMS exclusion strategy (see #212)
v2.7.0

Hateoas now relies on JMS Serializer ~1.0 and PHP 5.3 is not supported anymore!

v2.6.0
  • Added: OffsetRepresentation and AbstractSegmentedRepresentation
  • Added: JMS annotation Type on PaginatedRepresentation
  • Reverted: "Set a default exclusion configuration to Embedded" (fix #196)
v2.5.0
  • Fixed: set a default exclusion configuration to Embedded
  • Added: support for multiple embedded resources with the same relation name, fixed #188
v2.4.0
  • Added: cache for Expression Language evaluations
  • Added: introduce RelationProviderInterface
  • Fixed: ExpressionEvaluator::evaluate with non strings, fixes #183
  • Fixed: documentation (YAML ref. config, JSON snippets)
  • Fixed: checking on existence of class property before accessing it to avoid notice.
  • Fixed: #164
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky