Releases: singi-labs/sifa-sdk
Release list
v0.12.54
Patch Changes
- 59ac102: Drop the
id.sifa.auth*permission sets fromSIFA_REPO_GROUPSand flag fallback labels. The auth lexicons arepermission-setdefinitions, never written as records, so the group holding them promised a consent-management surface that could only ever come back empty;consents-accessbecomesmeetingsandconnectionsbecomespeople.RepoRecordLabel.isFallbackmarks a label that is the collection leaf rather than the user's own data, so a surface can substitute its own wording instead of rendering a row that reads "follow".
v0.12.53
Patch Changes
- 523ca81: Label rules can read nested fields via dotted paths, and
id.sifa.profile.locationnow uses them. The city lives underaddress, so the previous top-level-only lookup fell through to the collection leaf: the one item on a data-management page about where someone physically is showed them the bare word "location" and nothing else.
v0.12.52
Patch Changes
- d7176e8: Add the repo inventory layer:
SIFA_REPO_GROUPSandrepoGroupForCollectiongroupid.sifa.*collections into user-facing buckets,describeSifaRecordturns a raw record into a one-line label without contributing any English of its own, andfetchRepoInventory/deleteRepoRecords/repoExportUrlplus the matching hooks back a repo data-management surface.
v0.12.51
Patch Changes
-
5ea3920: Add involvement
collaboratorsandsameAs.Involvement is the fourth record type that can name another person, and it reuses
projectMemberRefrather than a parallel def differing only in name: it is the same relation, people you did this with.sameAslands on involvement and publication too, so a confirmed collaborator or author can keep their own entry for the same work without it being a second, unrelated one. Project and presentationDelivery already had it.
v0.12.50
Patch Changes
-
0ee41d5: Add
fetchGivenConfirmationsanduseGivenConfirmations.The confirmation inbox lists only claims you have not answered, so once answered there was nowhere to see a confirmation, let alone withdraw it.
revokeConfirmationshipped in 0.12.46 with no way to reach it.Each entry carries the name as it stood when confirmed alongside the name the record has now, so a rename shows as a difference rather than being silently overwritten, plus
confirmedStaleandclaimWithdrawnfor the two ways a confirmation stops matching reality.Revoking now invalidates this list as well as the pending one.
v0.12.49
Patch Changes
- 74052cc: Add
getAdminReviewQueuesfetcher anduseAdminReviewQueueshook for the open counts of the three admin review queues (ideas, name corrections, pending companies) plus their total. Backed byGET /api/admin/stats/review-queues; shared query key means the admin nav pill and the review-queues page render from one request.
v0.12.48
Patch Changes
- 857c341: Add
endorsedAstoProfileSkill: names a skill was endorsed under where they
differ from its current name. A rename keeps the same record, so endorsements
follow it and stay counted; surfacing the original name is what stops a rename
quietly laundering an endorsement.
v0.12.47
Patch Changes
-
13c2e0f: Add
sameAs, the link to the same thing recorded on someone else's profile.projectRefwas documented as the link to a canonicalid.sifa.project.selfand then widened in 0.12.45 to also mean "another person's entry for the same work". Those are different relations, and the same trick could not be repeated onpresentationDelivery, wherepresentationRefalready means "an instance of that talk".So one generic
sameAson both, for the same reasonid.sifa.confirmationis one record type rather than four.projectRefgoes back to the composition link it was documented as.externalRecordRefrather thanstrongRef: the CID must be optional and advisory, because the other person keeps editing their record and that must not invalidate a link asserting the two describe one thing.ProfileProject.projectRefandProjectView.projectRefbecomesameAsin the view types. Those only ever carried the peer link, which the AppView added in 0.12.45 and has not shipped to production, so nothing is reading them yet.
v0.12.46
Patch Changes
-
b2b0f1c: Export the people-link types from the root barrel.
ActorCard,ProjectMemberCard,ProjectMemberView,ProjectRole, andPROJECT_ROLESshipped in 0.12.45 defined but not re-exported. They appear in the signatures of exported interfaces --ProfileProject.membersisProjectMemberCard[],ProjectView.membersisProjectMemberView[]-- so a consumer could hold the values but never name the types.Nothing caught it because the barrel tests only covered fetchers and hooks.
src/index.test.tsnow asserts each of these is nameable.
v0.12.45
Patch Changes
-
4ae537b: Add
id.sifa.confirmationsupport and project members.Naming another person on your own record is a claim, not a fact.
ConfirmationRecordSchemaand the/api/confirmationfetchers and hooks cover the other half of it: the named person affirms the claim from their own repo, and only then does the AppView attach their display name, avatar, and profile link.ConfirmationRecordSchema+CONFIRMATION_RELATIONS. The subject strongRef carries no collection constraint, so one record type serves co-speaker credits, project membership, and later relations.subjectNamesnapshots what was confirmed, so a rename after the fact is detectable.fetchPendingConfirmations,createConfirmation,dismissConfirmation,revokeConfirmation, and the matchingusePendingConfirmations/useCreateConfirmation/useDismissConfirmation/useRevokeConfirmationhooks.ProfileProjectRecordSchemaandProjectWriteSchemagainmembers(max 50) andprojectRef.ActorCardreplaces the co-speaker card shape and carriesconfirmed/confirmedStale;CoSpeakerstays as a deprecated alias so existing call sites keep compiling.ProjectMemberCard,PROJECT_ROLES,ProjectRole,ProjectMemberView, andmembers/projectRefonProfileProjectandProjectView.
Fixes two drifts against the lexicon:
nameon a project record was capped at 100 graphemes where the lexicon allows 256, so the SDK rejected records a conforming PDS had accepted; andprojectRefwas missing from the record schema entirely.