5.0 - Current master
PLEASE NOTE! YOU NEED TO UPGRADE TO 4.35 BEFORE UPGRADING TO 5.0
Incompatibilities and deprecations
- The
dbserver
(whdb, WebHareDB) has been removed system.fs_instances.id
,system.fs_settings.id
andwrd.entity_settings.id
and any referring columns are nowINTEGER64
s- Deprecations/removals that a dev:rewrite will fix for you:
- Support for the
lib=
attribute a<tolliumcomponent>
has been removed. Merge it into theobjecttype=
- Support for the
- Support for manually configured scheduler tasks has been removed. You should use
<task>
s in moduledefinitions. <authenticationsettings requireauthorization=false>
has been removed. It wasn't properly parsed from the XML anyway and is only acting as the inverse of themanagementmode
property.- Support for
<undoextendproperties>
has been removed. It has already been broken for a while. - You can no longer manage WRD schema metadata through the legacy objectapi.whlib
- Support for the Tollium
rowselect
andborder
attributes has been removed in both XML and HareScript (this does not affect the newerborders
attribute that replacedborder
in WebHare 4.03) - Support for the WebHare dev-agent (formerly Connect-helper) has been completely removed. You can use
wh dev:mount
now to mount a remote WebHare server using WebDav once you've setup a peering connection. "Open in editor" now requires an editor supporting LSP (Language Server Protocol) - NPM v7 restored automatic installation of per dependencies, even if not explicitly selected. We now explicitly disable that again for modules.
Things that are nice to know
<windowopenaction>
now has alink=
parameter which you can use if the link is hardcoded anyway (no need for a callback)- The 'Send results by email' form handler will set the Reply-To to the recipient address if not otherwise set
- Dashboard panels can now have individual access checks.
- TestThrowsLike and TestRejectedLike now match their exceptions case-insensitively
- The new language construct
FOREVERY [ AWAIT ] (variable YIELD FROM iterator)
has been added, to quickly get the values returned by an iterator - Adds
http://www.webhare.net/xmlns/publisher/widgets/wittyblock
andhttp://www.webhare.net/xmlns/publisher/widgets/wittyinline
widgets to allow users to directly insert witty objects into RTDs. (Use with care!) - You can set the mask parameter of
TestThrowsLike
toREPORT
to get a print of the exception.- Replacing all
TestThrows(
calls withTestThrowsLike("REPORT",
is a quick way to get a list of all exceptions in a test so you can then simply copy them into the test code.
- Replacing all
- WRD has a new type, WHFSLINK, which stores links to files in WHFS (useful you don't want WHFSINTEXTLINKs ability to store external links too)
- Frontend support for the Tollium GetExclusiveAccess screen has been added
wh sql
now has a-r
(raw) option to simply print the results- You can use IsProductionOrAsIf to guard a workflows/dialog which you need to be able to simulate during development