Skip to content

Releases

v0.64.2

Choose a tag to compare

@Nriver Nriver released this 17 Nov 09:21
trilium深层链接 trilium 右键菜单复制深层链接

English

Trilium Plus 0.64.2

This release adds trilium:// deep links in the desktop client, horizontal scrolling in the note tree, and improvements to downloads, media playback, and the mobile experience, along with Node.js and Electron upgrades.

New Features

  • trilium:// deep links in the desktop client

    • Open a specific note directly via a trilium:// URL
    • Copy a note's deep link from the note tree context menu
    • Test page: deep_link_test.html (open online)
  • Horizontal scrolling in the note tree

Fixes & Improvements

  • File downloads: use the note or attachment filename and confirm before downloading
  • Media playback: support MP4 and other media playback
  • Mobile: use the same delete preview/confirmation dialog as desktop, and improve the mobile display with a larger note area and more visible text

Build & Security

  • Migrated build and packaging from npm to pnpm; removed package-lock.json
  • Removed unused Gitpod and Flatpak configurations
  • Upgraded Node.js to 24.22.3, including several high-severity http2/TLS security fixes
  • Upgraded Electron to 45.3.3, bundling Node.js 24.22.3 and Chromium security fixes

Full Changelog: v0.64.1...v0.64.2


中文

Trilium Plus 0.64.2

本版本新增桌面端 trilium:// 深层链接、笔记树横向滚动,并改进了文件下载、媒体播放和移动端体验;同时升级了 Node.js 与 Electron。

新功能

  • 桌面端支持 trilium:// 深层链接

    • 可通过 trilium:// 链接直接打开指定笔记
    • 可在笔记树右键菜单中复制笔记的深层链接
    • 测试页面:deep_link_test.html(在线访问)
  • 笔记树支持横向滚动

修复与改进

  • 文件下载:使用笔记或附件的文件名,并在下载前确认
  • 媒体播放:支持 MP4 等媒体播放
  • 移动端:删除笔记时使用与桌面端一致的预览/确认对话框;优化移动端显示,扩大笔记显示区域,显示更多文字

构建与安全

  • 构建与打包流程从 npm 迁移到 pnpm,移除 package-lock.json
  • 移除未使用的 Gitpod 与 Flatpak 配置
  • Node.js 升级至 24.22.3,包含多个 http2/TLS 高危安全修复
  • Electron 升级至 45.3.3,内置 Node.js 24.22.3,并包含 Chromium 安全修复

完整变更: v0.64.1...v0.64.2

v0.64.1

Choose a tag to compare

@Nriver Nriver released this 06 Nov 06:41

Trilium Plus 0.64.1 Release Notes

Range: v0.64.0 (b2575b9) → v0.64.1 (7aa2d28), 14 commits
Version: 0.64.0 → 0.64.1, displayed as 0.64.1 Plus

Highlights

Bug Fixes

  • Fixed clipboard functionality broken by the Electron upgrade. This affected:
    • Copying/cloning notes from the note tree context menu.
    • Importing Markdown text from the clipboard via the CKEditor menu.
    • Copying link addresses from the link context menu.
  • Fixed an image upload display bug caused by the Express upgrade where uploaded images briefly flashed and then disappeared, even though the upload had actually succeeded. Images now display correctly.

UX Improvements

  • Visiting http://127.0.0.1:37840 on desktop now automatically redirects to the login page.
  • About dialog:
    • The data directory is now displayed as an absolute path.
    • Clicking the data directory opens its containing folder on desktop; on web, clicking copies the path.
    • Build revision is shortened to 7 characters while still linking to the full commit.
  • Backup page:
    • Displays the current database size.
    • Lists existing backups in a table with path, backup time, file size, and actions, sorted newest first.
    • Supports deleting individual backups after confirmation.
    • Clicking a backup path opens its containing folder on desktop, or copies the full path on web.
  • Added GET /api/database/info and DELETE /api/database/backups/:fileName endpoints.

Performance

  • Deferred loading of heavy modules until first use, including jsdom, turndown, joplin-turndown-plugin-gfm, archiver, jimp, and html2plaintext, reducing startup time and memory usage.

Upgrade Notes

  • No database version or sync protocol changes in this release.
  • A normal in-place upgrade should work.
  • No manual migration is required.

Trilium Plus 0.64.1 发行说明

变更范围:v0.64.0 (b2575b9) → v0.64.1 (7aa2d28),共 14 个提交。
版本号:0.64.0 → 0.64.1,应用版本显示为 0.64.1 Plus。

重点更新

Bug 修复

  • 修复 Electron 升级导致的剪贴板功能失效问题。涉及功能:
    • 笔记树右键点击复制/克隆。
    • CKEditor 菜单从剪贴板导入 Markdown 文本。
    • 链接右键菜单复制链接地址。
  • 修复 Express 升级导致的图片上传显示问题:上传图片后会闪一下不显示,但实际上图片已经正常上传。现在图片可以正常显示。

体验优化

  • 访问桌面端的 http://127.0.0.1:37840 会自动跳转到登录页。
  • 关于页面:
    • 数据库路径改为绝对路径显示。
    • 点击数据库路径可直接打开所在文件夹;Web 端访问时点击可复制数据库路径。
    • 构建版本号显示为前 7 个字符,链接仍指向完整提交。
  • 备份页面:
    • 显示当前数据库大小。
    • 备份列表以表格展示,包含路径、备份时间、文件大小和操作,按时间倒序排列。
    • 支持删除单个备份,删除前会弹出确认对话框。
    • 点击备份路径可在桌面端打开所在文件夹,或在 Web 端复制完整路径。
  • 新增 GET /api/database/info 和 DELETE /api/database/backups/:fileName 接口。

性能优化

  • 将 jsdom、turndown、joplin-turndown-plugin-gfm、archiver、jimp、html2plaintext 等较重模块改为首次使用时才加载,降低启动时间和内存占用。

升级提示

  • 本次发布未变更数据库版本或同步协议版本。
  • 正常原地升级即可。
  • 无需手动迁移。

v0.64.0

Choose a tag to compare

@Nriver Nriver released this 30 Oct 12:41

Trilium Plus 0.64.0 Release Notes

Range: v0.63.7 (51939b1) → 0ce0f9d, 49 commits
Version: 0.63.7 → 0.64.0, displayed as 0.64.0 Plus

Highlights

Security

  • Hardened sync authentication against brute-force attacks and replay:
    • Rate-limited failed sync authentication attempts (max 10 per 15 minutes)
    • Constant-time comparison for authentication hashes
    • One-time login tokens valid for 5 minutes
    • Session regeneration after successful login
  • Upgraded proxy-addr to 2.0.8 to fix an IP spoofing vulnerability.
  • Removed unused electron-rebuild dependency to fix a tar vulnerability.
  • Removed unused request dependency.
  • Fixed async routes being incorrectly wrapped in transactions, including sync and import endpoints.

Dependencies and Runtime

  • Upgraded the build environment to Node.js 24.14.1.
  • Upgraded Electron to 45.0.0 and better-sqlite3 to 13.0.3.
  • Upgraded major dependencies including Express, Helmet, express-rate-limit, Mermaid, KaTeX, Marked, jsdom, and Excalidraw.
  • Migrated to ESLint 9 configuration.
  • Unified server and desktop builds around a shared N-API better-sqlite3 build.

Features and Improvements

  • Added support for and correct loading of Excalidraw 0.18.
  • Improved Excalidraw build startup speed.
  • Optimized tree expand/collapse performance by limiting depth and updating only branches that need changes.
  • Replaced the debounce dependency with a simple built-in implementation.
  • Fixed SVG image type detection compatibility.
  • Fixed Mermaid packaging issues.
  • Added /sw.js and Chrome DevTools well-known routes to reduce unnecessary 404 noise.

Build and Packaging

  • Renamed and migrated the repository to nriver/trilium-plus; updated docs, Wiki, and script links accordingly.
  • Added Linux ARM64 server packaging.
  • Added Debian .deb package support.
  • Windows releases now provide .7z only; .zip is no longer produced.
  • Pruned unused Chromium locales on Linux, macOS, and Windows to reduce package size.
  • Reduced server and desktop package sizes and made builds fail immediately on errors.
  • Added Node/Electron download caching and Webpack caching.
  • Made build scripts work in non-interactive shells and standardized release build timestamps to UTC.

Upgrade Notes

  • Node.js 24 is recommended for building from source.
  • Windows users should download the .7z release package.
  • The repository has moved to https://github.com/nriver/trilium-plus.
  • Database and sync protocol versions are unchanged in this range; a normal in-place upgrade should work.

Trilium Plus 0.64.0 发行说明

变更范围:v0.63.7 (51939b1) → 0ce0f9d,共 49 个提交。
版本号:0.63.7 → 0.64.0,应用版本显示为 0.64.0 Plus。

重点更新

安全加固

  • 同步认证增加防暴力破解与防重放保护:
    • 同步登录接口限制失败次数(15 分钟内最多 10 次)
    • 使用常量时间比较认证哈希
    • 登录令牌 5 分钟内仅可使用一次
    • 登录成功后重新生成会话
  • 升级 proxy-addr 至 2.0.8,修复 IP 伪造漏洞。
  • 移除未使用的 electron-rebuild,修复 tar 相关漏洞。
  • 移除未使用的 request 依赖。
  • 修复异步路由被事务包裹的问题,涉及同步、导入等接口。

依赖与运行时升级

  • Node.js 构建环境升级至 24.14.1。
  • Electron 升级至 45.0.0,better-sqlite3 升级至 13.0.3。
  • 升级 Express、Helmet、express-rate-limit、Mermaid、KaTeX、Marked、jsdom、Excalidraw 等主要依赖。
  • ESLint 迁移至 9.x 配置。
  • 服务端与桌面端统一使用共享的 N-API better-sqlite3 构建。

功能与体验优化

  • 支持并正确加载 Excalidraw 0.18。
  • 优化 Excalidraw 构建启动速度。
  • 优化笔记树展开/折叠性能,限制展开深度并仅更新需要变更的分支。
  • 使用内置简单防抖实现替代 debounce 依赖。
  • 修复 SVG 图片类型检测兼容问题。
  • 修复 Mermaid 打包问题。
  • 增加 /sw.js 和 Chrome DevTools well-known 路由,减少无意义的 404 日志。

构建与发布

  • 仓库迁移并更新为 nriver/trilium-plus,同步更新文档、Wiki 与脚本链接。
  • 新增 Linux ARM64 服务端打包。
  • 新增 Debian .deb 安装包。
  • Windows 发布包改为仅提供 .7z,不再提供 .zip。
  • 裁剪 Linux、macOS、Windows 的 Chromium 多语言资源,减小安装包体积。
  • 优化服务端与桌面端包体积,构建失败时立即中断。
  • 增加 Node/Electron 下载缓存与 Webpack 缓存。
  • 构建脚本支持非交互式 Shell,发布构建时间统一使用 UTC。

升级提示

  • 源码构建推荐使用 Node.js 24。
  • Windows 用户请下载 .7z 发布包。
  • 仓库地址已变更为 https://github.com/nriver/trilium-plus。
  • 本次范围未变更数据库版本与同步协议版本,正常升级即可。