diff --git a/manifest.json b/manifest.json index 2ec04d5e..89e1049f 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "id": "paperforge", "name": "PaperForge", - "version": "1.4.17rc1", - "minAppVersion": "1.0.0", + "version": "1.4.17rc2", + "minAppVersion": "1.9.0", "description": "PaperForge — Zotero literature pipeline. Sync PDFs, run OCR, and read with AI-assisted deep reading.", "author": "Lin Zhaoxuan", "authorUrl": "https://github.com/LLLin000", diff --git a/paperforge/plugin/manifest.json b/paperforge/plugin/manifest.json index 4295fd60..89e1049f 100644 --- a/paperforge/plugin/manifest.json +++ b/paperforge/plugin/manifest.json @@ -2,7 +2,7 @@ "id": "paperforge", "name": "PaperForge", "version": "1.4.17rc2", - "minAppVersion": "1.0.0", + "minAppVersion": "1.9.0", "description": "PaperForge — Zotero literature pipeline. Sync PDFs, run OCR, and read with AI-assisted deep reading.", "author": "Lin Zhaoxuan", "authorUrl": "https://github.com/LLLin000", diff --git a/paperforge/plugin/versions.json b/paperforge/plugin/versions.json index abfec802..33be1faa 100644 --- a/paperforge/plugin/versions.json +++ b/paperforge/plugin/versions.json @@ -1,4 +1,4 @@ { - "1.4.3": "1.0.0", - "1.4.17rc2": "1.0.0" + "1.4.3": "1.9.0", + "1.4.17rc2": "1.9.0" } \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index c9eeb28a..cc737629 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ dependencies = [ "tenacity>=8.2.0", "tqdm>=4.66.0", "filelock>=3.13.0", + "pyyaml>=6.0", ] [project.optional-dependencies] diff --git a/scripts/bump.py b/scripts/bump.py index cf3849f9..f5f7e9b0 100644 --- a/scripts/bump.py +++ b/scripts/bump.py @@ -19,6 +19,8 @@ from pathlib import Path ROOT = Path(__file__).resolve().parent.parent +# Both root_manifest and plugin_manifest are updated from the canonical __init__.py version — +# never edit version directly in manifest.json. The source of truth is __version__ in __init__.py. FILES_TO_UPDATE = { "__init__": ROOT / "paperforge" / "__init__.py", "plugin_manifest": ROOT / "paperforge" / "plugin" / "manifest.json",