chore: release 1.0.4

This commit is contained in:
wenbin 2026-06-15 00:09:25 +08:00
parent 12786cf0dd
commit 7cdb5a02bd
8 changed files with 38 additions and 15 deletions

View file

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

26
RELEASE_NOTES_1.0.4.md Normal file
View file

@ -0,0 +1,26 @@
# Vault2Dify 1.0.4
## Added
No user-facing features in this release.
## Fixed
- Removed Marketplace-disallowed ESLint rule disable comments from plugin source.
- Removed debug console output so Obsidian Marketplace lint no longer reports `obsidianmd/rule-custom-message`.
## Obsidian Review
- Addressed the `Disabling 'obsidianmd/rule-custom-message' is not allowed` review error.
- Kept the Obsidian lint gate in the local and CI validation path.
- Preserved the existing `minAppVersion` alignment at `1.13.0`.
## Validation
- `npm run lint:obsidian`
- `npm run typecheck`
- `npm test`
- `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.

File diff suppressed because one or more lines are too long

View file

@ -708,11 +708,7 @@ export default class DifySyncPlugin extends Plugin {
return value;
}
debug(...args: unknown[]) {
if (this.settings.debugLogging) {
// eslint-disable-next-line obsidianmd/rule-custom-message -- User-enabled diagnostic logging.
console.log('[Dify Sync]', ...args);
}
debug(..._args: unknown[]) {
}
getConnectionFailureMessage(reason: ConnectionErrorReason = 'unknown'): string {

View file

@ -1,7 +1,7 @@
{
"id": "vault-to-dify",
"name": "Vault2Dify",
"version": "1.0.3",
"version": "1.0.4",
"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.3",
"version": "1.0.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vault-to-dify",
"version": "1.0.3",
"version": "1.0.4",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.4",

View file

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

View file

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