Skip to content

chore: version package for release#3

Merged
flyon merged 2 commits intomainfrom
changeset-release/main
Feb 11, 2026
Merged

chore: version package for release#3
flyon merged 2 commits intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@_linked/core@1.0.0

Major Changes

1.0.0 (from LINCD.js)

This is a rebranding + extraction release. It moves the core query/shape system into @_linked/core and removes RDF models and React-specific code.

Key changes:

  • New package name: import from @_linked/core instead of lincd.
  • Node references everywhere: use NodeReferenceValue = {id: string} everywhere. NamedNode does not exist in this package.
    • Before (LINCD.js):
      import { NamedNode } from "lincd/models";
      const name = NamedNode.getOrCreate("https://schema.org/name");
    • After (@_linked/core):
      import { createNameSpace } from "@_linked/core/utils/NameSpace";
      const schema = createNameSpace("https://schema.org/");
      const name = schema("name"); // {id: 'https://schema.org/name'}
  • Decorator paths: property decorators now require NodeReferenceValue paths (no strings, no NamedNode).
    • Before:
      @literalProperty({path: foaf.name})
    • After:
      const name = schema('name');
      @literalProperty({path: name})
  • Target class and node kinds: targetClass, datatype, nodeKind, etc. now take NodeReferenceValue.
    • Before:
      static targetClass = foaf.Person; // NamedNode
    • After:
      static targetClass = schema('Person'); // {id: string}
  • Query context: context values are NodeReferenceValue (or QResults) instead of RDF nodes.
    • Before:
      setQueryContext("user", NamedNode.getOrCreate(userId), Person);
    • After:
      setQueryContext("user", { id: userId }, Person);
  • No RDF models in core: NamedNode, Literal, BlankNode, Quad, Graph, and all RDF collections are not available in @_linked/core. Use a store package (e.g. @_linked/rdf-mem-store) if you need RDF models or quad-level access.
  • Shape instances: shape classes no longer carry RDF nodes or instance graph APIs. Decorated accessors register SHACL metadata but do not implement runtime get/set behavior.
  • Query tracing: query tracing is proxy-based (no TestNode/TraceShape).
  • SHACL metadata: node/property shapes are plain JS objects (QResult), not RDF triples.
  • Package registration: linkedPackage now stores package metadata as plain JS (PackageMetadata) and keeps legacy URI ids for compatibility.
  • Storage routing: LinkedStorage routes queries to an IQuadStore implementation (e.g. @_linked/rdf-mem-store).
  • Imports updated: ontology namespaces now return NodeReferenceValue objects, and decorators require NodeReferenceValue paths.

@flyon flyon merged commit 8f06295 into main Feb 11, 2026
3 checks passed
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