Skip to content

@_linked/org major: registerOntologies and core 3 - #67

Merged
flyon merged 7 commits into
mainfrom
dev--coordinated-major
Nov 24, 2026
Merged

flyon merged 7 commits into
mainfrom
dev--coordinated-major

Conversation

@flyon

@flyon flyon commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Part of the coordinated major of the @_linked packages: ontologies register with registerOntologies (core 3), prefixes belong to the app, and the cli 2 ontology layout.

Merges dev (with main merged in) into main, with the @_linked ranges moved to the published majors:

  • dependencies @_linked/core: ^2.41.0 -> ^3.0.0
  • dependencies @_linked/schema: ^1.8.0 -> ^2.0.0

Locally built with the cli 2 release commit (✔ Build successful).

Changesets

  • major (ontology-index-no-prefix.md): Ontology modules in the one-index layout, and no prefix registered. ontologies/org holds only the terms, each an {id} with its full IRI. ontologies/index registers every ontology of the package with core's registerOntologies (data and suggested prefix); the package entry and shapes/index import it. Removed: the ontologies/<name>.data and ontologies/<name>.register modules (ns, dataFiles, loadData, _ontologyResource) and linkedOntology from package (now registerOntologies). The package no longer adds a prefix: an app lists the prefixes it uses in its own prefix map. For a namespace function use createNameSpace(namespace) from @_linked/core/utils/NameSpace; for the data, the registration from getRegisteredOntologies(). Namespaces, term names and term IRIs are unchanged. Requires the core release with registerOntologies.
  • patch (vann-suggested-prefix.md): The ontology data carries its suggested prefix (org) as vann:preferredNamespacePrefix and vann:preferredNamespaceUri in an added data file, as linked build now requires; modules regenerated. Prefixes and terms unchanged.

Verification

CI (Build & Test) on this PR, built with the cli 2 release commit through the shared workflow's cli-version.

@flyon
flyon merged commit 107679d into main Nov 24, 2026
2 checks passed
@linked-fw-release linked-fw-release Bot mentioned this pull request Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant