Releases: netgen/ezplatform-site-api
4.0.1
3.5.1
4.0.0
Version 4.0.0 is a major release that brings compatibility with eZ Platform 3.1. In this release all previous deprecations have been removed and several breaking changes have been introduced. For upgrade instructions see https://docs.netgen.io/projects/site-api/en/4.0.0/upgrades/upgrade_350_400.html.
Added
- Autowired controllers by @MarioBlazek (#165)
- eZ Platform v3 compatibility by @emodric (#175)
- Siteaccess-configurable support for combined Content/Location visibility by @RandyCupic (#176)
- Added new visibility properties (#180)
Changed
Removed
3.5.0
Added
- NGSTACK-411: using an unsupported Location child sort will now log a notice instead of causing a
fatal crash by @RandyCupic (#170) - NGSTACK-429:
RelationService
methodsloadFieldRelation
andloadFieldRelations
will now also
accept Content instance as the first argument, in addition to the Content ID (#173)
Fixed
- Fixed documentation code example by @leohajder (#166)
- NGSTACK-416: Rendering a full view through automatic view fallback will now correctly set
layout
variable (#172) - NGSTACK-429: Previewing a Content containing field relations will now correctly render draft
relations instead of the published ones (#173) - NGSTACK-423: Previewing a Content rendered through automatic view fallback will now correctly
render the draft version instead of the published one (#174)
Deprecated
-
Content view renderer event implementation has been moved to bundle (#146)
Event
Netgen\EzPlatformSiteApi\Event\SiteApiEvents::SiteApiEvents
is deprecated and replaced byNetgen\Bundle\EzPlatformSiteApiBundle\Events::RENDER_VIEW
, event
objectNetgen\EzPlatformSiteApi\Event\RenderContentEvent
is deprecated and replaced byNetgen\Bundle\EzPlatformSiteApiBundle\Event\RenderViewEvent
. Deprecated
implementation will be removed in4.0
. -
Using
RelationService
methodsloadFieldRelation
andloadFieldRelations
with Content ID as
the first argument is now deprecated in favor of using Content instance in its place (#173)Using Content ID as the first argument will be removed in
4.0
.
3.4.3
Fixed
- Fix code example in documentation by @leohajder (#162)
- Handle
UnauthorizedException
when accessing named objects from Twig by @leohajder (#164)
3.4.2
Added
- Copy button on documentation code and configuration examples
Fixed
- Documentation fixes by @zulicek
- Documentation fixes by @leohajder (#160)
- NGSTACK-413: Fix checking if Relation value is empty by @RandyCupic (#161)
3.4.1
Fixed
- Documentation fixes by @leohajder (#158)
- NGSTACK-410: fix extended config not overriding default values (#159)
3.4.0
3.3.1
3.3.0
Added
- Add
Location::getFirstChild()
method (#148) - Add
Content::getFirstNonEmptyField()
method (#150) - NGSTACK-371: implement fallback between eZ and Site API content views (#152)
- Implement Content View Location resolver (#153)
- eZ Platform v3 support: missing argument from EZP-30882 by @wizhippo (#154)
- NGSTACK-354: implement support for XmlText and RichText embed rendering (#155)