Release Notes 4.5.3

Sitevision 4.5.3 contains various improvements and bug fixes as well as new additions to Sitevision's API. Rhino's language level is bumped to 200 which allows for ES6 syntax.

Infrastructure

Upgrades

  • [SV-25938] Tomcat is bumped to version 8.5.34

Improvements

  • [SV-26064] Rhino language level is changed to 200 (ES6)

Improvements

  • [SV-26023] CollaborationGroupWrapper - New methods to read and set description of a sv:collaborationGroup
  • [SV-26083] CollaborationGroupWrapper - New methods to get and set profile image for a sv:collaborationGroup
  • [SV-26015] JsonRequester.delete - Added additional options to support delete invocations with body data
  • [SV-26127] CollaborationGroupUtil - New method to remove a sv:collaborationGroup

Bug fixes

  • [SV-25103] OutputUtil.getNodeOutput - Protection against infinite recursion
  • [SV-26148] JsonRequester - Improved handling of data when using contenType application/json - no need to stringify object.
  • [SV-26279] PrincipalUtil.doAsDuringLogin now properly enforces documented behaviour (usage is only allowed during login, i.e. in JAAS modules)

See the Public API Change Log for full details

Improvements

  • [SV-25953] Added comments PUT to update comments

Bug fixes

  • [SV-26056] Users belonging to a virtual group do not get proper permissions

Elements and Add-ons

Bugs

  • [SV-26032] Cached JS and CSS resources must be invalidated when a new addon is set to active
  • [SV-24822] Files belonging to an element cannot be edited after it has been imported

WebApps

Bugs

  • [SV-25993] Unexpected result in some rare cases when an app is re-rendered client side
  • [SV-25904] WebApp help url (from manifest.json) does not work in the addon view
  • [SV-25895] getUrl includes existing query string
  • [SV-25911] res.redirect includes existing query string
  • [SV-25891] Rendering from a POST route should render full page
  • [SV-25846] WebApps fail to render after a form is submitted
  • [SV-26153] ListComponent attributes are not rendered when re-rendered client side

RESTApps

Bugs

  • [SV-26035] EventSubscribersCacheService fails to invalidate cluster wide when a new RESTApp is uploaded
  • [SV-25947] RESTApps are resolved case sensitive

WebApps and RESTApps

New features

  • [SV-25943] appInfo - new object that contains information about the executing app

Improvements

  • [SV-25771] Support for list component (page, file, image, user) in the config view. Retrieve values using the new appData.getArray-method
  • [SV-26029] Support for content node selector in the config view
  • [SV-25952] Support for user selector in the config view
  • [SV-25814] Trigger 'change' when a SiteVision node selector component receives a value
  • [SV-26004] The 'setup-component' event must be attached before setValues is called
  • [SV-26079] Trigger an event ('sv:loaded') when a dynamically added component has fetched its data
  • SV-25124] Display information if an app is signed or not
  • [SV-26192] Option (data-attribute) to make it possible to clear a selected value from a SiteVision node selector
  • [SV-26155] Add hostname to the req object

Bugs

  • [SV-25905] Config template (app-config.html) is returned with no Content-Type
  • [SV-25881] Numbers cannot be stored as session attributes (req.session)

Do you want to subscribe to News from Sitevision Developer team? Subscribe here!