Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.15.0 #724

Merged
merged 1 commit into from
Mar 17, 2025
Merged

v0.15.0 #724

merged 1 commit into from
Mar 17, 2025

Conversation

jheer
Copy link
Member

@jheer jheer commented Mar 17, 2025

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.

@jheer jheer merged commit c679b2a into main Mar 17, 2025
3 checks passed
@jheer jheer deleted the v0.15.0 branch March 17, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants