Repository navigation
v1.1.0
Minor Changes
-
fe303c7- Renamed fromlincd-siocand extracted from thelincd.orgumbrella
to its own workspace + git repo. This is the first release under the
@_linked/siocname.Migration from
lincd-siocConsumers importing
lincd-siocshould change the import name only —
the JS API surface is unchanged fromlincd-sioc@1.0.3:- import { UserAccount } from 'lincd-sioc/shapes/UserAccount'; + import { UserAccount } from '@_linked/sioc/shapes/UserAccount';
"dependencies": { - "lincd-sioc": "~1.0" + "@_linked/sioc": "^1.1" }Shape registration strings that named the legacy package also need updating:
- shape: ['lincd-sioc', 'UserAccount'] + shape: ['@_linked/sioc', 'UserAccount']
(This matters if you persist the registration to a SHACL dataset; the
backing string is what the framework uses to dispatch.)What's in this release
All seven existing sioc shapes:
UserAccount(sioc:UserAccount)Site(sioc:Site)Space(sioc:Space)Container(sioc:Container)Item(sioc:Item)Role(sioc:Role)Usergroup(sioc:Usergroup)
Plus the matching
siocontology namespace export,UserAvatar+
UserNameReact components, and thelincd-types-from-sioc-types.json
data fixture.Internal changes vs
lincd-sioc@1.0.3UserAccountextendsShapedirectly (wasResourcefrom
lincd-rdfs).Resourcejust extendedShapeplus atypegetter
that returnsnull; the flatter chain is functionally equivalent.getAccountOf(_person)parameter retyped fromfoaf:Personto
unknown. The method body already threw "not migrated yet" —
retype reflects the actual usable signature.- Dropped deps:
foaf,lincd-rdfs(both became unreachable after
the two changes above). - Modern build pipeline: dual ESM/CJS output via
rimraf+
tsconfig-to-dual-package. Replaces the legacylincd buildscript. developmentconditional export added topackage.json—
Vite-based consumers resolve straight tosrc/for HMR.- Changesets + CI workflows added (matching
@_linked/dcat).
Compatibility
- API surface unchanged from
lincd-sioc@1.0.3for all current callers. getAccountOf<T>(_person)parameter is nowunknowninstead of
foaf:Person. Calls that pass a foaf Person still compile (unknown
accepts anything); calls relied on thefoaf:Persontype for
narrowing would lose that — but since the body unconditionally throws,
no real call site exercises this.
Context: see create-now plan-011 report (docs/reports/009-legacy-lincd-eradication.md).