Repository navigation
Version 2.1.1 moves VRS to the renamed GKM metaschema processor (ga4gh.gkm.metaschema) and its abstract-class convention, and tracks GKM Core 1.3.0. The abstract classes Variation, MolecularVariation, SystemicVariation, Location, and SequenceExpression are now declared sealed: the processor derives each class's closed set of concrete subclasses instead of relying on hand-maintained oneOf lists. The derived sets match 2.1.0 exactly, so the instances VRS accepts and their computed identifiers are unchanged. This release also renames the "Concepts" documentation section to "Model", aligns the maturity model page with the GA4GH TASC Technical Specification Development policy, and substantially expands the test suite.
Patch Version Increment
- Adopts the renamed
ga4gh.gkm.metaschemaprocessor (0.4.8) and its abstract-class convention: abstract classes are markedabstract: trueand left open, while concrete classes stay closed to undefined properties (additionalProperties/unevaluatedProperties: false), as they already were in 2.1.0, by @larrybabb in #718 - Declares
Variation,MolecularVariation,SystemicVariation,Location, andSequenceExpressionsealed: true, replacing their hand-writtenoneOfunions with processor-derived ones. The derived unions are identical to 2.1.0's. Properties that previously inlined aoneOfover the sequence expression classes (Allele.state,RelativeAllele.baseState/mappedState,Adjacency.linker) now referenceSequenceExpressioninstead, which resolves to the same three classes, by @larrybabb in #718 - Publishes
Ga4ghIdentifiableObjectas a standalone, open JSON Schema (json/Ga4ghIdentifiableObject) by @larrybabb in #718 - Bumps the gkm-core submodule from
1.2.0to1.3.0. The only data-model changes in GKM Core 1.3.0 are a new optionalConceptSet.conceptSetTypefield andiriReferenceas a new allowedConceptSet.conceptsmember, and no VRS class usesConceptSet. VRS classes that inherit from GKM Core'sEntity(Ga4ghIdentifiableObject,SequenceExpression,SequenceOffsetLocation,TraversalBlock) orElement(Expression) see no property changes, since 1.3.0 only marks those root classes abstract, by @larrybabb in #718 - Retokenizes the schema identity (
$id) to2.1.1by @ahwagner in #718, with a final retokenization pass (also dropping the ballot suffix from the gkm-core namespace pin) by @korikuzma when the release was cut - Aligns the maturity model page with the GA4GH TASC Technical Specification Development policy by @ahwagner in #714
- Renames the "Concepts" documentation section to "Model", generates the imported GKM Core class definitions locally instead of linking them from the submodule, and fixes the maturity model link, by @larrybabb in #718
- Expands the test suite with schema-invariant tests (abstract classes open, concrete classes closed), negative examples (
examples/invalid/), concrete-class coverage for every instantiable VRS class, and$refversion-token resolution tests. Also regenerates the stalevalidation/json/models.json, adding the missing fixtures for the draft intronic-position classes, by @larrybabb in #718 - Updates the pre-commit CI job to check out submodules and install the schema-build dependencies, and makes the
update-json-def-fileshook fail on amakeerror, by @larrybabb in #718 - References the GA4GH metaschema processor in the README and refreshes contributor guidance (
.claude/CLAUDE.md), by @larrybabb in #718
Full Changelog: 2.1.0...2.1.1