5.0.1
refreshevent in component manifesteventsis required to declare that a component can refresh its dataVersionMismatchnotification event- Ability to explicitly type the
propsof anOpenEvent - Restored the optional
audienceparam ofgetAccessToken(for pseudonymisation scenario) - More docs
5.0.0
- Module and component "manifests" for code-level annotation (instead of doc-level)
- Module bootstrap without instantiating components
- Pre-fetching mechanism to preload data for components in the background
- Official support for multiple components per package
- Added an event bus to the
HostServicesto signal relevant changes in the host app (like settings changes) ComponentServicesis no longer a component input; it has been replaced withHostServicespassed into the
bootstrapfunction at the module levelversionat component level is nowspecVersionin the module manifest
(all components of the same module share a version number)
and the version check will be done by the host app instead of the web component- Created a base class for vanilla JS web component implementations
- Added event types and factories
- Converted enums to ES-compatible implementations (backwards compatible)
- Better, stronger typing
- Improve code doc
- Add guidelines to repo (moved from private confluence)
getAccessTokenno longer returnsnull, if something is wrong it will reject the Promise insteadcacheDataStorageimplements fullMapinterfaceOfflineDataStorage.removerenamed todeletefor better alignment withMapinterface- Replaced
RegisterRefreshCallbackwith an event-based approach - Added
.editorConfigto the project