Highlights
- This version adds the ability to selectively enable/disable clients.
- It also simplifies and streamlines the client lifecycle to use a single
prepare
call as part of client initialization. It includes the breaking change of removing the Mosaic clientfield
andfieldInfo
lifecycle methods. Instead of these methods, clients can directly call mosaic-core'squeryFieldInfo
within a client'sprepare
lifecycle method.
Changelog
- Breaking: Drop client
fields
andfieldInfo
lifecycle methods, rely solely onprepare
instead. ThequeryFieldInfo
can be used instead to lookup field info directly; it uses the same types as the removed methods. - Add client
enabled
property. Whenenabled
is set to false, the client will not initialize nor respond to query requests and selection updates. This setting can improve performance, for example by suppressing updates to off-screen interface components. Whenenabled
is set to true, any pending initialization or query requests will then proceed. - Add
enabled
andfilterStable
options tomakeClient
helper utility. - Update inputs and plot package to call
queryFieldInfo
within the clientprepare
method. - Refactor initialization logic between coordinator and client.
- Add tests for client
enabled
property.
Full Changelog: v0.14.1...v0.15.0