Skip to content

chore: prepare 0.5.2 release notes and documentation - #111

Merged
BinaryOutlook merged 2 commits into
mainfrom
feat/0.5.2-version-wrap-up
Nov 13, 2026
Merged

BinaryOutlook merged 2 commits into
mainfrom
feat/0.5.2-version-wrap-up

Conversation

@BinaryOutlook

@BinaryOutlook BinaryOutlook commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Prepares version 0.5.2 for the work merged since v0.5.1. This PR has release metadata and documentation only, with no application code changes.

Release path: maintainer draft, then manual publication

The policy file still says enabled: true (.github/release-policy.json, minimumDays: 3). However, the Automatic VSIX release workflow is disabled in the repository's Actions settings (disabled_manually), so it will not publish 0.5.2 by itself. The previous version of this description said otherwise; that was wrong.

0.5.2 is released through the maintainer release procedure. After merge, full Validate VSIX must pass on the resulting main commit. Prepare VSIX release draft then attaches that run's exact VSIX, sidecars, source archive and validation evidence to a draft. The draft is reviewed and published manually, as with 0.5.1.

Version scope

main is 13 commits ahead of v0.5.1 (f89edbc) through three merged PRs:

PR Change Changelog category
#110 Unsaved edits are kept when another program writes the open file (closes #81). It adds Compare, Load Disk Version, the Changed on disk status item, and Binary Markdown: Resolve External Change. Fixed
#109 Settings are grouped into six ordered categories. Identifiers, defaults, scopes, and saved values are unchanged. Changed
#106 Optional icon-only code-block buttons through binary-markdown.codeBlockActionLabels (default true), a themed outline scrollbar, and an Enter fix for Open in Text Editor. Added / Changed / Fixed
#106, #109 markdown-it 14.3.3 and Mermaid's DOMPurify 3.4.17. Build and packaging tools: Azure Identity, uuid, and minimatch are pinned through overrides; fast-uri and qs are updated in the lockfile. Changed

Why 0.5.2: every change is backward compatible. No setting, default, or identifier changes, and the one new setting defaults to the 0.5.1 appearance. The small new opt-in setting could justify a minor bump under strict semver. Below 1.0, the maintainer selected the patch number.

Changes in this PR

  • Version metadata: package.json, package-lock.json, electron/package.json, and electron/package-lock.json move from 0.5.1 to 0.5.2. Only the root version fields change.
  • release-notes/0.5.2.md (new): user-facing notes and the source for the GitHub release body. They start with an "At a glance" table showing what changes and what users need to do, which is nothing unless they want icon-only buttons. They also explain that settings moved but were not reset, what the new conflict warning means, and the known limitations.
  • CHANGELOG.md: the Unreleased entries become ## 0.5.2, with the missing Theme outline scrollbars, add compact code controls, and fix CI audit #106 entries, the dependency updates, and a Known limitations section. An empty ## Unreleased heading stays.
  • README, docs/README.md, docs/index.html, roadmap: the stale "0.5.1 is being prepared" status and the warnings that "external writes can still replace unsaved edits" are replaced, because 0.5.2 fixes that problem. The status wording is now accurate both before and after publication: GitHub Releases shows whether the version is published. The project page's outdated 0.4.0 and 0.4.1 sections become a short "Earlier versions" paragraph. Hard-coded "outside the 0.5.0 scope" phrases in the roadmap now say "current VSIX scope".
  • docs/editor-guide.md: states that conflict handling for unsaved edits starts in 0.5.2. The older reload and save-deferral behavior in the same section is not dated to 0.5.2.
  • docs/editor-architecture.md: records the external-update revision contract from fix: keep unsaved edits when another program writes the file (#81) #110. The host numbers update messages. edit, save, and editor snapshots carry base, and the host checks it for edit, save, and native Save but not export. Load Disk Version arrives with replace: true, updates are queued while the user is editing, and Electron's bridge is unchanged. Checked against session.js, host.js, editorProvider.ts, and export/controller.ts.

Scope audit follow-up (f7cfb64)

A scope audit of 62c967b found no blockers. It found two non-blocking wording errors, now fixed:

  • The release notes attributed Load Disk Version bringing the editor forward to VS Code 1.85 only. It happens on every supported version; only the newer-file prompt fallback is specific to 1.85.
  • The editor guide dated the whole "External file changes" section to 0.5.2, including the older reload and 0.4.1 save-deferral behavior. Only conflict handling is now dated.

Optional wording fixes were also applied:

  • fast-uri and qs are described as updated, not pinned.
  • The Enter fix is described with its actual trigger: the code block kept its text cursor.
  • The architecture guide states that export ignores the snapshot's base.

Verification

Local, macOS, Node 26.11.1. The repository pins 24.21.0, which was not available on this machine.

  • node scripts/check-docs.cjs passed at f7cfb64. It checked 100 text files and 783 local links, with no private-data patterns.
  • git diff --check is clean.
  • npm run compile passed.
  • One focused unit run passed 32 of 32 tests on 62c967b: docs-checker, release-policy, extension-identity, candidate-names, build-identity, and settings-organization. f7cfb64 changes only Markdown prose.
  • node scripts/release-candidate.js notes release-notes/0.5.2.md <sha> renders the release body. All 8 rewritten links resolve to files that exist.
  • Every interface label in the notes matches src/i18n/locales/en.ts and package.nls.json. All 28 manifest settings and defaults match the settings reference. No hard-coded 0.5.1 remains in tests, scripts, or workflows.
  • Markdown audit, pass 1 (raw): the full diff and all affected files were reviewed for line breaks, lists, tables, fences, and links. One flag in the editor guide's Code Block row is a known false positive from the scanner, caused by a five-backtick code span.
  • Markdown audit, pass 2 (rendered): each changed file was rendered with the repository's markdown-it and inspected in a browser. No Markdown syntax leaks into the rendered text, all 21 tables in the editor guide have consistent columns, the release-notes table and nested list render correctly, and each edited passage flows as one paragraph. Limitation: the preview used markdown-it, not GitHub's renderer.

CI: Validate VSIX (branch push) passed on 62c967b and on f7cfb64. Full PR validation for the current head f7cfb64 passed on attempt 2, including the required VSIX validation check. Attempt 1 was cancelled after the Ubuntu browser shard 3/3 hung while provisioning Chrome, and all jobs were re-run. Earlier runs for #106, #109, and #110 apply only to their own revisions.

🤖 Generated with Claude Code

Select version 0.5.2 for the changes merged since v0.5.1: external-write
conflict recovery (#81), grouped settings categories, optional icon-only
code-block buttons, a themed outline scrollbar, and dependency audit fixes.

- Bump both manifests and lockfile root versions to 0.5.2.
- Add user-facing 0.5.2 release notes and close the changelog section.
- Replace stale "0.5.1 is being prepared" and external-write warnings in
  the README, documentation index, project page, and roadmap.
- Record the external-update revision contract in the editor architecture.

No application code changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T15:08:14.017949Z 62c967b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

- Release notes: Load Disk Version can bring the editor forward on any
  supported VS Code version; only the newer-file prompt is specific to 1.85.
- Editor guide: scope "starts in 0.5.2" to conflict handling, not the
  older reload and save-deferral behavior in the same section.
- Release notes and changelog: fast-uri and qs were updated, not pinned;
  the Enter fix applied when the code block kept its text cursor.
- Editor architecture: only edit, save and native Save snapshots check
  the base revision; export ignores it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@BinaryOutlook
BinaryOutlook merged commit 7982568 into main Nov 13, 2026
34 of 38 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.

Prevent external file writes from silently discarding unsaved visual edits

1 participant