Skip to content

2.1.1

Latest

Choose a tag to compare

@korikuzma korikuzma released this 01 Oct 02:03
· 3 commits to 2.1 since this release
8e2bcd3

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.metaschema processor (0.4.8) and its abstract-class convention: abstract classes are marked abstract: true and 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, and SequenceExpression sealed: true, replacing their hand-written oneOf unions with processor-derived ones. The derived unions are identical to 2.1.0's. Properties that previously inlined a oneOf over the sequence expression classes (Allele.state, RelativeAllele.baseState/mappedState, Adjacency.linker) now reference SequenceExpression instead, which resolves to the same three classes, by @larrybabb in #718
  • Publishes Ga4ghIdentifiableObject as a standalone, open JSON Schema (json/Ga4ghIdentifiableObject) by @larrybabb in #718
  • Bumps the gkm-core submodule from 1.2.0 to 1.3.0. The only data-model changes in GKM Core 1.3.0 are a new optional ConceptSet.conceptSetType field and iriReference as a new allowed ConceptSet.concepts member, and no VRS class uses ConceptSet. VRS classes that inherit from GKM Core's Entity (Ga4ghIdentifiableObject, SequenceExpression, SequenceOffsetLocation, TraversalBlock) or Element (Expression) see no property changes, since 1.3.0 only marks those root classes abstract, by @larrybabb in #718
  • Retokenizes the schema identity ($id) to 2.1.1 by @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 $ref version-token resolution tests. Also regenerates the stale validation/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-files hook fail on a make error, 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