CHANGELOG.md
Changelog
This file lists the changes a user can notice in each release. The format follows Keep a Changelog, and the versions follow Semantic Versioning.
0.4.2 - 2026-12-02
Changed
- Error messages for mirror retries, mirror top-level domains and boolean
query parameters now start with a fixed prefix, such as
invalid mirror TLD:, so a log search finds them. - Removed duplicated and pass-through helpers across the archive, DOI mirror, OpenAlex, HTTP API and CLI code with no public API changes.
Fixed
- The web UI no longer hides a cancelled request or a failed read of an error response body. It passes the cancellation on and logs the read failure.
0.4.1 - 2026-11-28
Changed
- Unified mirror validation, health backoff, persistent cache state, and failover selection across the archive and DOI mirror clients.
- Consolidated shared HTTP status and request error formatting, retry backoff, download store setup, DOI parsing, and web UI view helpers with no public API changes.
0.4.0 - 2026-11-27
Added
- Opt-in DOI mirror fallback (
AAKB_DOI_BASE_URL,AAKB_DOI_MIRRORS,AAKB_DOI_ALLOWED_TLDS,AAKB_DOI_COOKIEand matchingaakb.Configfields) with TLD enforcement, SSRF-safe transfers, challenge detection, backoff failover, andCapabilities.DOIMirror. - Unpaywall open-access PDF fallback (
AAKB_UNPAYWALL_EMAILandaakb.Config.UnpaywallEmail, set tooffto disable). - Verified OpenAlex sibling-work lookup during downloads so working-paper records without a PDF can resolve to published or repository copies.
Changed
- Canonical
/scidb/<doi>/downloads are trusted without rejecting filename-stub or blank archive titles, and free/scidb/PDFs are tried before paid fast-download quota. - Default OpenAlex searches include books, book chapters, editorials, and
reports, report
fast_downloadwhen a direct PDF is available, and rank downloadable and published-DOI works ahead of working-paper stubs. - OpenAlex downloads check up to five external PDF locations, upgrade plain HTTP PDF URLs to HTTPS, and try remaining advertised PDF links when open locations fail.
0.3.0 - 2026-11-26
Changed
- Archive settings use the
AAKB_ARCHIVE_prefix. SetAAKB_ARCHIVE_BASE_URLorAAKB_ARCHIVE_MIRRORSto enable archive operations. Go callers configureBaseURLorMirrorsdirectly. - The default download directory is
~/aakb-downloads.
0.2.1 - 2026-11-26
Changed
- CLI help, MCP tool descriptions, documentation, and diagnostics use neutral archive wording.
- The HTTP server registers MCP tools once at startup.
Fixed
- Help, version, and health work with invalid provider settings.
-json-errorsformats argument and configuration errors as JSON. Put it first to include flag parsing errors.- The HTTP server waits for shutdown when the listener stops.
0.2.0 - 2026-11-26
Added
- Native archive and OpenAlex clients inside
aakb, replacing the external archive client dependency andgoquery. AAKB_ARCHIVE_MIRRORSandaakb.Config.Mirrorsfor configuring additional failover mirror hosts.aakb.Config.AllowedTLDs,aakb.Config.HTTPClient,aakb.Config.UserAgent, andClient.UpstreamHealth.- Unified local download store with an indexed manifest for O(1) reuse lookups and cross-process locking.
- Fast-download server health memory so failing partner servers are tried last instead of delaying every download.
Changed
AAKB_ARCHIVE_ALLOWED_TLDSnow filters every mirror candidate, including failover mirrors, before credentials are sent.GET /healthz?upstream=1probes the active mirror through/dyn/up/and mirror health state instead of an unauthenticatedHEADrequest.- DOI verification reads
/db/aarecord_elasticsearch/md5:<hash>.jsoninstead of scraping full HTML record pages. - OpenAlex requests use retry backoff on transient
429and5xxresponses and run independently of the archive.
Removed
- Dependency on the external archive client,
github.com/PuerkitoBio/goquery, andgithub.com/andybalholm/cascadia.
0.1.1 - 2026-11-25
Added
- The Go library at
github.com/bjoernaagaard/aakb. - The REST API at
/api/v1and the web UI at/, both served byaakb serve. - OpenAlex search takes author, institution and repository ids and citation
relations. An OpenAlex download can pick the artifact, location and
version.
detailsandget_detailstake an OpenAlex work id. AAKB_TRUSTED_PROXIES, so a server behind a proxy counts requests for each real client.-json-errorson every command,-timeoutonaccount, and progress lines during a download.- Progress notifications from the MCP
downloadtool. - Value ranges and allowed choices in the MCP tool schemas.
aakb health, which the Docker health check now uses..env.localloading andAAKB_ARCHIVE_ALLOWED_TLDS.aakb versionprints the commit and its time.
Changed
- A timeout above 600 seconds, or above 7200 seconds for a download, is lowered to that cap.
0.1.0 - 2026-11-24
First release. It holds the MCP server over stdio and Streamable HTTP, the
search, details, read, download and account commands, OpenAlex
search, article reading and downloads behind OPENALEX_API_KEY, bearer
token sign-in, the request limit for each client, and
GET /downloads/{name}.