Repository navigation
2.1.0 (2014-01-13)
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:
VndErrorRepresentationrepresentation class to supportvnd.errorspecification, cf. documentation (#111, #114) - Added:
PagerfantaFactorynow exposes acreateRepresentation()method, and replaces the deprecatedcreate()method. See the important note below. (#131, #133) - Added: more documentation
- Fixed: keep embedded relations even with custom relations (#122)
- Fixed:
PagerfantaFactoryinlines\Traversableresults (#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.