Scrivito JS SDK 1.42.0 Released

Posted on July 1, 2024

Interface Builder improvements

DataScope#limit() API method

The new DataScope#limit() method determines the maximum number of data items a DataScope may contain. It returns either a number indicating this limit, or undefined if no limit is set.

Introducing Scrivito.currentLanguage()

Scrivito.currentLanguage() returns the language locale of the website.

Further improvements

Redirecting the user after logging out

Scrivito.logout now accepts a returnTo URL to which the user is redirected after logging out.

Thank you for using Scrivito!