Skip to content

0.3.6

Choose a tag to compare

@github-actions github-actions released this 11 Nov 00:33
· 1 commit to main since this release

Cite as you write from your EndNote library, then export to Word or LaTeX.

EndNote Cite in Obsidian

What changed in 0.3.6

Both blocking findings from the directory review are fixed, plus the cheap warnings.

  • No more direct style assignment. The group menu still positions itself from
    measured geometry, but only the coordinates are set from code (setCssProps); its
    position and look live in styles.css.
  • No API newer than minAppVersion. The sidebar now opens with
    rightSplit.expand() + setActiveLeaf() instead of revealLeaf(), and the UI
    language follows the system locale instead of reading Obsidian's internal
    localStorage key.
  • Review hygiene: document → activeDocument/activeWindow (pop-out windows),
    createSpan() / createFragment() instead of document.createElement(),
    vault.configDir instead of a hard-coded .obsidian, ES imports instead of
    require(), @codemirror/* declared as dependencies, no builtin-modules,
    no !important in the CSS, unused imports and pointless escapes removed.
  • npm run lint runs the same eslint-plugin-obsidianmd rules the scanner uses —
    it currently reports 0 errors.
  • Releases now carry GitHub artifact attestations, so the build provenance of
    main.js and styles.css can be verified.

SHA256SUMS.txt covers every asset in this release.

中文说明

审核报的两个阻断项都修了,顺带清掉了一批警告:

  • 不再直接写样式:分组菜单仍按实测位置弹出,但代码只传坐标(setCssProps),
    位置和外观都回到 styles.css 里。
  • 不再用到高于最低版本的 API:侧边栏改用 rightSplit.expand() + setActiveLeaf()
    代替 revealLeaf();界面语言跟随系统语言,不再读 Obsidian 内部的 localStorage。
  • 其它清理:document 换 activeDocument/activeWindow(支持弹出窗口)、
    createSpan()/createFragment() 取代 document.createElement()、
    用 vault.configDir 取代硬编码 .obsidian、ES import 取代 require()、
    @codemirror/* 声明为依赖、去掉 builtin-modules、去掉 CSS 里的 !important、
    清理未使用的导入和无意义转义。
  • 新增 npm run lint,跑的就是审核用的同一套 eslint-plugin-obsidianmd 规则,
    现在是 0 error。
  • 发布产物现在带 GitHub 构建证明(artifact attestation),可以验证
    main.js 确实由这个仓库构建。