Skip to content

feat(sharedb): improve operation identity and history#8

Merged
edocevol merged 1 commit into
mainfrom
feat/sharedb-alignment
Apr 28, 2026
Merged

feat(sharedb): improve operation identity and history#8
edocevol merged 1 commit into
mainfrom
feat/sharedb-alignment

Conversation

@edocevol
Copy link
Copy Markdown
Owner

Summary

  • add structured SubmitWithRequest with OpID/source+seq idempotency
  • expose ShareDB-style operation history via GetOperations with BaseVersion, SubmittedOp, and committed Op metadata
  • preserve compatibility for existing Submit callers while improving event/history identity metadata
  • clone publisher event payloads to avoid subscriber mutation leaks

Test Plan

  • go test ./...
  • cd sharedb && go test ./...
  • cd sharedb && go vet ./...
  • cd sharedb && go test -race ./...

@edocevol edocevol merged commit ea3d16c into main Apr 28, 2026
1 check 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