feat: add Zotero 10 support
CI / build (push) Successful in 21s

Bump strict_max_version to 10.0.* and esbuild target to firefox140
(Zotero 9/10 Firefox 140 ESR base). Update docs accordingly.
This commit is contained in:
Ignacio Ballesteros
2026-09-29 17:34:28 +02:00
parent 15e55ee126
commit 8393cca8dd
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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
---
+3 -3
View File
@@ -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
+1 -1
View File
@@ -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.*"
}
}
}
+1 -1
View File
@@ -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",
},
],