-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Viewer Config Versioning, Migrations, and X/Y Scatter Serialization Updates #2401
Viewer Config Versioning, Migrations, and X/Y Scatter Serialization Updates #2401
Conversation
0b713a8
to
4b4159e
Compare
|
4b4159e
to
38de641
Compare
Co-authored-by: Tom Jakubowski <[email protected]> Co-authored-by: Broch Stilley <[email protected]>
Co-authored-by: Tom Jakubowski <[email protected]> Co-authored-by: Broch Stilley <[email protected]>
38de641
to
c5541fc
Compare
Update X/Y Scatter symbols serialization Fix X/Y Scatter padding issues
c5541fc
to
cb34c31
Compare
|
||
import { cmp_semver, parse_semver } from "../migrate"; | ||
/** | ||
* Migrates to 1.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not entirely certain if this is the right versioning schema. We may want to link API versions to Perspective releases instead of decoupling them like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely use the Perspective version.
fix datagrid boolean click bug
This PR is based on #2399.
This PR adds versioning to the viewer configuration API. In particular, I've implemented a semver-style versioning system. Everything up to this point has been version "0.0.0" of the API. The semver allows build-style extensions a la cargo so we can, in the future, add a more nuanced migration tool to chain migrations from previous versions of perspective, e.g. from
0.0.0+1.5.0
, where the build extension denotes the perspective version. I would also like to see backwards compatibility in the future, i.e. migrating existing viewer configs by directly importing them into the viewer.This PR updates migration scripts to include the new expression API and the new X/Y scatter plot plugin symboi serialization.
string[]
to{name: string, expr: string}[]
{key: string, value: string}
to{[x: string]: string}