Skip to content

Releases: netgen/ezplatform-site-api

4.0.1

20 Sep 08:29
Compare
Choose a tag to compare

4.0.0...4.0.1

Fixed

Fixed usage of $this pseudo variable inside a static function in Children and Siblings query types (#181)

3.5.1

20 Sep 08:28
Compare
Choose a tag to compare

3.5.0...3.5.1

Fixed

Fixed usage of $this pseudo variable inside a static function in Children and Siblings query types (#181)

4.0.0

19 Sep 13:46
Compare
Choose a tag to compare

3.5.0...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

Changed

  • Reorganized bundle configuration (#169)
  • Enabled view fallback without a subrequest (#177)

Removed

  • Removed deprecated loading of Content relations by ID (#178)
  • Removed support for XmlText view rendering without a subrequest (cb10955)
  • Removed deprecated event RenderContentEvent (a29ed91)

3.5.0

14 Sep 10:27
Compare
Choose a tag to compare

3.4.3...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 methods loadFieldRelation and loadFieldRelations 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 by Netgen\Bundle\EzPlatformSiteApiBundle\Events::RENDER_VIEW, event
    object Netgen\EzPlatformSiteApi\Event\RenderContentEvent is deprecated and replaced by Netgen\Bundle\EzPlatformSiteApiBundle\Event\RenderViewEvent. Deprecated
    implementation will be removed in 4.0.

  • Using RelationService methods loadFieldRelation and loadFieldRelations 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

03 Jul 10:54
Compare
Choose a tag to compare

3.4.2...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

15 May 14:36
Compare
Choose a tag to compare

3.4.1...3.4.2

Added

  • Copy button on documentation code and configuration examples

Fixed

3.4.1

31 Mar 17:50
Compare
Choose a tag to compare

3.4.0...3.4.1

Fixed

  • Documentation fixes by @leohajder (#158)
  • NGSTACK-410: fix extended config not overriding default values (#159)

3.4.0

03 Feb 14:38
Compare
Choose a tag to compare

3.3.1...3.4.0

Added

  • NGSTACK-377: variables in template identifier configuration (#156)
  • NGSTACK-389: implement view configuration inheritance (#157)

3.3.1

27 Jan 11:57
Compare
Choose a tag to compare

3.3.0...3.3.1

Fixed

  • Use view type from the app.request (86f3f73)

3.3.0

15 Jan 20:25
Compare
Choose a tag to compare

3.2.2...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)

Fixed

  • Fix preview of the non-published Content (#149)
  • Fix typo in configuration by @joezg (#151)
  • Fix service ID for named object provider (4ee25eb)