mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-30 00:48:36 +08:00
Compare commits
3 Commits
v2.8.0-bet
...
v2.8.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a37bda1575 | ||
|
|
19d66917d2 | ||
|
|
a9acfbe956 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -28,3 +28,6 @@ local-data
|
|||||||
# vitepress
|
# vitepress
|
||||||
docs/.vitepress/dist
|
docs/.vitepress/dist
|
||||||
docs/.vitepress/cache
|
docs/.vitepress/cache
|
||||||
|
|
||||||
|
# claude code
|
||||||
|
.claude
|
||||||
53
CHANGELOG.md
53
CHANGELOG.md
@@ -1,5 +1,58 @@
|
|||||||
# Changelog
|
# 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
|
||||||
|
|
||||||
|
- **Attachment Upload**: Upload local images and PDFs to Notion via the File Upload API and insert them as `image`/`file` blocks
|
||||||
|
- **Auto-sync safeguard**: Auto-sync is skipped for notes containing internal attachments (manual sync required)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## v2.8.0-beta.3 (2025-12-10)
|
## v2.8.0-beta.3 (2025-12-10)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -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.
|
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)
|
## v2.8.0-beta.2 (2025-11-05)
|
||||||
|
|
||||||
### Featured
|
### Featured
|
||||||
|
|||||||
@@ -4,3 +4,32 @@ description: Obsidian to NotionNext 的版本更新与变更记录
|
|||||||
---
|
---
|
||||||
|
|
||||||
欢迎来到 Obsidian to NotionNext 的更新日志!这里会记录自 `2.7.0` 版本起的所有更新、改进以及问题修复,方便你快速了解插件的演进情况。
|
欢迎来到 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)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "share-to-notionnext",
|
"id": "share-to-notionnext",
|
||||||
"name": "Share to NotionNext",
|
"name": "Share to NotionNext",
|
||||||
"version": "2.7.0",
|
"version": "2.8.0",
|
||||||
"minAppVersion": "0.0.1",
|
"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.",
|
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
|
||||||
"author": "EasyChris, jxpeng98",
|
"author": "EasyChris, jxpeng98",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "share-to-notionnext",
|
"name": "share-to-notionnext",
|
||||||
"version": "2.7.0",
|
"version": "2.8.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.",
|
"description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"1.0.0": "0.9.7",
|
"1.0.0": "0.9.7",
|
||||||
"1.0.1": "0.12.0"
|
"1.0.1": "0.12.0",
|
||||||
|
"2.8.0": "0.0.1"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user