diff --git a/docs/api/graphql/graphql_queries.md b/docs/api/graphql/graphql_queries.md index d38629b8dd..a4efa75763 100644 --- a/docs/api/graphql/graphql_queries.md +++ b/docs/api/graphql/graphql_queries.md @@ -838,3 +838,7 @@ children(first: 3, after: "YXJyYXljb25uZWN0aW9uOjM=") ### Get Matrix field type To get a Matrix field type with GraphQL, see [Matrix field type reference](matrixfield.md). + +### Enable pagination for RelationList field type + +To learn how to enable pagination for RelationList field type, see the [RelationList field type reference](relationlistfield.md). diff --git a/docs/content_management/field_types/field_type_reference/relationlistfield.md b/docs/content_management/field_types/field_type_reference/relationlistfield.md index 86ef67f760..ab6a4f5f9d 100644 --- a/docs/content_management/field_types/field_type_reference/relationlistfield.md +++ b/docs/content_management/field_types/field_type_reference/relationlistfield.md @@ -107,3 +107,33 @@ $validators = [ ] ]; ``` + +### Enable pagination in GraphQL + +To enable pagination for Relation List field type, set the `ibexa.graphql.schema.ibexa_object_relation_list.enable_pagination` parameter to `true`. + +!!! note + + The pagination is enabled by default in [[= product_name =]] v5 and the parameter is removed. + +This allows you to query for only a subset of relations, as in the following example: + +``` graphql +query { + content { + relations(contentId: 71) { + rel(first: 5) { + totalCount, + edges { + node { + _contentInfo { + id + } + } + } + } + } + } +} +``` + diff --git a/docs/permissions/limitation_reference.md b/docs/permissions/limitation_reference.md index 09e49157c9..01b3cddad9 100644 --- a/docs/permissions/limitation_reference.md +++ b/docs/permissions/limitation_reference.md @@ -320,6 +320,41 @@ This limitation can be used as a role limitation. For more information on how to restrict user's access to part of the subtree, see [the example in the Admin management section](permission_use_cases.md#restrict-editing-to-part-of-the-tree). +## Taxonomy limitation + +The taxonomy (`Taxonomy`) limitation specifies with which [taxonomies](taxonomy.md) (tags, product categories, or custom ones) user can interact. + +The supported policies are: + +- `taxonomy/read` +- `taxonomy/manage` +- `taxonomy/assign` + +### Possible values + +|Value|UI value|Description| +|------|------|------| +|Taxonomy identifiers|Taxonomy names|List of allowed taxonomies| + + +## Taxonomy Subtree limitation + +The taxonomy subtree (`TaxonomySubtree`) limitation specifies whether the user has access to a specific subtree within the [taxonomy](taxonomy.md) tree. +Once a tag is selected, user can interact with it and all the child tags below it in the taxonomy tree. +In addition, it grants read-only access to all the parent tags (up to the taxonomy root) so that the user can see the context. + +The supported policies are: + +- `taxonomy/read` +- `taxonomy/manage` +- `taxonomy/assign` + +### Possible values + +|Value|UI value|Description| +|------|------|------| +|Tag IDs|Selected tags| All valid Tag IDs are allowed| + ## Version Lock limitation The Version Lock (`VersionLock`) limitation specifies whether the user can perform actions, for example, edit or unlock, on content items that are in a workflow. diff --git a/docs/release_notes/ibexa_dxp_v4.6.md b/docs/release_notes/ibexa_dxp_v4.6.md index b71ffff9c0..750a027aec 100644 --- a/docs/release_notes/ibexa_dxp_v4.6.md +++ b/docs/release_notes/ibexa_dxp_v4.6.md @@ -11,7 +11,7 @@ month_change: true
[[% set version = 'v4.6.22' %]] -[[= release_note_entry_begin("Discounts " + version, 'TODO', ['LTS Update', 'Commerce']) =]] +[[= release_note_entry_begin("Discounts " + version, '2025-08-05', ['LTS Update', 'Commerce']) =]] #### Global discount codes limits @@ -32,13 +32,54 @@ The PHP API has been enhanced with the following new classes: - TODO [[= release_note_entry_end() =]] -[[= release_note_entry_begin("Ibexa DXP " + version, 'TODO', ['Headless', 'Experience', 'Commerce']) =]] +[[= release_note_entry_begin("Ibexa DXP " + version, '2025-08-05', ['Headless', 'Experience', 'Commerce', 'New feature']) =]] + +#### Special characters in online editor + +The [online editor](online_editor_guide.md) now allows to easily enter special characters like currency symbols. +It uses the [special characters plugin](https://ckeditor.com/docs/ckeditor5/latest/features/special-characters.html), + +![Special characters in online editor](4.6_special_characters.png "Special characters in online editor") #### Support for Solr 9 -This release comes with support for [Solr 9](https://nightlies.apache.org/solr/draft-guides/solr-reference-guide-antora/solr/10_0/upgrade-notes/major-changes-in-solr-9.html). +With this release, [[= product_name =]] starts supporting [Solr 9](requirements.md#search). + +Solr 9 comes with support for [Dense Vector Search](https://solr.apache.org/guide/solr/latest/query-guide/dense-vector-search.html), paving the way for incoming improvements to the [AI Actions](ai_actions.md) feature. + +#### Improved content creation interface + +The editing interface of the back office has been improved to better highlight the language, creator, and the publication date when working with content items. + +![Improved interface for content creation](4.6_improved_editing.png "Improved interface for content creation") + +#### Twig Components + +With the latest changes to [Twig Components](components.md), you can: + +- set component priority when using YAML configuration +- render a menu with help of the new Menu component + +The list of built-in Twig Component groups has been expanded and includes: + +- one new group for the [back office](custom_components.md) (`admin-ui-versions-table-before`) +- eight new groups for [storefront](customize_storefront_layout.md#customize-with-twig-components) + +#### Taxonomy Subtree limitation + +You can now manage access to [taxonomy items](taxonomy.md) more effectively by using the new [Taxonomy Subtree limitation](limitation_reference.md#taxonomy-subtree-limitation). + +In addition, you can now use the [Taxonomy limitation](limitation_reference.md#taxonomy-limitation) together with the `taxonomy/assign` policy. + +#### Pagination for ezobjectrelationlist in GraphQL + +To improve performance and gain greater control over the returned responses from the [GraphQL API](graphql.md), you can now [enable pagination](relationlistfield.md#enable-pagination-in-graphql) of relations specified using the RelationList field type. + +#### Breaking changes -Solr 9 comes with support for [Dense Vector Search](https://solr.apache.org/guide/solr/latest/query-guide/dense-vector-search.html), paving the way for incoming improvements to [AI Actions](ai_actions.md) in [[= product_name =]]. +- The `Ibexa\FieldTypeRichText\RichText\Validator\CustomTagsValidator` class has been renamed to `Ibexa\FieldTypeRichText\RichText\Validator\CustomTemplateValidator`, expanding its responsibility to validate both [custom tags](extend_online_editor.md#configure-custom-tags) and [custom styles](extend_online_editor.md#configure-custom-styles) +- The `Ibexa\Contracts\AdminUi\Permission\PermissionCheckContextProviderInterface` interface has been removed +- The `Ibexa\Contracts\AdminUi\Values\PermissionCheckContext` class has been removed #### PHP API diff --git a/docs/release_notes/img/4.6_improved_editing.png b/docs/release_notes/img/4.6_improved_editing.png new file mode 100644 index 0000000000..b514cd145d Binary files /dev/null and b/docs/release_notes/img/4.6_improved_editing.png differ diff --git a/docs/release_notes/img/4.6_special_characters.png b/docs/release_notes/img/4.6_special_characters.png new file mode 100644 index 0000000000..37f278b2f3 Binary files /dev/null and b/docs/release_notes/img/4.6_special_characters.png differ