Releases: woodchen-ink/obsidian-publish-to-discourse
1.0.15
重构标签处理逻辑,移除配置中的固定标签设置
- 从配置中删除 selectedTags 字段
- 在 ActiveFile 接口中新增 tags 属性
- 调整标签处理流程,从文件的 Front Matter 获取标签
- 更新发布和更新帖子时的标签处理方式
- 优化标签选择和保存机制
重构插件架构,解耦主要功能模块
- 将主类拆分为多个专注的模块,如 DiscourseAPI、EmbedHandler
- 重命名主类为 PublishToDiscourse,提高语义清晰度
- 抽取通用工具函数到独立模块
- 优化代码结构,提高可维护性和可读性
- 调整 Front Matter 处理和嵌入内容处理逻辑
Refactor the tag handling logic and remove fixed tag settings from the configuration
- Remove the selectedTags field from the configuration
- Add a tags property to the ActiveFile interface
- Adjust the tag processing workflow to obtain tags from the file's Front Matter
- Update the tag processing method when publishing and updating posts
- Optimize the tag selection and saving mechanism
Refactor the plugin architecture to decouple the main functional modules
- Split the main class into multiple focused modules, such as DiscourseAPI and EmbedHandler
- Rename the main class to PublishToDiscourse to improve semantic clarity
- Extract common utility functions into a separate module
- Optimize code structure to improve maintainability and readability
- Adjust the logic for handling Front Matter and embedded content
Full Changelog: 1.0.14...1.0.15
1.0.14
Full Changelog: 1.0.12...1.0.14
1.0.13
优化图片引用处理和 activeFile 管理逻辑
- 改进图片引用正则表达式,支持带属性的图片链接
- 更新图片替换方法,确保正确处理带属性的图片引用
- 重构 openCategoryModal 方法,每次都获取最新的文件内容
- 在文件修改后更新 activeFile 对象,确保状态同步
Optimize image reference handling and activeFile management logic
- Improve the regex for image references to support image links with attributes
- Update the image replacement method to ensure correct handling of image references with attributes
- Refactor the openCategoryModal method to always retrieve the latest file content
- Update the activeFile object after file modifications to ensure status synchronization
Full Changelog: 1.0.12...1.0.13
1.0.12
修复"通过命令面板"发布的错误.
- 在
SelectCategoryModal.onOpen
方法中添加防御性检查 - 在
openCategoryModal
方法中添加检查
Fixed the error when publishing through the command palette.
- Added defensive checks in the
SelectCategoryModal.onOpen
method. - Added checks in the
openCategoryModal
method.
Full Changelog: 1.0.11...1.0.12
1.0.11
在配置页面, 添加测试key是否有效的功能
Add the function to test whether the key is valid on the configuration page
Full Changelog: 1.0.10...1.0.11
1.0.10
20250306214913_rec_.mp4
优化帖子更新逻辑,支持同时更新帖子内容和主题信息
- 分离帖子内容和主题更新流程
- 添加对主题标题和标签的单独更新支持
- 改进错误处理和响应处理机制
- 在标签选择模态框中添加更新时的标签初始化
Optimize Post Update Logic to Support Simultaneous Updates of Post Content and Topic Information
- Separate the update processes for post content and topic information
- Add support for individual updates to topic titles and tags
- Improve error handling and response mechanisms
- Initialize tags when updating in the tag selection modal
Full Changelog: 1.0.9...1.0.10
1.0.9
What's Changed
- Handling embedded linked notes by @mcerv-sci in #8
New Contributors
- @mcerv-sci made their first contribution in #8
Full Changelog: 1.0.8...1.0.9
1.0.8
1.0.7
Use frontmatter title as post title when available
Full Changelog: 1.0.6...1.0.7
1.0.6
Added support for i18n, currently supporting Chinese and English
Full Changelog: 1.0.5...1.0.6