Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Oct 09:47
· 13 commits to main since this release

Warning

No packages or npm releases were published for v2.0.0 because the release pipeline failed. Install v2.0.2, which ships these changes.

2.0.0 (2026-10-02)

Bug Fixes

  • harden review integrity and shared architecture (#165) (806d7d8)

Documentation

  • add upgrade notes for the 1.x to 2.0 breaking changes (#166) (93a076b), closes #165

BREAKING CHANGES

  • the desktop app, self-review-serve and the published
    packages changed behaviour and APIs.
  • Desktop: menu Quit asks Save & Quit / Discard / Cancel, and a failed save keeps the window open.
  • Desktop: the review:request IPC channel is removed.
  • Configuration: a project-config output-file must stay inside the launch directory; project
    default-diff-args may not use --output, --ext-diff or --textconv.
  • self-review-serve: open the printed URL, which carries the session key; API clients send it as
    Authorization: Bearer.
  • self-review-serve: POST /api/review answers { ok, outputPath } only after the file is written; GET
    /api/file answers 400 for paths outside the reviewed diff.
  • @self-review/serve: ReviewServerOptions requires capability and output and drops repositoryRoot.
  • @self-review/core: runGitDiff, getRepoRoot, validateGitAvailable and readGitBlobAsync are removed.
  • @self-review/core: parseReviewXml and parseReviewXmlString throw ReviewXmlError; serializeReview
    is pure and returns { xml, assets }.
  • @self-review/core: loadGitDiffWithUntracked, scanDirectory, scanFile and generateSyntheticDiffs
    return structured results with diagnostics.
  • @self-review/core: applySuggestion has new refusal reasons and options; readAttachment takes
    (session, reference).
  • @self-review/core: commitDiffData and commitReviewStart take the source identity;
    ReviewSourceIdentity requires pathPrefix.
  • @self-review/core: startRemoteSession no longer maps threads; ForgeThreadAnchor.outdated is
    optional; ForgeCommandRunner takes { signal, timeoutMs }; MaterializeResult.cleanup is async;
    FetchCommentsDeps changed shape.
  • @self-review/types: ChangeType gains 'copied'; DiffLoadPayload.diagnostics and
    ResumeLoadPayload.importDiagnostics are new optional fields.
  • @self-review/react: replacing the adapter starts a new session; ReviewPanel and SingleFileReview
    drop prismLightCss and prismDarkCss; resumed suggestions on file-level comments are downgraded to
    file-level feedback.
  • Diff code text defaults to the documented 14px (was a hard-coded 13px).