Skip to content

Release 1.14.0: nine merges that stop the plugin losing text - #33

Merged
ckelsoe merged 1 commit into
mainfrom
release/1.14.0
Aug 7, 2026
Merged

ckelsoe merged 1 commit into
mainfrom
release/1.14.0

Conversation

@ckelsoe

@ckelsoe ckelsoe commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Cuts 1.14.0. Nine merges since the 1.13.0 tag (#19, #23, #24, #25, #26, #27, #30, #31, #32), almost all of them stopping a way the plugin could lose or corrupt a user's text.

Why MINOR

[Unreleased] carries three new user-facing capabilities (markdown rendering in comment bodies, Clear orphaned stars, the automatic broken-marker notice), which rules out PATCH. Nothing removes or renames a user-facing surface, so it does not reach MAJOR. Requiring Obsidian 1.13 was decided on 2026-08-07 to be a supported baseline rather than a compatibility break, since 1.13 is officially released.

Promoting the heading is not cosmetic

release.yml extracts the GitHub release body with awk on ^## \[<tag>\], and when that finds nothing it silently falls back to --generate-notes, publishing a commit list with a green run and no error. Replayed the workflow's exact awk against the file:

  • before this change, ver=1.14.0: 0 bytes
  • after: 26890 bytes

Two factual errors fixed, because the notes ship verbatim

  • The notes told users to run "Check for problems". That command does not exist: grep -rn "Check for problems" --include='*.ts' returns nothing. The real one is Validate marker format (main.ts:820).
  • Stop an unclosed marker swallowing a paragraph, and stop a comment quoting the format changing itself #31's known cost was shipped and undocumented. parser.ts:610-624 states it and __tests__/parser.test.ts:2142 pins it: a marker written before the <!-- escape whose body quotes an opener now comes back under the QUOTED category, body truncated to the text after the quote, carrying the outer marker's id. Nothing is deleted and the note is not rewritten on its own, so this is a ### Changed entry, not a ### Fixed one.

The new entry also tells the user the repair is to escape the inner opener by hand as \<!--, and warns that the report calls this a missing -->. That is accurate rather than pessimistic: the finding is classified unclosed-opener (pinned at __tests__/parser.test.ts:2170), so markerDamageMessage gives the add-a-terminator advice, which is not the fix for this shape. Noted as a defect for the next PR rather than fixed here, to keep this diff free of logic.

Also in this pass, all verified

  • "Import all" was quoted as a UI label; it exists only in a code comment (imports.ts:316). The label is Convert every comment to the canonical format (main.ts:909).
  • The Hub redraw on a display-setting change shipped in Render markdown in comment bodies, and stop three ways of losing text #19 and had no entry.
  • Three bullets each repeated "re-export the AI skill" for what is one schema bump; now one bullet.
  • Two near-duplicate "quotes the comment format" bullets merged.
  • Subsections reordered to Keep a Changelog's Added, Changed, Fixed.

versions.json

Written by version-bump.mjs from the manifest's CURRENT minAppVersion, so "1.14.0": "1.13.0" landed without a hand edit. The existing "1.13.0": "1.8.7" line is kept deliberately: the 1.13.0 tag genuinely shipped minAppVersion 1.8.7 and #25 raised it afterwards, so that line is what keeps users on Obsidian 1.9 through 1.12 pinned to the 1.13.0 build.

Gates

npm run lint green (eslint + prettier + check-submission.mjs), npm run build green, npm test 730 passed / 25 suites. eslint-plugin-obsidianmd pin ^0.4.1 equals latest published and the template pin.

Codex pre-commit deliberately skipped, not skipped silently: this diff is CHANGELOG prose plus version metadata, with no logic surface.

Not held for this release

The seven open defects (M8, M9, M10, M12, m2, m3, m8) go in the next PR. Six are byte-identical in the released 1.13.0, so shipping does not introduce them. The one exception, M12b, is a navigation regression from #24 that costs one wasted click and self-heals on the second, which does not outweigh nine merges of data-loss fixes.

Promotes [Unreleased] to [1.14.0] and bumps the version. MINOR, not
PATCH, because the section carries three new user-facing capabilities
(markdown rendering in comment bodies, "Clear orphaned stars", the
automatic broken-marker notice); not MAJOR, because nothing removes a
user-facing surface. Requiring Obsidian 1.13 is a supported baseline
rather than a break, decided 2026-08-07.

version-bump.mjs writes versions.json from the manifest's CURRENT
minAppVersion, so 1.14.0 -> 1.13.0 lands without a hand edit, and the
existing "1.13.0": "1.8.7" line stays as correct history: the 1.13.0
tag genuinely shipped 1.8.7, and #25 raised it afterwards.

Promoting the heading is not cosmetic. release.yml extracts the release
body with awk on ^## \[<tag>\] and silently falls back to a generated
commit list when that finds nothing. Replayed the workflow's exact awk
against the file: 0 bytes before this change, 26890 after.

Two factual errors in the notes, which ship into the release body
verbatim, are fixed:

- The notes told users to run "Check for problems", which does not
  exist. grep over the sources finds no such string; the command is
  "Validate marker format" (main.ts:820).
- #31's known cost was shipped and undocumented. parser.ts:610-624
  states it and __tests__/parser.test.ts:2142 pins it: a marker written
  before the <!-- escape whose body quotes an opener now comes back
  under the QUOTED category, body truncated, carrying the outer id.
  Nothing is deleted, and it is reported on read, so it is a Changed
  entry rather than a Fixed one. The entry also says the repair is to
  escape the inner opener by hand, because the report classifies this as
  an unclosed opener and so advises adding a --> that is not the fix.

Four accuracy fixes in the same pass: "Import all" was a code comment,
not a UI label (the label is "Convert every comment to the canonical
format", main.ts:909); the Hub redraw shipped in #19 was undocumented;
three bullets each repeated the re-export instruction for one schema
bump, now one; and two near-duplicate "quotes the comment format"
bullets are merged. Subsections reordered to Keep a Changelog's
Added, Changed, Fixed.

No logic surface in this diff, so the Codex pre-commit pass is skipped
deliberately: CHANGELOG prose plus version metadata only.
Copilot AI lite review requested due to automatic review settings August 7, 2026 04:26
@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • New Features

    • Added notices for invalid markers and tools to clean up orphaned stars.
    • Added Markdown rendering for comments, with an option to disable it.
    • Improved category-list display and author name handling.
  • Bug Fixes

    • Improved comment persistence, imports, conversions, metadata handling, popovers, Hub behavior, and display refreshes.
    • Strengthened marker parsing, escaping, and settings validation.
  • Compatibility

    • Updated the minimum supported Obsidian version.
    • Released as version 1.14.0.

Walkthrough

The change prepares the 1.14.0 release. It adds release notes, updates package and manifest versions, and maps version 1.14.0 to 1.13.0.

Changes

Version 1.14.0 release

Layer / File(s) Summary
Release notes
CHANGELOG.md
The changelog adds the 1.14.0 entry and documents marker diagnostics, comment rendering, validation, concurrency, imports, conversion, Hub refreshes, and related fixes.
Version metadata
manifest.json, package.json, versions.json
The manifest and package use version 1.14.0. The version map points 1.14.0 to 1.13.0.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the 1.14.0 release and highlights its primary focus on preventing text loss.
Description check ✅ Passed The description directly explains the release metadata, changelog updates, user-facing changes, validation results, and deferred defects.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request cuts the 1.14.0 release by updating version metadata across the project and promoting the existing unreleased notes into a dated 1.14.0 section so the release workflow can extract the correct body.

Changes:

  • Bump plugin/package versions to 1.14.0 (package.json, package-lock.json, manifest.json).
  • Add a 1.14.0 → 1.13.0 compatibility mapping in versions.json.
  • Promote [Unreleased] notes into ## [1.14.0] - 2026-08-07 in CHANGELOG.md (Keep a Changelog structure retained).

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
versions.json Adds the 1.14.0 minimum Obsidian version mapping (1.13.0).
package.json Bumps npm package version to 1.14.0.
package-lock.json Updates lockfile version fields to 1.14.0 for consistency with package version.
manifest.json Bumps Obsidian plugin manifest version to 1.14.0.
CHANGELOG.md Moves release notes into a tagged 1.14.0 section with the release date for workflow extraction.

@ckelsoe

ckelsoe commented Aug 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ckelsoe

ckelsoe commented Aug 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ckelsoe

ckelsoe commented Aug 7, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@CHANGELOG.md`:
- Line 10: Keep CHANGELOG.md:10-10 as an “Unreleased” entry instead of a 1.14.0
release heading. Preserve the pre-release versions in manifest.json:4-4 and
package.json:3-3, and remove the 1.14.0 mapping from versions.json:35-36;
release metadata must be added only by the release workflow.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 9b111b78-f13c-4098-8d4b-42cbb717dad7

📥 Commits

Reviewing files that changed from the base of the PR and between b9a503d and 66e1281.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • CHANGELOG.md
  • manifest.json
  • package.json
  • versions.json

Comment thread CHANGELOG.md
- Everything read out of the plugin's settings file is now checked before it is used. That file is editable by hand, arrives over sync, and comes back out of restored backups, so a value in it is not guaranteed to be the kind of value it was saved as. Only a handful of settings were checked before, and the rest were used exactly as found.
- The author tag is cleaned in exactly one place now, where settings are read in, instead of again each time a comment is signed. The second copy of the rule was weaker: a settings file edited by hand to hold something other than text made signing fail with an error, where the settings reader quietly falls back to "user". The exported AI skill built its reviewer line through the same second copy and now reads the cleaned value directly.
- Removing, reordering, or moving a category no longer repaints the category list twice. The extra repaint drew into a copy of the list the settings screen had already discarded, so it was wasted work; what you see is unchanged.
## [1.14.0] - 2026-08-07

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Keep release promotion in the release workflow.

These four changes cut release 1.14.0 in the contributor pull request. Keep the changelog unreleased and defer all version metadata changes.

  • CHANGELOG.md#L10-L10: use ## [Unreleased].
  • manifest.json#L4-L4: keep the pre-release manifest version.
  • package.json#L3-L3: keep the pre-release package version.
  • versions.json#L35-L36: add the 1.14.0 mapping only during the release workflow.

As per coding guidelines, contributors must add an ## [Unreleased] entry and must not bump versions or cut releases.

📍 Affects 4 files
  • CHANGELOG.md#L10-L10 (this comment)
  • manifest.json#L4-L4
  • package.json#L3-L3
  • versions.json#L35-L36
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@CHANGELOG.md` at line 10, Keep CHANGELOG.md:10-10 as an “Unreleased” entry
instead of a 1.14.0 release heading. Preserve the pre-release versions in
manifest.json:4-4 and package.json:3-3, and remove the 1.14.0 mapping from
versions.json:35-36; release metadata must be added only by the release
workflow.

Source: Coding guidelines

@ckelsoe

ckelsoe commented Aug 7, 2026

Copy link
Copy Markdown
Owner Author

Dismissing this one, with the reason.

The suggestion is to keep [Unreleased], revert the version bump, and let the release workflow add the release metadata. That is inverted for this repo: release.yml reads the heading, it never writes it.

release.yml extracts the GitHub release body with awk on ^## \[<tag>\], and when that matches nothing it falls through to --generate-notes with a green run and no error. Replaying the workflow's exact awk against this file for ver=1.14.0:

  • with the heading promoted (this PR): 26890 bytes
  • as suggested, left as [Unreleased]: 0 bytes

So following it would publish an auto-generated commit list in place of the 63-entry changelog, silently. That silent-failure mode is the specific reason the promotion is a blocking step here.

The ordering is also what the repo's own release gate mandates (PLUGIN-DEVELOPMENT-GUIDE.md §4): step 2 is npm version X.Y.Z --no-git-tag-version plus the [Unreleased] → [X.Y.Z] edit, and step 4 is "branch, commit, push, open PR" — the bump belongs in the release PR, and the tag is pushed only after it merges.

versions.json was not hand-edited: npm version runs version-bump.mjs, which reads the manifest's current minAppVersion and writes "1.14.0": "1.13.0" itself. The "1.13.0": "1.8.7" line is kept deliberately as correct history — the 1.13.0 tag genuinely shipped minAppVersion 1.8.7, and it is what keeps users on Obsidian 1.9–1.12 pinned to that build.

@ckelsoe
ckelsoe merged commit 4fa497e into main Aug 7, 2026
5 checks passed
@ckelsoe
ckelsoe deleted the release/1.14.0 branch August 7, 2026 05:30
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.

2 participants