Skip to content

v0.6.6

Choose a tag to compare

@ajtgjmdjp ajtgjmdjp released this 03 Jul 11:28
· 19 commits to main since this release

Fixed

  • Filing-list cache no longer poisoned by rows without docID: rows lacking docID are filtered before being cached (and defensively on cache reads), so a single malformed API row can no longer cause repeated KeyError failures for a cached date until TTL expiry.
  • Financial metrics treat 0 as a valid value, not as missing: ROA no longer silently substitutes operating income when ordinary income is exactly 0, and ROE no longer falls back when net income or shareholders' equity is 0. Loss-year ratios are now computed correctly.

Changed

  • Library modules now use stdlib logging instead of loguru: importing edinet_mcp no longer emits log output to stderr. A NullHandler is attached to the edinet_mcp logger per library best practice. The CLI keeps its loguru-formatted stderr output, and stdout stays clean for JSON consumers.
  • Retry exhaustion in the HTTP client now raises a clear RuntimeError instead of relying on a type-ignored re-raise.

Full Changelog: v0.6.5...v0.6.6