Skip to content

@_linked/server major: registerOntologies and core 3 - #235

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

flyon merged 12 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.47.0 -> ^3.0.0
  • dependencies @_linked/server-utils: ^1.16.1 -> ^2.0.0

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

Changesets

  • patch (app-json-settings-docs.md): Comments and the readme name linked.app.json as the file that holds syncShapesOnBoot (the app settings linked start passes to LinkedServer), and the ontology's name as the last segment of a first-party ontology namespace.
  • major (ontology-index.md): The ontology is registered by src/ontologies/index.ts (core's registerOntologies), which the package entry imports; the package registers no prefix (an app's prefix map, linked.app.json, holds the prefixes; the ontology's data suggests one). src/package.ts exports registerOntologies instead of linkedOntology. Requires the @_linked/core major with registerOntologies. Removed: ontologies/server.register, ontologies/lincd-server.register, the dataFiles and loadData exports of ontologies/server, and the deprecated lincd-server prefix. The boot sync's source-package loader imports src/ontologies/index.ts.
  • patch (ontology-vann-data.md): The ontology is declared in package.json "linkedOntologies" and its data states its suggested prefix and namespace (vann:preferredNamespacePrefix, vann:preferredNamespaceUri); the module stays hand-written ("generated": false). No import path or export changes.

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 311ab1e 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