Skip to content

Releases: willdurand/Hateoas

2.9.0 (2015-12-07)

07 Dec 08:16
Compare
Choose a tag to compare

This release adds Symfony 3.0 support.

2.8.1 (2015-12-04)

04 Dec 08:29
Compare
Choose a tag to compare
  • Fixed: assign class, name and type properties on RelationPropertyMetadata

2.8.0 (2015-09-09)

09 Sep 08:52
0d17939
Compare
Choose a tag to compare
  • Added: Evaluate ExcludeIf after JMS exclusion strategy (see #212)

2.7.0 (2015-07-04)

04 Jul 11:33
Compare
Choose a tag to compare

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

2.6.0 (2015-05-28)

28 May 08:40
Compare
Choose a tag to compare
  • Added: OffsetRepresentation and AbstractSegmentedRepresentation
  • Added: JMS annotation Type on PaginatedRepresentation
  • Reverted: "Set a default exclusion configuration to Embedded" (fix #196)

2.5.0 (2015-04-13)

13 Apr 07:22
4aaa9d7
Compare
Choose a tag to compare
  • Fixed: set a default exclusion configuration to Embedded
  • Added: support for multiple embedded resources with the same relation name, fixed #188

2.4.0 (2015-03-06)

06 Mar 10:15
Compare
Choose a tag to compare
  • 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

2.3.0 (2014-06-03)

03 Jun 08:00
Compare
Choose a tag to compare

Code

  • Added: total attribute to PaginatedRepresentation
  • Updated: use fixed Frankenstein 0.1.2

Documentation

  • Added: documentation and tests on how to override a collection xml root name
  • Fixed: missing reference in YAML reference

2.2.0 (2014-03-26)

26 Mar 21:11
Compare
Choose a tag to compare
  • Added: getters to VndErrorRepresentation
  • Added: getters to PagerFantaFactory
  • Fixed: PHPDoc for HateoasBuilder:create() function
  • Removed: the Hateoas::getLinkHref() has been removed according to the deprecated message added a while ago. Use the getLinkHelper() method instead, and call getLinkHref() on the helper itself — BC Break
  • Removed: the PagerfantaFactory::create() has been removed according to the deprecated message added a while ago. Use the createRepresentation() method instead — BC Break

2.1.0 (2014-01-13)

13 Jan 14:04
Compare
Choose a tag to compare

Changelog

  • Added: allow users to add expression functions, cf. Expression Functions
  • Added: support curies in JsonHalSerializer
  • Added: LinkExtension, a Twig extension to generate links, cf. documentation
  • Added: VndErrorRepresentation representation class to support vnd.error specification, cf. documentation (#111, #114)
  • Added: PagerfantaFactory now exposes a createRepresentation() method, and replaces the deprecated create() method. See the important note below. (#131, #133)
  • Added: more documentation
  • Fixed: keep embedded relations even with custom relations (#122)
  • Fixed: PagerfantaFactory inlines \Traversable results (#128)

Important Note

The PagerfantaFactory has been refactored, and now exposes a createRepresentation() method. It is heavily recommended to use it! The old create() method has been deprecated and will be removed as of version 2.2.0.

As this class is not part of the "core" of the lib, but rather a helper class, we decided not to bump the major version number. Such a change was required as this factory is nearly unusable in real life, and that is why we see this change as a "fix" rather than a "BC break". This is a sort of "soft" backward compatibility break, we apologize for the inconvenience.