v0.8.2 — Fast latest-filing lookup (fiscal-year-end heuristic)
Performance release for the period-omitted "latest filing" path — the first path new users touch. Design reviewed externally (gpt-5.3-codex).
Changed
- Fiscal-year-end heuristic: the EDINET code list's 決算日 is now parsed into
Company.fiscal_year_end. Withperiodomitted, annual-report lookups probe the company's statutory filing-deadline month (決算月+3, then +2) before scanning — cold lookups take ~1 month window (~60s at the default rate limit) regardless of the company's fiscal calendar, and warm lookups are instant. Verified end-to-end against the live API (cold 66s → warm 0.2s). - Correctness-first probe design: previous-year windows are deliberately never probed before the reverse-chronological scan — accepting them could shadow a newer off-window filing (early/late/exceptional filers).
- Tiered filings-cache TTL (24h / 7d / 60d by age) instead of permanent caching, since list rows are not strictly immutable (withdrawals, metadata edits).
- Code-list lookup failures degrade silently to the plain scan.
See CHANGELOG.md for details.