Changelog

Table of Contents

2.0.10 (2024-07-24)

Fixed

  • Fixes an error with resolving the start page for requests to /.

2.0.9 (2024-07-19)

Fixed

  • Fix Authentication Refresh Token Handling. Refresh Token is now also set as a cookie instead of server side storage. This allows more stateless setups without a shared cache. SUP-16942

2.0.8 (2024-05-28)

Fixed

  • Fixed return value of getProjectName. This fixes a bug where cache keys were missing the current project name. SUP-16811

2.0.7 (2024-03-20)

Fixed

  • Fixed NavigationHelper breadcrumbs check, for the pages without breadcrumb loaded, to have a default value [] and avoid fatal error thrown for iterating over non-iterable variable SUP-13795

2.0.6 (2023-08-09)

Fixed

  • Fix Mesh Client instance and Mesh Admin Client is disabled by default when initializing client and authentication is disabled too. This is a breaking change with compatibility fallback. Setting noAdminClientByDefault compatibility flag to false allows the bring back the old behavior SUP-15428

2.0.5 (2022-09-28)

Fixed

  • The configuration to ignore ssl verification for Mesh meshVerifySsl now works as intended SUP-11208 SUP-14208

2.0.4 (2022-09-22)

Fixed

  • Fixed LoadByPath based requests that relying on pathPrefix when using branches SUP-14092

  • Fixed Error page rendering when NotFoundException is not showing up correctly SUP-14091

2.0.3 (2022-09-06)

Fixed

  • Fixed parent folder queries for the node’s GraphQL query to return direct parent of a node. SUP-12815

  • Fixed inconsistent GraphQL queries.

  • Updated mesh-php-client to 0.20.1 SUP-14074

2.0.2 (2022-08-11)

Fixed

  • Fixed version parameter to use published as Gentics Mesh 1.6.30+ requires it SUP-13984

  • Updated mesh-php-client to 0.20.0 - 0.20.x is used now by Portal | php 2.x

2.0.1 (2022-07-23)

Fixed

  • Add english language fallback for navigation and breadcrumb to content related Graphql requests SUP-13740

2.0.0 (2022-07-06)

Added

  • Added support for multiple algorithms with Keycloak: RS256, RS384, RS512

  • Added keycloakV18LogoutRedirectParams compatibility parameter for new Keycloak behavior with versions 18.0.0 and newer and its enabled by default, see more.

  • Added gentics/portal-php-laravel meta-package which also contains all the required and supported Laravel dependencies. Uses same version as portal-php.

Fixed

  • Fixed package size of portal-php, which could cause installation errors in some cases.

Changed

  • Changed the required and supported PHP version to 8.1

  • Changed the required and supported Laravel version to 9.x

  • Changed the Keycloak authentication base dependency lcobucci/jwt from 3.x to 4.x. This is a Breaking Change. Please read the Migration guide.

  • Changed the sitemap behavior, as it does not sort the list of URLs anymore as of the dependencies upgrade. This should not affect SEO.

Removed

  • Removed SearchHandlerBase and renamed to SearchHandler. This is a Breaking Change.

1.6.14 (2023-08-09)

Fixed

  • Fix Mesh Client instance and Mesh Admin Client is disabled by default when initializing client and authentication is disabled too. This is a breaking change with compatibility fallback. Setting noAdminClientByDefault compatibility flag to false allows the bring back the old behavior SUP-15428

1.6.13 (2022-09-28)

Fixed

  • The configuration to ignore ssl verification for Mesh meshVerifySsl now works as intended SUP-11208 SUP-14208

1.6.12 (2022-09-22)

Fixed

  • Fixed LoadByPath based requests that relying on pathPrefix when using branches SUP-14092

  • Fixed Error page rendering when NotFoundException is not showing up correctly SUP-14091

1.6.11 (2022-09-06)

Fixed

  • Fixed parent folder queries for the node’s GraphQL query to return direct parent of a node. SUP-12815

  • Fixed inconsistent GraphQL queries.

  • Updated mesh-php-client to 0.10.1 SUP-14074

1.6.10 (2022-08-11)

Fixed

  • Fixed version parameter to use published as Gentics Mesh 1.6.30+ requires it SUP-13984

  • Updated mesh-php-client to 0.10.0 - 0.10.x is used now by Portal | php 1.x

1.6.9 (2022-07-23)

Fixed

  • Add english language fallback for navigation and breadcrumb to content related Graphql requests SUP-13740

  • Fixed Guzzle dependency strict version requirement issue

1.6.8 (2022-06-03)

Fixed

  • Add multilingual filter for all content related Graphql requests (including breadcrumbs) SUP-13631

1.6.7 (2022-06-02)

Fixed

  • Added ContentController fix to save user’s portal language before navigation is loaded SUP-13631

1.6.6 (2022-05-16)

Fixed

  • Added dynamic language handling for GraphqlRequest and enable it by default for LoadNavigation WKUM-4109

  • Added a new portal config for backwards compatibility flag useDynamicGraphqlLanguage to disable dynamic language handling which is enabled by default WKUM-4109

1.6.5 (2022-04-29)

Fixed

1.6.4 (2022-04-11)

Fixed

  • Restricted and updated versions, locked dependencies for last supported PHP 7 version SUP-13388

  • Fixed class method signature to be in sync with the dependencies SUP-13388

1.6.3 (2022-04-07)

Fixed

  • Improved overall caching performance

  • Fixed an issue with Etag caching that returned an empty response when Content Caching was enabled SUP-13264

  • Fixed an issue with Etag caching that returned an error message if a binary was not directly accessed through webroot and it was cached by the browser SUP-13162, SUP-13264

  • Fixed an issue with Mesh Error Handler and Logging feature that prevented JSON files to be served through webroot SUP-13264

  • Fixed an issue with Content Caching that prevented webroot requests to get all required browser headers

  • Fixed a slow unit test caused longer build time

Added

  • Added a helper function AppCache::bypassWhen() for specific internal use cases which allows bypass rules in configurations

  • Added asRoute option to GraphQLRequest for internal usage

  • Added default mimeTypes in the configurations for binaryGuesser to allow faster file requests

1.6.2 (2022-01-25)

Fixed

  • Update mesh-php-client to 0.7 SUP-12373

  • Fixed Forms file upload for single files. SUP-12373

  • Fixed Forms file upload for large files. SUP-12373

1.6.1 (2022-01-19)

Fixed

  • Fixed a syntax error which prevented rendering of poll forms. GPU-63

1.6.0 (2022-01-13)

Added

  • Add support for context templates and poll forms for the Mesh Forms plugin GPU-63

1.5.4 (2021-12-01)

Fixed

  • Fixed authorization header removal in AddAuthorizationHeader filter used for Proxy requests. SUP-12519

1.5.3 (2021-11-30)

Fixed

  • Add route for the form generator proxy to download binaries. SUP-12599

  • Update mesh-php-client to 0.6 with array support for multipart forms SUP-12600

1.5.2 (2021-11-26)

Fixed

  • Remove existing Authorization header when AddAuthorizationHeader filter used for Proxy requests. SUP-12519

1.5.1 (2021-11-09)

Fixed

  • Add Cache-Control headers to Keycloak redirect actions. SUP-8336

1.5.0 (2021-09-23)

Changed

  • Changed Mesh debug logs with configurable extras, also Mesh content responses are disabled in debug logs by default. SUP-9815

Added

  • Added configuration parameter for Mesh client to disable SSL verifications. SUP-11208

  • Added additional configuration parameter for Mesh client initializer for custom clients. SUP-11208

  • Added configuration parameter for Mesh’s ElasticSearch waitForIdle flag, which default state is non-blocking GPU-7

  • Added middleware group portal for all built-in routes (except: api). SUP-10429

1.4.11 (2021-08-27)

Fixed

  • Fixed class dependency issue on legacy search handler. SUP-11986

  • Fixed issue with multipart uploads with new mesh-php-client version. SUP-11984

1.4.10 (2021-08-20)

Fixed

  • Fixed folder access without startpages. SUP-11907

1.4.9 (2021-08-11)

Fixed

  • Fixed CmsController to work with Nice URLs even if the Nice URL points to an existing folder. SUP-11900

1.4.8 (2021-08-06)

Added

  • Added extra config namespace for project specific variables SUP-11840

Fixed

  • Fixed branch support in search

  • Fixed ErrorHandler to make it possible to debug ViewException and ErrorException stack traces.

  • Fixed CmsController to display content even if it’s partially available. SUP-11798

1.4.7 (2021-06-30)

Added

  • Added branch support for Sitemap-Feature

1.4.6 (2021-05-21)

Fixed

  • Fixed branched DataProvider caches SUP-11427

  • Fixed deprecated hooks with composer

1.4.5 (2021-05-12)

Added

  • Added support bypassing cache from any method SUP-11416

  • Added renderForm as an exception option for caching SUP-11416

1.4.4 (2021-04-29)

Added

  • Added support for caching and bypassing cache via the route methods cache and bypassCache SUP-11363

Fixed

  • Fixed Form Generator caching issues SUP-11363

1.4.3 (2021-04-19)

Added

  • Added support for custom redirect URL after logout with returnTo URL parameter

  • Added support for New Form Generator plugin cookies SUP-11293

1.4.2 (2021-04-14)

Added

  • Added multipart Mesh Proxy support via mesh-php-client SUP-11277

1.4.1 (2021-04-13)

Fixed

  • Fixed a redirect issue with Mesh Proxy Filter

1.4.0 (2021-04-06)

Added

  • Added support for the new Form Generator Plugin GPPHP-137

  • Added support for the webrootField when requesting binaries GPPHP-143

Changed

  • Changed binary requests to use webrootField by default instead of webroot. This is only supported since Gentics Mesh 1.6.9 and the previous behavior can be activated using the compatibility.useWebrootField portal config value. GPPHP-143

  • Changed minimum PHP version to 7.4. Existing projects should upgrade their runtime. GPPHP-145

  • Changed security plugin to enlightn/security-checker from the deprecated sensiolabs version.

  • Changed required composer version to 2.0 GPPHP-144

1.3.10 (2021-01-18)

Added

  • Added compatibility option to solve possible backend and frontend data differences as of Portal | java SUP-9858

  • Added option to disable sitemap feature SUP-10270

1.3.9 (2020-11-18)

Added

  • Added userIdentifierHeaders configuration option for Rendered Content Caching.

1.3.8 (2020-11-05)

Added

  • Added X-GTX-No-Store header support for HttpCache for explicit avoid of caching GPPHP-142

1.3.7 (2020-10-28)

Fixed

  • Fixed an edge case to avoid non-whitelisted mimes to get cached GPPHP-142

Added

  • Added Development Logging with configurable log channels GPPHP-141

1.3.6 (2020-10-24)

Added

1.3.5 (2020-10-21)

Fixed

  • Fixed Binary Header caching for Not Modified responses when Rendered Content Caching enabled SUP-10080

  • Fixed errors thrown at unreleased semaphores when using the WithCache trait SUP-10323

  • Fixed Rendered content caching and limits to specifically allowed MIME-types AWM-384

  • Fixed Health-Endpoints to use the cache configuration middleware, when caching is enabled GPPHP-139

1.3.4 (2020-10-16)

Fixed

  • Fixed Health-Endpoints to respond without caching SUP-10343

1.3.3 (2020-10-14)

Added

  • Added timeout configuration options for Mesh PHP Client GPPHP-138

Changed

  • Changed `/api/health/ready’s backend endpoint to the official Gentics Mesh API endpoint GPPHP-138

  • Changed HealthController to log responses from Gentics Mesh readiness endpoint GPPHP-138

1.3.2 (2020-09-25)

Fixed

  • Fixed GraphQL caching release mechanism SUP-10193

1.3.1 (2020-09-18)

Fixed

  • Fixed Transfer-Encoding: chunked streaming responses SUP-10115

1.3.0 (2020-08-31)

Added

  • Added option to enable debugging per-request via query-parameter SUP-9806

  • Added Content Management Platform compatible version API GPPHP-135

  • Added Static Content Caching support GPPHP-131

  • Added Binary Content Header Caching support GPPHP-132

  • Added Rendered Content Caching support GPPHP-133

1.2.5 (2020-08-06)

Fixed

  • Fixed Helper class auto-loading problem SUP-9936

Added

  • Added the option to force search to use admin Mesh API key which is disabled by default for backward compatibility SUP-9392

1.2.4 (2020-06-17)

Fixed

  • Code-Cleanup to make artisan optimize run again SUP-9747

1.2.3 (2020-06-10)

Added

  • Added Health API endpoints (/api/health/live and /api/health/ready)

1.2.2 (2020-04-21)

Fixed

  • Fixed GenticsImageStore smart mode request

1.2.1 (2020-02-20)

Fixed

  • Fixed error when rendering an empty blade

1.2.0 (2019-12-04)

Fixed

  • Fixed GenticsImageStore route order.

  • Fixed an issue with GraphqlLoader when cached fragment removed.

Added

  • Added Projects support to which makes it possible to build multi project portals.

1.1.2 (2019-10-29)

Fixed

  • Fixed backwards compatibility with SearchController.

  • Fixed an issue with the GenticsImageStore that does not accepted zero crop values.

1.1.1 (2019-10-18)

Fixed

  • Fixed an issue with SitemapGenerator when a child was null it has thrown an error.

1.1.0 (2019-10-07)

This release has been tested with Laravel 6.0 and is still compatible with Laravel 5.8!

Added

  • Added the Advanced Search feature provided by a Mesh Plugin - GPPHP-37

  • Added fpx, fpy, fpz query parameters to GenticsImageStore - GPPHP-100

  • Added resize query parameter to GenticsImageStore

  • Added the new @eval Blade directive to render Blade templates from strings. This should be used now instead of the helper renderBlade. Read the documentation for more information.

  • The new HTTP header "X-Powered-By: gentics.com" will be set now for all HTTP responses - GPPHP-114

  • Added possibility to disable Authentication completely - GPPHP-67

  • Added the ability to set a priority on routes Gentics Portal | php, check the documentation for more information - GPPHP-98

  • Added names to some important routes defined by Gentics Portal | php - GPPHP-98

Changed

  • Routes defined by the app are loaded first now and get the priority - GPPHP-98

Fixed

  • Fixed a "Method not found" error in Features/Redirect/ServiceProvider.php that happened when executing a command in console mode - GPPHP-119

  • Fixed an exception being thrown in src/PortalPhp when executing an artisan console command

1.0.7 (2019-09-06)

Fixed

  • Changed MeshClient Error Handler to skip status code checking for GraphQL responses - SUP-7983

1.0.6 (2019-09-05)

Fixed

  • Fixed MeshClient Error handling which now honors the returned status code - SUP-7983

1.0.5 (2019-07-17)

Fixed

  • Fixed 3xx responses so that they retain headers configured in portal.webrootHttpHeaderWhiteList

1.0.4 (2019-06-24)

Changed

  • Updated SearchHandler to support search in branch - SUP-7782

Fixed

  • Fixed unit tests for KeycloakTests related to dependency changes - GPPHP-109

1.0.3 (2019-05-20)

Fixed

  • Fixed mistakes in the documentations - GPPHP-104

  • Fixed branch detection on binary files - SUP-7877

1.0.2 (2019-05-13)

Fixed

  • Fixed binary file loading with Mesh 0.31.5+ - SUP-7795

1.0.1 (2019-04-25)

Changed

  • Updated LoadNavigation with branches support - SUP-7735

  • Updated renderMode() to make it work without used in a controller - SUP-7744

Fixed

  • Fixed GraphqlLoader regex pattern to match fragments with every line ending types

  • Fixed missing import for bladeHelpers helper - SUP-7743