Sections in the article
inriver is moving towards more incremental, smaller releases to accommodate our customers better and faster. With smaller, more frequent releases, inriver will be able to increase the quality and transparency of the releases and identify and mitigate any erroneous behavior that may be caused by the release much faster.
NB! To receive notifications when new release notes are published, please ensure you follow this page by clicking the "follow" button above.
Please see below for the deployed features and improvements:
Expression Engine
- It has been implemented that the Expression Engine now supports three new LIST functions, enhancing the ability to process and transform collections within expressions. These functions - MAP, FILTER, and DISTINCT - enable more flexible and powerful list manipulation capabilities:
-
MAP (list, predicate)
This function iterates over each element in a given list, applying a transformation defined by the predicate. During iteration, a special loop variable named $VALUE is made available, representing the current item in the list. For example, this variable can be utilized within the predicate logic to retrieve a field value using an Entity ID.Example (numeric transformation):
=MAP(LIST(1, 2, 3), $VALUE * 2)
This returns a new list [2, 4, 6].Example (mapping entity references):
=MAP(LINKEDENTITIES('MyLinkType'), FIELDVALUE('MyField', $VALUE))
This retrieves the value of 'MyField' for each linked entity of type 'MyLinkType'. -
FILTER(list, predicate)
This function filters elements in the provided list based on a condition specified in the predicate. Like MAP, the $VALUE variable is available during iteration, allowing evaluation of each element.Example (filtering values greater than 2):
=FILTER(LIST(1, 2, 3), $VALUE > 2)
This returns [3], as only element 3 satisfies the condition. -
DISTINCT(list)
This function returns a new list containing only the unique elements from the input list, eliminating duplicates while preserving the order of first occurrence.Example (removing duplicates):
=DISTINCT(LIST(1, 1, 1, 1, 1, 2, 3))
This returns [1, 2, 3].
-
Please see below for the deployed bug fixes:
General
- We have applied a solution to ensure that user list retrieval via the REST API is optimized for performance and reliability in large-scale environments. Specifically, improvements were made to the GET/api/v1.0.0/system/users endpoint to prevent timeouts caused by excessive response payload sizes, which previously included detailed user and role information.
Expression Engine
- We have applied a solution to ensure that field expressions in newly created entities within Enrich are correctly evaluated and not marked as invalid. This includes resolving an issue in the Excel Import process, where the Expression Engine previously returned a 'Field not found' error when expressions referenced empty fields in newly created entities.
- We have applied a solution to ensure that the JSONVALUE function correctly recognizes JSON arrays as valid JSON structures.
inriver Implementation Standards
inriver's ambition is to collaborate with our partners in providing our customers with as safe and secure a PIM system as possible. With that in mind, inriver is improving the information on our Community to help implementation partners ensure quality, optimize implementations, and avoid pitfalls.
Read more about inriver Implementation Standards
Comments
0 comments
Please sign in to leave a comment.