Scrivito JS SDK 1.54.0 Released

Posted on September 15, 2025

Improvements

Data is updated when the browser window is focused

As a default, the Web Interface Builder now always refetches the relevant data when the browser window is focused. If, for example, you leave the application and return later, the Interface Builder automatically requests the latest data in the background. You can disable this behavior per data class. See the documentation for details.

The SDK now lets you search for objects part of the subtree of a given content object using the new search function andIsInsideSubtreeOf.

Analogously, you can now also search for the children of a given parent object using andIsChildOf.

Editing layout elements as page content

The new Scrivito.InPlaceEditAsPageContent API allows you to mark components like ContentTag as page content, knowing that they are actually part of the layout, like the page title. Doing this enables editors to edit this content in place in page editing mode instead of having to switch to layout editing mode.


Consolidated enumeration attribute values

The Scrivito SDK now rejects empty strings as values in attribute definitions for enum and multienum attributes.

Fixed API issue

The extractText API function now handles inline text semantics properly so that text snippets are more true to the original. It no longer introduces unnecessary spaces around inline HTML tags, preventing issues such as unexpected gaps in search result text previews.

Thank you for using Scrivito!