Published October 13, 2026 | Version v1.12.1

LinkML: A Linked Open Data Modeling Language

Description

A small point release that fixes install problems in 1.12.0 and one JSON Schema bug.

Install fixes

1.12.0 could be installed alongside dependency versions it doesn't work with. Both problems show up as import errors.

  • linkml-runtime must now be ≥ 1.12.0. linkml 1.12 uses linkml_runtime.utils.rdf_canonicalize, which first shipped in linkml-runtime 1.12.0. With an older runtime, from linkml.validator import validate failed with ModuleNotFoundError. (#4119, fixes #4120)
  • click must now be ≥ 8.3.3. With click 8.2.0–8.3.2, importing any generator failed with an ImportError on ParameterSource. (#4117)

Generator fixes

  • gen-json-schema: a slot whose range is a type with no base now gets "type": "string". Before, the property was emitted as {} (1.12.0) or crashed the generator (1.11.1). (#4079, fixes #4078)
  • gen-openapi:
    • Templates can now override the annotations on generated schemas. (#3961)
    • Schemas referenced under items, oneOf and allOf are now included. (#4098)

Documentation

  • --use-curies is now documented for gen-json-schema and gen-jsonld-context. It explains that identifier slots keep their slot-name key, which maps to @id. (#4080)

Full Changelog: https://github.com/linkml/linkml/compare/v1.12.0...v1.12.1

Files

linkml/linkml-v1.12.1.zip

Files (45.3 MB)

Name Size
md5:b45cc7bbf602303555811a3d78ef7142
45.3 MB Preview Download

Additional details

Related works

Software