github uwdata/mosaic v0.15.0

12 hours ago

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 client field and fieldInfo lifecycle methods. Instead of these methods, clients can directly call mosaic-core's queryFieldInfo within a client's prepare lifecycle method.

Changelog

  • Breaking: Drop client fields and fieldInfo lifecycle methods, rely solely on prepare instead. The queryFieldInfo can be used instead to lookup field info directly; it uses the same types as the removed methods.
  • Add client enabled property. When enabled 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. When enabled is set to true, any pending initialization or query requests will then proceed.
  • Add enabled and filterStable options to makeClient helper utility.
  • Update inputs and plot package to call queryFieldInfo within the client prepare method.
  • Refactor initialization logic between coordinator and client.
  • Add tests for client enabled property.

Full Changelog: v0.14.1...v0.15.0

Don't miss a new mosaic release

NewReleases is sending notifications on new releases.