5.5 - 6 May
PLEASE NOTE! YOU NEED TO UPGRADE TO 4.35 BEFORE UPGRADING TO 5.xx
Incompatibilities and deprecations
- assetpacks use module (mjs) format and target a minimum level of es2022/safari16.2
- lazyloadcss and asyncbundle have been removed. bundles are always async now they're modules
- wrd exports no longer contain audit events or changesets
- getTidLanguage() now initially return "en", not ""
- getFields in
@webhare/wrd
now throws if the entity is missing.
Things that are nice to know
- Switches WebHare's 'forThisServer' algorithms to aes-256-gcm. If you don't specify any algorithm to Encrypt/DecryptForThisServer, aes-256-gcm will be used
wh sql
adds a--json
for nicer integration with scripts (note that this was already possible using--showmode json
)- markdown headings will now be shifted one level down, eg # becomes H2, to better align with SEO conventions
- Adds support for JavaScript based PSP (payment service providers) drivers. JS drivers can be included in modules and don't require support in the core platform for every providfer.
- Adds
@webhare/gettid
as an better entrypoint for@mod-tollium/js/gettid.ts
. It also supports both frontend and backend code - Adds
toLink
andtoResized
to TS WHFS files (mirroring the file/image cache in HareScript)
TypeScript/JavaScript highlights
- Add isElement & isHTMLElement as type&realm safe instanceof
- Added makeObject to @webhare/harescript
- Adds encryptForThisServer and decryptForThisServer to
@webhare/services
- Adds joinURL to merge together two URL components
- CallJS as a more efficient path to simple JS functions
To get the full list of changes between 5.4 and 5.5 yourself, use: git log $(git merge-base master origin/release/5.4)..$(git merge-base master origin/release/5.5)