Repository navigation
v1.12.0-rc1
Pre-release
Pre-release
First release candidate for 1.12.0. Bumps metamodel_version to 1.12.0 and regenerates all artifacts against current linkml main. Cut to unblock vendoring in linkml/linkml.
Metamodel changes
statusis now a plainstring(#263). Its range wasuriorcurie, andbibo:statusmoves fromslot_urito aclose_mappingsentry. Values liketesting/unstableare now the documented form. Existing values still validate, since the range got wider. But generated RDF now emitsstatusas alinkml:statusstring literal, not abibo:statusIRI, and generated OWL no longer emitsstatusat all. So schemas that used CURIE values likestatus: bibo:status/draftlose that IRI in their RDF and OWL output. It also drops the metamodel's own broken OWL triples, which emittedstatus: testingas the relative IRI<testing>.anonymous_class_expression.is_anarrows toclass_definition(#271). The generated Python and GraphQL types narrow to match.- Mixin inheritance documentation clarified (#270).
Changes reaching the generated artifacts
class_uriis now serialised asskos:exactMatchin JSON-LD and RDF, not as aclass_urikey (linkml/linkml#2687), which matches the OWL output. Anything that readsclass_uriout ofmeta.jsonldwill no longer find it.maximum_number_dimensionsnarrows fromUnion[dict, Anything]toUnion[int, bool, Bool]inmeta.pyand now coerces its value. A value that is neither an int nor a Bool now raisesValueError, where it used to pass through untouched. The slot hasstatus: testing.jsonschema/meta.schema.jsonkeeps classes closed (additionalProperties: false) per theextra_slotsdefault (linkml/linkml#4021).- Generation timestamps are no longer embedded in the generated Python modules.
Also included since v1.11.0
v1.11.1 never went final, so this rc also carries everything from v1.11.1-rc1:
- New
dcterms,rdfs,rdfprefix definitions (#254) - Rewritten
key/identifier/unique_keysdescriptions (#258) UnitOfMeasuregains ananyOfinmeta.schema.json(one ofucum_code/iec61360code/symbol/exact_mappingsrequired). The rule was always inunits.yaml, but it reaches the published JSON Schema for the first time.linkml_filesbuilds correct GitHub raw / Pages URLs.
Known quirk
Some parts of this rc are still generated using the previous metamodel, linkml-runtime's vendored 1.11.1-rc1:
- Only
meta.pyreportsmetamodel_version1.12.0. The other modules still say 1.11.0. - Element-level
statusvalues inrdf/*.ttlandowl/meta.owl.ttlare still emitted the old way (bibo:status "testing"^^xsd:anyURI/bibo:status <testing>), even though thestatusslot definition itself is updated.
Both resolve once linkml vendors this rc and the model is regenerated against it.
Full detail in #279.