Skip to content

v0.5.5: Oversized-page refusals, text escaped twice, and rate-limit hints

Latest

Choose a tag to compare

@cyanheads cyanheads released this 21 Nov 21:01
v0.5.5
a1f3320

Oversized-page refusals, text escaped twice, and rate-limit hints

  • Text a deposit escaped twice reads as the text it encodes: a character reference behind a run of & decodes as that reference, and HTML escaped twice into a JATS field is stripped like HTML escaped once (#118)
  • A works page too large for Crossref to assemble (HTTP 500 naming ContentTooLongException) fails on its first attempt as page_too_large on crossref_search_works, with Crossref's size and limit and a recovery to halve rows or pass fields without author; the 500's body is read under a 64 KiB bound and a 2 s bound, and a body not whole inside them stays upstream_unavailable (#119)
  • rate_limited hints advise CROSSREF_MAILTO only when the server sends no mailto, and the server instructions no longer carry the advice (#121)
  • A one-character superscript followed by a digit keeps its braces: 10<sup>2</sup>5 reads 10^{2}5
  • deps: vitest ^5.1.0 → ^5.1.1 (dev)

CHANGELOG v0.5.5 · release PR #122