Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 20:08
· 38 commits to main since this release
6e1bcfc

Breaking changes

  • PaxError, ProviderError, CandidateIdParseError and ProviderId are #[non_exhaustive]: a match on them outside pax-core needs a wildcard arm. PaxError has new variants for exclusions, duplicate declarations and the search log (#39)
  • The pax CLI exits with a distinct code per outcome (0 success, 1 failure, 2 wrong arguments, 3 some providers failed, 4 not found, 5 refused, 6 every provider failed, 7 no library), and writes errors and warnings to stderr, results to stdout (#40)
  • add_candidate / pax add refuse a paper already in the library, matched by DOI or arXiv id, with PaxError::AlreadyDeclared (#40)

Deprecated

  • known_dois and excluded_keys: use LibraryIndex, which matches by every DOI and version-less arXiv id (#41)

Features

  • (search) paged search reporting each provider's total (search_all_paged, search_by_author_paged, SearchOptions/Limit/SearchPage); pax search --limit N / --all with per-provider "retrieved N of M" (#27)
  • (stats) pax stats reports PRISMA flow-diagram counts (#43)
  • (search-log) record every search in research/search-log.jsonl (#42)
  • (citations) merge refs/cited-by and flag in-library and excluded papers by identity (#41)
  • (cli) exit codes for every outcome, errors and warnings on stderr (#40)
  • (exclusions) research/excluded.nix and pax exclude (#33)
  • (merge) merge duplicate search results across providers (#32)
  • (citations) pax refs and pax cited-by (#36)
  • (search) filter by year, document type and language (#38)

Fixed

  • (provider) take PDF links only from real PDFs (#37)
  • (provider) parse Crossref responses leniently (#34)
  • (provider) OpenAlex and Semantic Scholar searches no longer abort on records missing a title, date, or author name (#27)