3.4.1 • Published 2 days ago
@vitessce/schemas v3.4.1
How to add a new schema version
The following checklist can be used when adding a new schema version.
- Upgrade function: Each schema version must be accompanied by an upgrade function that facilitates automatically upgrading configs from the directly preceding schema version.
- Define this in previous-config-upgraders.ts
- Zod schema: Each schema version must be accompanied by a Zod schema.
- Define this in previous-config-schemas.ts
- Where possible, .extend from the previous schema.
- Define this in previous-config-schemas.ts
- Config version meta-information: in previous-config-meta.ts
- Set the newly-defined schema as the value of
latestConfigSchema
. - Add the newly-defined schema type to the
AnyVersionConfig
union type. - Append the newly-defined schema and upgrade function to the
SCHEMA_HANDLERS
array.
- Set the newly-defined schema as the value of
- Update the list of config versions on the View Configs via JSON documentation page.
If the reasoning for the new version is NOT for only coordination type or behavioral changes:
- Update the schema constructed by
buildConfigSchema
to match the "generic" (i.e., non-plugin-specific) schema inlatestConfigSchema
.
3.4.1
2 days ago
3.4.0
3 days ago
3.3.12
23 days ago
3.3.10
1 month ago
3.3.11
1 month ago
3.3.9
2 months ago
3.3.8
2 months ago
3.3.7
2 months ago
3.3.6
2 months ago
3.3.5
3 months ago
3.3.4
3 months ago
3.3.3
3 months ago
3.3.1
5 months ago
3.2.2
8 months ago
3.1.3
8 months ago
3.3.0
7 months ago
3.2.1
8 months ago
3.1.2
8 months ago
3.2.0
8 months ago
3.1.1
9 months ago
3.1.0
10 months ago
3.0.1
10 months ago
3.3.2
5 months ago
3.0.0
11 months ago