From a37bda157559af7796214d9bd7dd22ebe641f341 Mon Sep 17 00:00:00 2001 From: Jiaxin Peng Date: Thu, 29 Jan 2026 20:20:23 +0000 Subject: [PATCH] chore: Update changelog and documentation for v2.8.0 release with new features, changes, and fixes --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ docs/en/06-changelog.md | 29 +++++++++++++++++++++++++++++ docs/zh/06-changelog.md | 29 +++++++++++++++++++++++++++++ manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 6 files changed, 93 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2797360..f9441bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## v2.8.0 (2026-01-29) + +### Added + +- **Auto Sync**: Automatically sync notes on content or frontmatter changes, with configurable delay and multi-database support +- **Attachment Upload**: Upload local images and PDFs to Notion via the File Upload API and insert them as `image`/`file` blocks +- **Auto-copy Notion Link**: Option to copy the Notion page link to clipboard after syncing +- **Auto-sync frontmatter key**: Customize the frontmatter key for auto-sync database lists (default: `autosync-database`) +- Comprehensive i18n support for UI and notifications +- Prerelease workflow for beta testing via GitHub Actions and BRAT + +### Changed + +- Improved auto-sync behavior and notices for files without `autosync-database` or missing NotionID +- Limited attachment link parsing to **Wikilinks** and **standard Markdown links** (Obsidian/App URL formats are now TODO/disabled) +- Standardized Notion API request header `Notion-Version` to `2025-09-03` +- Reduced per-file upload limit to **5MB** to maximize compatibility across Notion plans +- Enhanced settings tab and documentation for auto-sync usage + +### Fixed + +- Fixed mobile compatibility issues by using `window.setTimeout` instead of `NodeJS.Timeout` +- Prevented sync loops and improved change detection for frontmatter/body updates +- File placeholder tokens no longer break due to Markdown underscore parsing +- Better block ordering when attachments are on standalone lines in Markdown +- Preserve image captions when converting `external` images to `file_upload` +- Avoid duplicate filename display on uploaded `file` blocks +- Fixed `undefined` appearing in sync success notification by adding missing `sync-preffix` i18n key + +--- + ## v2.8.0-beta.4 (2026-01-04) ### Added diff --git a/docs/en/06-changelog.md b/docs/en/06-changelog.md index 9a82f2d..d543ba1 100644 --- a/docs/en/06-changelog.md +++ b/docs/en/06-changelog.md @@ -7,6 +7,35 @@ description: Release notes and updates for Obsidian to NotionNext Welcome to the Changelog for Obsidian to NotionNext! Here you'll find a detailed list of all the updates, improvements, and bug fixes made to the plugin over time from the version `2.7.0` onwards. +## v2.8.0 (2026-01-29) + +### Added + +- **Auto Sync**: Automatically sync notes on content or frontmatter changes, with configurable delay and multi-database support +- **Attachment Upload**: Upload local images and PDFs to Notion via the File Upload API and insert them as `image`/`file` blocks +- **Auto-copy Notion Link**: Option to copy the Notion page link to clipboard after syncing +- **Auto-sync frontmatter key**: Customize the frontmatter key for auto-sync database lists (default: `autosync-database`) +- Comprehensive i18n support for UI and notifications +- Prerelease workflow for beta testing via GitHub Actions and BRAT + +### Changed + +- Improved auto-sync behavior and notices for files without `autosync-database` or missing NotionID +- Limited attachment link parsing to **Wikilinks** and **standard Markdown links** (Obsidian/App URL formats are now TODO/disabled) +- Standardized Notion API request header `Notion-Version` to `2025-09-03` +- Reduced per-file upload limit to **5MB** to maximize compatibility across Notion plans +- Enhanced settings tab and documentation for auto-sync usage + +### Fixed + +- Fixed mobile compatibility issues by using `window.setTimeout` instead of `NodeJS.Timeout` +- Prevented sync loops and improved change detection for frontmatter/body updates +- File placeholder tokens no longer break due to Markdown underscore parsing +- Better block ordering when attachments are on standalone lines in Markdown +- Preserve image captions when converting `external` images to `file_upload` +- Avoid duplicate filename display on uploaded `file` blocks +- Fixed `undefined` appearing in sync success notification by adding missing `sync-preffix` i18n key + ## v2.8.0-beta.2 (2025-11-05) ### Featured diff --git a/docs/zh/06-changelog.md b/docs/zh/06-changelog.md index 202a7cc..def0eee 100644 --- a/docs/zh/06-changelog.md +++ b/docs/zh/06-changelog.md @@ -4,3 +4,32 @@ description: Obsidian to NotionNext 的版本更新与变更记录 --- 欢迎来到 Obsidian to NotionNext 的更新日志!这里会记录自 `2.7.0` 版本起的所有更新、改进以及问题修复,方便你快速了解插件的演进情况。 + +## v2.8.0 (2026-01-29) + +### 新增 + +- **自动同步**:当内容或 frontmatter 变化时自动同步,支持可配置延迟与多数据库 +- **附件上传**:通过 File Upload API 上传本地图片与 PDF,并插入为 `image`/`file` 块 +- **自动复制 Notion 链接**:同步后自动复制页面链接到剪贴板 +- **自动同步 frontmatter key**:可自定义自动同步数据库列表的 frontmatter key(默认 `autosync-database`) +- 完整的 UI 与通知 i18n 支持 +- 通过 GitHub Actions + BRAT 的预发布测试流程 + +### 变更 + +- 优化自动同步行为与提示:无 `autosync-database` 或缺少 NotionID 的文件处理更智能 +- 限制附件链接解析为 **Wikilinks** 与 **标准 Markdown 链接**(Obsidian/App URL 暂停/待办) +- 统一 Notion API 请求头 `Notion-Version` 为 `2025-09-03` +- 单文件上传限制降为 **5MB**,提升兼容性 +- 强化设置面板与自动同步相关文档 + +### 修复 + +- 移动端兼容性修复:使用 `window.setTimeout` 替代 `NodeJS.Timeout` +- 防止同步循环,改进 frontmatter/正文变更检测 +- 修复 Markdown 下划线导致的占位符解析问题 +- 修复附件独占行时的块顺序 +- 保留 `external` 图片转为 `file_upload` 时的图片标题 +- 避免上传 `file` 块时重复显示文件名 +- 修复同步成功通知出现 `undefined`(补充 `sync-preffix` i18n key) diff --git a/manifest.json b/manifest.json index e2947ac..3e7272e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "share-to-notionnext", "name": "Share to NotionNext", - "version": "2.7.0", + "version": "2.8.0", "minAppVersion": "0.0.1", "description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.", "author": "EasyChris, jxpeng98", diff --git a/package.json b/package.json index e9e63da..6bf2f54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "share-to-notionnext", - "version": "2.7.0", + "version": "2.8.0", "type": "module", "description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.", "main": "main.js", diff --git a/versions.json b/versions.json index 997bf32..5297c3d 100644 --- a/versions.json +++ b/versions.json @@ -1,4 +1,5 @@ { "1.0.0": "0.9.7", - "1.0.1": "0.12.0" + "1.0.1": "0.12.0", + "2.8.0": "0.0.1" }