From 8393cca8dd951b0c16c6a4a78f6ac427f5292b7b Mon Sep 17 00:00:00 2001 From: Ignacio Ballesteros Date: Tue, 29 Sep 2026 17:34:28 +0200 Subject: [PATCH] feat: add Zotero 10 support Bump strict_max_version to 10.0.* and esbuild target to firefox140 (Zotero 9/10 Firefox 140 ESR base). Update docs accordingly. --- AGENTS.md | 2 +- README.md | 6 +++--- addon/manifest.json | 2 +- zotero-plugin.config.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 83cb779..c7bd8c5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,7 +25,7 @@ npm run release # Bump version, commit, tag, and build This project does not currently have automated tests. To test manually: 1. Run `npm run build` to create the XPI -2. Install the XPI in Zotero 7 +2. Install the XPI in Zotero 7–10 3. Test export functionality manually via Tools menu --- diff --git a/README.md b/README.md index 9c7d59a..53f0e51 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Export PDF and EPUB annotations from Zotero to Org-mode files for use with Emacs ## Requirements -- **[Zotero](https://www.zotero.org/) 7.0+** +- **[Zotero](https://www.zotero.org/) 7.0+ (through 10.x)** - **[Better Notes](https://github.com/windingwind/zotero-better-notes)** plugin — must be installed before this plugin - **[Pandoc](https://pandoc.org/)** — for Markdown to Org conversion @@ -89,7 +89,7 @@ src/ ├── exporter.ts # Attachment detection, sync checking, batch export ├── converter.ts # Markdown → Org via pandoc, file I/O ├── notifier.ts # Zotero event handlers (sync finish, tab close) - └── menu.ts # Menu registration (Zotero 7 + 8 compatible) + └── menu.ts # Menu registration (Zotero 7 + 8/10 compatible) addon/ # Static plugin files copied verbatim into the XPI ├── manifest.json @@ -170,7 +170,7 @@ The dev server (`npm start`) watches for changes in `src/` and `addon/`, rebuild There are no automated tests. To test manually: 1. `npm run build` to produce the XPI -2. Install the XPI in a Zotero 7 instance via **Tools → Add-ons → Install Add-on From File...** +2. Install the XPI in a Zotero 7–10 instance via **Tools → Add-ons → Install Add-on From File...** 3. Exercise the export functionality manually via the Tools menu and right-click context menu ### Releasing diff --git a/addon/manifest.json b/addon/manifest.json index 3da6ea8..f354121 100644 --- a/addon/manifest.json +++ b/addon/manifest.json @@ -14,7 +14,7 @@ "id": "org-export-annotations@zotero.org", "update_url": "https://gitea.bueso.eu/ignacio.ballesteros/zotero-notes-export-org/releases/download/release/update.json", "strict_min_version": "7.0", - "strict_max_version": "8.*" + "strict_max_version": "10.0.*" } } } diff --git a/zotero-plugin.config.ts b/zotero-plugin.config.ts index f52d9d0..a5272f8 100644 --- a/zotero-plugin.config.ts +++ b/zotero-plugin.config.ts @@ -18,7 +18,7 @@ export default defineConfig({ { entryPoints: ["src/index.ts"], bundle: true, - target: "firefox128", + target: "firefox140", outfile: ".scaffold/build/addon/content/scripts/index.js", }, ],