Skip to content

v0.5.1

Latest

Choose a tag to compare

@oldantique oldantique released this 29 Jul 12:24

v0.5.1 — repository DOIs are not journal DOIs

Fixes the "SSRN Electronic Journal" trap: a preprint repository's own DOI (e.g. SSRN 10.2139/ssrn.*, registered in CrossRef as journal-article in a fake journal) could wrongly trigger the version-of-record upgrade, turning a working paper into a journalArticle.

  • The "is this a journal DOI?" decision is now a single two-layer predicate in zotkit.metadata, shared by create --arxiv and enrich --rebuild-record:
    1. repository-prefix blacklist — arXiv 10.48550, SSRN 10.2139, bioRxiv/medRxiv 10.1101, Research Square 10.21203, OSF 10.31219, ChemRxiv 10.26434, TechRxiv 10.36227, Preprints.org 10.20944 never count as journal DOIs;
    2. record-level guard — a CrossRef record whose container is "SSRN Electronic Journal" (or whose type is posted-content) is a repository posting, not a version of record.
  • Blocked upgrades keep the preprint and state the reason in the output.
  • Unchanged: genuine journal DOIs upgrade exactly as before; repository-DOI items still get plain fill-missing enrichment.