Find a file
TheNEwmanator15 25621d3a21 Cache field lookups when loading item data
Zotero.Item#setField() in loadIn mode repeats the same lookups for every
value (field ID, type-specific field, validity for the type, multiline),
several of which allocate. Cache them per item type and field in
Zotero.ItemFields._getLoadInfo(). The cache is rebuilt by
ItemFields.init() and dropped if any method it depends on is replaced, so
an overridden method is still consulted. Also look up each item type's
fields once per load rather than once per item.

setField() is still called for every value with the same arguments, so
code that wraps it sees the same calls, and the loaded data is identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 01:10:54 +01:00
.github/workflows Add a timeout to the SMB and NFS setup steps in CI 2026-08-20 12:34:40 -04:00
app Support notarytool keychain profiles for notarization 2026-09-25 15:03:45 -04:00
chrome Cache field lookups when loading item data 2026-09-26 01:10:54 +01:00
defaults/preferences Remove citeproc-rs 2026-08-31 12:38:05 -04:00
document-worker@8fb70af400 Update document-worker submodule 2026-09-03 18:20:11 +03:00
js-build Remove citeproc-rs 2026-08-31 12:38:05 -04:00
note-editor@acec74d09b Improve undo/redo in the note editor (#3398) 2026-07-31 14:22:53 +02:00
reader@e7a93982ba Update reader submodule 2026-09-25 13:46:40 -04:00
resource Remove citeproc-rs 2026-08-31 12:38:05 -04:00
scripts Fix locale update script under rpl 2.x 2026-08-17 09:57:58 -04:00
scss Advanced search: Show subcollections in submenus 2026-08-28 14:13:26 -04:00
styles@dff7452b24 Update translators, styles, CSL locales, and renamed-styles.json 2026-04-02 15:51:43 -04:00
test Item merging: Don't merge web link attachments with different URLs 2026-09-23 13:53:08 -04:00
translators@60f2d542ff Update translators submodule 2026-07-15 12:52:54 -04:00
types/gecko fx140: Update type definitions 2025-07-30 22:30:37 -04:00
.babelrc Use production builds of react libraries (#4482) 2024-08-02 03:43:02 -04:00
.gitattributes Update Linux updater for Zotero 7 2023-05-20 10:51:47 +00:00
.gitignore Use user-provided codesign script for Windows signing 2024-04-08 10:12:58 +01:00
.gitmodules Rename pdf-worker submodule to document-worker 2026-04-22 15:50:02 -04:00
chrome.manifest Remove old citation dialogs (#5177) 2025-04-02 05:26:06 -04:00
CLAUDE.md Rename pdf-worker submodule to document-worker 2026-04-22 15:50:02 -04:00
CONTRIBUTING.md Add "support questions" to CONTRIBUTING.md 2022-12-01 05:10:42 -05:00
COPYING Update COPYING 2018-03-26 11:27:48 +02:00
eslint.config.mjs Remove citeproc-rs 2026-08-31 12:38:05 -04:00
package-lock.json Remove citeproc-rs 2026-08-31 12:38:05 -04:00
package.json Remove citeproc-rs 2026-08-31 12:38:05 -04:00
README.md "Zotero wiki" → "Zotero documentation" in app build README 2023-04-26 04:40:22 -04:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00
version Update version to 11.0 2026-08-03 14:14:05 -04:00

Zotero

CI

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

For more information on how to use this source code, see the Zotero documentation.