Release Notes
Contents
| Guillotine 8 requires XP 8.0.0 or higher. |
Guillotine 8
Features
-
Content -
Added new fields:
displayNameExpression,displayNameListExpression,displayNamePlaceholder,displayNamePlaceholderI18nKey,titleI18nKey,descriptionI18nKey. -
CORS origin matching -
cors.originnow accepts multiple comma-separated values (e.g.https://example.com, https://admin.example.com) and supports*to allow all origins, literal origins, and~-prefixed regex patterns for dynamic matching (e.g.~https://.*\.example\.com). Use~.*to reflect any origin. -
cors.exposedHeaders -
New
cors.exposedHeadersoption sets theAccess-Control-Expose-Headersresponse header, exposing extra response headers beyond the CORS safelist (e.g.X-Request-Id, X-Custom-Header).
Deprecations
-
ContentType.displayName -
The
displayNamefield onContentTypeis superseded by the newtitlefield, which carries the same value.displayNameis kept for backward compatibility and now returns whatevertitlereturns. New code should querytitleinstead.displayNamewill be removed in a future major release.
Breaking changes
-
Requires Enonic XP 8 -
Minimum required XP version is
8.0.0. Guillotine 8 will not install on XP 7.x. -
XData_base_ApplicationConfig -
Type
XData_base_ApplicationConfighas been renamed toMixin_base_ApplicationConfig. -
XData_base_gpsInfo_DataConfig -
Type
XData_base_gpsInfo_DataConfighas been renamed toMixin_base_gpsInfo_DataConfig. -
XData_media_ApplicationConfig -
Type
XData_media_ApplicationConfighas been renamed toMixin_media_ApplicationConfig. -
XData_media_cameraInfo_DataConfig -
Type
XData_media_cameraInfo_DataConfighas been renamed toMixin_media_cameraInfo_DataConfig. -
XData_media_imageInfo_DataConfig -
Type
XData_media_imageInfo_DataConfighas been renamed toMixin_media_imageInfo_DataConfig. -
Content.hasChildren -
The
hasChildren: Booleanfield has been removed from all types implementingContent. Use the existingchildren/childrenConnectionfields and check whether the result is empty instead. -
Permissions.inheritsPermissions -
The
inheritsPermissionsfield has been removed from thePermissionstype. The inheritance flag is no longer exposed through the GraphQL API. -
ContentType.contentDisplayNameScript -
The
contentDisplayNameScriptfield onContentTypehas been removed. -
Long -
For
Inputform item with typeLong, the returned value type has changed fromStringtoLong. -
CORS configuration -
The CORS implementation has been reworked and its configuration behaves differently:
-
The
cors.enabledproperty has been removed. CORS is now enabled by settingcors.originand disabled whencors.originis omitted. Previously CORS was enabled by default and allowed all origins when none were configured; it is now disabled unless an origin is explicitly configured. -
The default for
cors.methodschanged fromPOST, OPTIONStoGET, HEAD, POST. -
When
cors.allowedHeadersis not configured, the request’sAccess-Control-Request-Headersvalue is now reflected in the response instead of defaulting toContent-Type.
-