Release Notes Sitevision 8.2
Sitevision 8.2 is a minor release in the 8 series that introduces alias support, new buddy icons and lots of API improvements.
Infrastructure
Upgrades
- [SV-31766] Tomcat is upgraded to 8.5.64
Other
- [SV-31635] OAuth2 support for Salesforce
- [SV-30791] Show/hide logging tools in admin/log
Public API
Improvements
- [SV-4614] Add sv:alias and sv:aliasRepository types to the JCR Model Tree
- [SV-4614] ResourceLocatorUtil - new method to lookup sv:aliasRepository
- [SV-32027] NodeTypeUtil - added the sv:alias type
- [SV-31756] ResourceLocatorUtil - new method to lookup sv:principalRepository
- [SV-31867] DateUtil - added new/overloaded methods for Locale-sensitive operations
- [SV-31880] QueryStringUtil - added new methods that facilitates wildcard search
- [SV-31885] Added isCollaborationEnabled property for sv:site
- [SV-14859] BuddyIconRenderer - new method to get BuddyIconInfo (size/uri data that facilitates custom rendering)
- [SV-31832] BuddyIconRenderer.BuddyIconSize - added new sizes: X_LARGE and WIDTH_160
- [SV-31832] ImageRenderer will potentially include the new 160px default image size in srcset (when using SourceSetMode.AUTO (default) or SourceSetMode.ON)
Sitevision 8.2 introduces a new 160px min size for image source sets! The min size in prior versions was 320px.
The new/smaller min size should typically be considered when using ImageRenderer with an ImageScaler to render small images responsive (images with a width less than 320px didn't previously get a srcset but now they potentially will as the new min size is 160px).
To disable source set rendering completely in ImageRenderer, specify SourceSetMode.OFF - typically via the ImageRenderer.clearSourceSetMode() method.
Bug fixes
- [SV-31912] PermissionUtil - methods that relies on "current page" previously failed for RESTApps (i.e, returned false)
- [SV-31814] UserIdentityWrapper - permission checks for mutating operations previously failed when invoked from a RESTApp
- [SV-31805] UserIdentityUtil - methods would previously return null for inactivated user identities
- [SV-31770] ImageRenderer - removed faulty and misleading logging
See the Public API Change Log for full details
REST API
Improvements
- [SV-30808] GET/POST/PUT/DELETE aliases - new endpoint to manage sv:alias data
- [SV-31905] GET bookmarkettimelineentries - result now includes new X_LARGE buddy icon
- [SV-31905] GET comments - result now includes new X_LARGE buddy icon
- [SV-31905] GET compoundtimelineentries - result now includes new X_LARGE buddy icon
- [SV-31905] GET notifications - result now includes new X_LARGE buddy icon
- [SV-31905] GET timelineentries - result now includes new X_LARGE buddy icon
- [SV-31905] GET useridentitygroups - result now includes new X_LARGE buddy icon
- [SV-31905] GET likes - result now includes new X_LARGE buddy icon
- [SV-31969] GET comments - video attachments now includes "streamURI"
- [SV-31969] GET compoundtimelineentries - video attachments now includes "streamURI"
- [SV-31969] GET timelineentries - video attachments now includes "streamURI"
- [SV-31864] GET likes - result now includes the "disabled" state
- [SV-31883] GET/POST timelineentries - added support for poll entries
- [SV-31816] More extensive documentation of REST API URLs (identifier-based vs. path-based)
Bug fixes
- [SV-31984] POST/DELETE bookmarkedtimelineentries - could previously send WebSocket message before mutation was complete
- [SV-31984] POST/PUT/DELETE comments - could previously send WebSocket message before mutation was complete
- [SV-31984] POST/DELETE likes - could previously send WebSocket message before mutation was complete
- [SV-31984] POST/PUT/DELETE timelineentries - could previously send WebSocket message before mutation was complete
- [SV-31824] POST timelineentries - sharing a page previously required WRITE permission on shared page (now requires READ)
- [SV-22108] Requests to the REST API previously didn't adhere to the Schema/Access requirements on the site (didn't send https redirect)
- [SV-31878] URL field in the REST API Console (/rest-api/doc) would previously clear all existing input when new partial text was pasted
WebApps and RESTApps
Improvements
- [SV-31635] The oauth2 requireable supports Salesforce OAuth2 configurations