Skip to content

Releases: Yaki-Blake/pin-toggle

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 01 Oct 12:41

Builds are now produced, signed and published by CI instead of being uploaded by hand.

Added

  • .github/workflows/release.yml — pushing a tag runs npm ci, type-checks, lints, builds, generates a GitHub artifact attestation for main.js, manifest.json and styles.css, and publishes the release. This clears the remaining "release assets lack GitHub artifact attestation" finding.

Verify the build yourself

gh attestation verify main.js --owner Yaki-Blake --repo Yaki-Blake/pin-toggle

Changed

  • Version bumped to 0.1.3; manifest.json, versions.json, package.json and package-lock.json are in sync.
  • main.js is byte-identical to the 0.1.2 release — only metadata changed.

Full Changelog: 0.1.2...0.1.3

v0.1.2

Choose a tag to compare

@Yaki-Blake Yaki-Blake released this 01 Oct 12:31

Clears the last remaining finding from the community review report.

Fixed

  • manifest.json: the description now ends with a half-width period (.). The review bot only accepts ., !, ? or ), so the previous full-width full stop triggered "The plugin description should end with punctuation (. ! ?)".

Changed

  • manifest.json author is now Yaki-Blake, consistent with the LICENSE file.
  • Version bumped to 0.1.2; versions.json, package.json and package-lock.json are all in sync.

Verification

  • npm ci --dry-run passes
  • tsc --noEmit — 0 errors
  • eslint src/ package.json (obsidianmd recommended config) — 0 problems
  • main.js is byte-identical to the 0.1.1 release (only metadata changed)

v0.1.1

Choose a tag to compare

@Yaki-Blake Yaki-Blake released this 01 Oct 11:50

Fixes all findings from the community review report.

Fixed

  • package-lock.json out of sync with package.json (root cause of the failed review): the lock file did not record @types/node and builtin-modules, so npm ci aborted with EUSAGE and both the source review and the build verification reported a dependency-install failure. The lock file is now in sync — npm ci succeeds.
  • Removed the unused builtin-modules and @types/node dev dependencies (this project builds with the esbuild CLI only).

Changed

  • Replaced the require()-style imports with a typed import { remote } from 'electron' (still built as external; runtime behaviour unchanged).
  • Removed every explicit any; added minimal ambient typings for the Electron remote API and the Obsidian internals used.
  • Empty catch blocks now log the error; unused catch bindings removed.
  • Command name no longer repeats the plugin name.
  • Settings tab migrated to the declarative settings API (getSettingDefinitions), so the settings are also reachable from the settings search.
  • README.md is now bilingual (English + 中文).
  • Removed the empty heading element created with createEl('h2').

Verification

  • npm ci --dry-run passes
  • tsc --noEmit — 0 errors
  • eslint src/ package.json (obsidianmd recommended config) — 0 problems

Note

  • minAppVersion is now 1.13.0, required by the declarative settings API.

v0.1.0

Choose a tag to compare

@Yaki-Blake Yaki-Blake released this 30 Sep 15:56
Set plugin author to Yaki Blake