Skip to content

v1.12.0

Latest

Choose a tag to compare

@amc-corey-cox amc-corey-cox released this 08 Oct 19:52
7ed5ce7

LinkML metamodel 1.12.0, the first full release since v1.11.0. It includes everything from the v1.11.1 and v1.12.0 release candidates. Every artifact is regenerated with linkml 1.12, which ships this model.

Metamodel

  • status is now a plain string (#263). It was uriorcurie, while the metamodel's own values (testing, unstable) are plain words. bibo:status moves from slot_uri to close_mappings. Existing values still validate. In generated RDF, status is now a linkml:status string; see Known issues for OWL.
  • anonymous_class_expression.is_a only accepts class definitions (#271). The generated Python and GraphQL types narrow to match.
  • New dcterms, rdfs and rdf prefixes (#254).
  • Clearer documentation for key, identifier and unique_keys (#258), and for how mixins are inherited (#270).

Generated artifacts

All artifacts are regenerated, so they match meta.yaml again. Some schema changes had not been regenerated since v1.11.0 (#272, #279, #281, #284). Changes you may notice:

  • JSON-LD / RDF: an explicit class_uri is now recorded as skos:exactMatch (exact_mappings), not skos:mappingRelation (mappings) (linkml/linkml#2687). class_uri itself is unchanged.
  • JSON Schema: classes stay closed (additionalProperties: false), as the extra_slots default specifies (linkml/linkml#4021). UnitOfMeasure now requires one of ucum_code, iec61360code, symbol or exact_mappings. That rule was always in units.yaml, but this is the first time it reaches the published JSON Schema.
  • Python: maximum_number_dimensions narrows to int | bool and coerces its value, so anything else now raises ValueError (the slot has status: testing). Generation timestamps are no longer embedded in the modules.

Python package

  • The package now requires linkml / linkml-runtime 1.12 (#256, #284).
  • linkml_files builds correct GitHub raw and Pages URLs (#257).

Documentation

  • The specification renders correctly again (#255), with fixed links and no duplicated generated pages (#268). Also adds a code-generation link and lists the Scala implementation (#269).

Known issues

  • Generated OWL no longer includes element-level status values (linkml/linkml#4048). Schemas that set status (e.g. status: bibo:status/published) lose those annotations from OWL output. A fix is ready if this causes problems (#282); please comment on linkml/linkml#4048 if it affects you.

New contributors

Welcome @Ostrzyciel (#268), @noelmcloughlin (#265), @niegrzybkowski (#270) and @Silvanoc (#263), and thanks to everyone who contributed to this release.

Full Changelog: v1.11.0...v1.12.0