By defining the update callback of Scrivito.provideDataItem, you can now smoothly update data items using your own logic. This gives you greater control and flexibility in managing your data within your Scrivito app.
Scrivito JS SDK 1.37.0 Released
Posted on November 9, 2023
Improvements
Updating data items using custom logic
Prerendering fails early with an invalid origin
If the SCRIVITO_ORIGIN environment variable is set to an empty string or some other invalid origin value, the prerendering output no longer contains broken URLs. The prerender script will now fail with an informative error if the origin is misconfigured.
Further changes
- The
DataItem#destroyAPI method (beta) has been renamed toDataItem#delete. - NodeJS 14 and 16 have reached their end of life (source). Starting with version
1.37.0, the Scrivito SDK no longer supports node 14 and 16. Node 18 is fully supported.
Thank you for using Scrivito!