XMLAttr no longer derives from XMLNode. Children of XMLAttrs can no longer be manipulated.
We no longer autoinstall the webpack module during upgrades. If you still need it and are upgrading from 4.17 or below, you'll have to install it manually
The tollium_dev module has been dropped. If you are still seeing artifacts, wh module delete tollium_dev to get rid of your local version.
Relative URLs in CSS url() fields must now be correct, previous versions also looked in parent directories for matches.
In javascript assetpacks, now only features from the standard are polyfilled. For example, Array.slice(arr, func) and Array.forEach(arr, func) won't work anymore.
WebHare will clean data in its output folder that's no longer associated with a site. If you're manually maintaining output (eg in a foreign folder)
you should move this content outside the output tree and use an access rule to make it available
Added STATUSRECORD type to WRD, combining a status and other cells, but speeding up searches by 'status'. This field is intended to store eg. newsletter subscription/consent data.
wh-form__button--submitlabel, wh-form__button--previouslabel, wh-form__button--nextlabel and wh-form__uploadbuttonlabel have been removed from the form buttons and replaced with
a generic wh-form__buttonlabel.
RunConsilioSearch returns summary as before and no longer a _summary. You can specify the exact name you want for the summary as an option
The consenthandler now uses wh:consent-changed instead of wh:consent-change for its events as external code was already using the latter event
Things you should do
Things that are nice to know
A 'link' member has been added to system.fs_objects. We now recommend using this over 'indexurl' or 'url'.
and 'url' has been now been made available as 'objecturl', but you probably never want to use it unless you're writing low level URL functions
The consenthandler can automatically set and handle consent overlays over elements requiring consent (see consenthandler.md)
A new siteprofile element <videowidget>. Setting it adds thumbnail and click-to-play to video elements.
<videowidget breakpoints=> to generate lower resolution video thumvs
<videowidget requireconsent=> to link the videowidget to automatic consent handling
WebHare will now automatically clean output for sites that are no longer published, or published to a different locations. The output
is first archived for 7 days (normally to /opt/whdata/output/.archive) and then deleted.
Added IsModuleInstalled as a cleaner way to check than testing GetModuleInstallationRoot for an non-empty result.
<downloadaction>s can now add an ondownloadstarted= handler which will signal when the download was actually started. (eg to close the window waiting for the download to start)
Form rendered buttons now add a wh-form__buttonlabel class to the <span> inside the <button>.
WRD can now keep history for entities (by setting keephistorydays to the number of days to remember changes)
New XML DOM apis ListChildren, ListElements and GetAllChildNodes which replace various inefficient live nodelist returning functions (eg GetElementsByTagNameNS, childnodes).
Live nodelists are especially inefficent if the Item and Length calls are used, instead of immediately converting the lists to an OBJECT ARRAY using GetCurrentElements or
GetCurrentNodes. You can do the following conversions: