Repository navigation
Releases: Yaki-Blake/pin-toggle
Releases · Yaki-Blake/pin-toggle
Release list
v0.1.3
Builds are now produced, signed and published by CI instead of being uploaded by hand.
Added
.github/workflows/release.yml— pushing a tag runsnpm ci, type-checks, lints, builds, generates a GitHub artifact attestation formain.js,manifest.jsonandstyles.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-toggleChanged
- Version bumped to
0.1.3;manifest.json,versions.json,package.jsonandpackage-lock.jsonare in sync. main.jsis byte-identical to the 0.1.2 release — only metadata changed.
Full Changelog: 0.1.2...0.1.3
v0.1.2
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.jsonauthoris nowYaki-Blake, consistent with the LICENSE file.- Version bumped to
0.1.2;versions.json,package.jsonandpackage-lock.jsonare all in sync.
Verification
npm ci --dry-runpassestsc --noEmit— 0 errorseslint src/ package.json(obsidianmd recommended config) — 0 problemsmain.jsis byte-identical to the 0.1.1 release (only metadata changed)
v0.1.1
Fixes all findings from the community review report.
Fixed
package-lock.jsonout of sync withpackage.json(root cause of the failed review): the lock file did not record@types/nodeandbuiltin-modules, sonpm ciaborted withEUSAGEand both the source review and the build verification reported a dependency-install failure. The lock file is now in sync —npm cisucceeds.- Removed the unused
builtin-modulesand@types/nodedev dependencies (this project builds with the esbuild CLI only).
Changed
- Replaced the
require()-style imports with a typedimport { remote } from 'electron'(still built as external; runtime behaviour unchanged). - Removed every explicit
any; added minimal ambient typings for the ElectronremoteAPI and the Obsidian internals used. - Empty
catchblocks 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.mdis now bilingual (English + 中文).- Removed the empty heading element created with
createEl('h2').
Verification
npm ci --dry-runpassestsc --noEmit— 0 errorseslint src/ package.json(obsidianmd recommended config) — 0 problems
Note
minAppVersionis now 1.13.0, required by the declarative settings API.