Commit cce95ed
fix: release v3.2.3 for blob-backed attach fallback
Why: The 3.2.2 add-on still crashes the forwarded Zotero server during the
bytes fallback for `/attach`. Zotero's own `file.js` implementation accepts
Blob at runtime and converts it to an input stream, while our code was still
passing a raw ArrayBuffer through a type path that does not actually work.
Changes:
- Write the decoded attachment bytes as a Blob when materializing a temp file
for the attach fallback.
- Keep the change narrowly scoped with a type-level cast that documents the
mismatch between the runtime API and zotero-types.
- Bump the release metadata to 3.2.3 and regenerate `updates.json` for the
new GitHub release asset.
Decisions:
- Chose Blob over ArrayBuffer because it matches Zotero's own `putContentsAsync()`
runtime path and avoids another speculative workaround.
- Released another patch version because this is a corrective runtime fix for
the existing attach fallback behavior.
Expected outcome: After updating to v3.2.3, the bytes fallback should stop
resetting the Zotero server and allow live `upload_pdf` proofs to complete.
Co-Authored-By: GPT-5 <noreply@google.com>1 parent 7ee6c88 commit cce95ed
3 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments