chore: release 1.0.3

This commit is contained in:
wenbin 2026-06-14 23:54:38 +08:00
parent 614c08f118
commit 12786cf0dd
6 changed files with 35 additions and 5 deletions

View file

@ -53,6 +53,7 @@ jobs:
- name: Create GitHub release
uses: softprops/action-gh-release@v2
with:
body_path: RELEASE_NOTES_1.0.3.md
files: |
main.js
manifest.json

28
RELEASE_NOTES_1.0.3.md Normal file
View file

@ -0,0 +1,28 @@
# Vault2Dify 1.0.3
## Added
No user-facing features in this release.
## Fixed
- Restored the settings page in older Obsidian runtimes that still call the legacy `display()` settings API.
- Fixed the language menu so switching between Chinese and English immediately refreshes the settings UI.
- Kept destructive confirmation buttons compatible with both newer `setDestructive()` and older Obsidian button APIs.
## Obsidian Review
- Raised the declared minimum Obsidian app version to match the reviewed API surface.
- Added an Obsidian lint gate for Marketplace/API compatibility checks.
- Addressed unsupported API findings tied to `Notice.messageEl` and `ButtonComponent.setDisabled()`.
- Migrated settings refresh behavior toward `getSettingDefinitions()` while keeping a legacy runtime fallback.
- Replaced direct `setWarning()` usage with a compatibility helper that prefers `setDestructive()`.
## Validation
- `npm test`
- `npm run typecheck`
- `npm run build`
- `npm run install:test-vault`
- Manifest/tag version check in the GitHub Release workflow.
- Artifact attestations for `main.js` and `styles.css` in the GitHub Release workflow.

View file

@ -1,7 +1,7 @@
{
"id": "vault-to-dify",
"name": "Vault2Dify",
"version": "1.0.2",
"version": "1.0.3",
"minAppVersion": "1.13.0",
"description": "Sync selected Markdown notes to a Dify Knowledge Base.",
"author": "WenBin",

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "vault-to-dify",
"version": "1.0.2",
"version": "1.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vault-to-dify",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.4",

View file

@ -1,6 +1,6 @@
{
"name": "vault-to-dify",
"version": "1.0.2",
"version": "1.0.3",
"description": "Sync your Obsidian Vault to Dify Knowledge Base",
"main": "main.js",
"scripts": {

View file

@ -1,4 +1,5 @@
{
"1.0.0": "1.1.1",
"1.0.2": "1.13.0"
"1.0.2": "1.13.0",
"1.0.3": "1.13.0"
}