Release Notes Sitevision 2022.08.1
Sitevision 2022.08.1 contains infrastructure upgrades and adds support for WebP images, SRI and CSP nonce.
Infrastructure
Upgrades
- [SV-34071] Java is updated to Corretto version 8.332.08.1
- [SV-34312] Tomcat is updated to 9.0.64
Improvements
- [SV-30012] Added support for images in the WebP format
- [SV-27076] Added SRI support for external Javascript/CSS addons
- [SV-33043] Added CSP nonce support
JCR Model (data/tree backend for Public API and REST API)
Updates
- [SV-34404] Added the "downloadProtected" boolean property for sv:folder
Bug fixes
- [SV-34278] The "rawURI" for a sv:link could contain html-escaped amps
Public API
Improvements
- [SV-34164] WebContentUtil - added new methods to update content (also released in 2022.05.1.2)
- [SV-34336] FileUtil - added method to mutate the "downloadProtected" property of sv:file
- [SV-34336] FolderUtil - added method to mutate the "downloadProtected" property of sv:folder
- [SV-34336] PermissionUtil.Permission - added the "manage download protection" permission
- [SV-33043] PortletContextUtil - added CSP-related getNonce method
Bug fixes
- [SV-34394] The setVersioned method in FolderUtil mutated without lock (could cause dirty read/write, "lost update")
REST API
Improvements
- [SV-34227] External links in entries and comments should use https as protocol if no protocol is specified
Bug fixes
- [SV-34225] Links in entries and comments should not be html-escaped
WebApps
Improvements
- [SV-33207] headless.js - a new entry point to describe what the WebApp shold expose in a headless context
Bug fixes
- [SV-34287] @sitevision/api/common/app was not available in Hooks
Envision
Improvements
- [ENV-200] Tabs component no longer requires links for tabs
- [ENV-195] Added warning in console when using deprecated jQuery initiation for components
- [ENV-194] Active tab in Tabs component may be set from markup or script on initialize
- [ENV-193] All JS methods for initializing components now returns elements in the promise on repeated calls. Also fixes a bug where invalid identifiers could be used as target.
- [ENV-192] Support for icons in textarea
Envision is an open source UI Library for Sitevision (MIT License)
- Envision documentation is available at https://envisionui.io
- Source is available at https://github.com/sitevision/envision
Search
Improvements
- [SV-15986] [SV-22303] [SV-34265] Added UI-settings for more detailed rendering behaviour of the default Canonical link