EdgarTools 6.0 — the public roadmap
EdgarTools 6.0 is being developed in the open. This issue is the roadmap: what's changing, what's staying, how breaking changes will land, and where you can get involved. Everything below is tracked in the Release 6.0 milestone; the full plan lives in-repo at engineering/6.0-release-plan.md.
What 6.0 is
- Measured performance. Profile first, then optimize with before/after receipts — nothing merges on vibes. (#929)
- One HTML parser. The legacy
edgar.filespackage andChunkedDocumentare removed after a parity benchmark provesedgar.documentscovers them. (#930, resolves #870) - bs4-free. Every BeautifulSoup call site has migrated to lxml — the nine XML parsers landed 2.7–9.0x in 5.51.0, and the HTML half followed across 5.52.0–5.55.0 — so all that remains is
beautifulsoup4leaving the dependency list. (#931) - A declared public API, with
py.typedso your type checker finally sees our annotations. (#932) - Errors instead of silent
None, via a unifiededgar.exceptionshierarchy. (#933) - Lighter, cleaner dependencies — dropping unused, GPL-licensed, and upstream-archived packages. (#934)
- Faster imports via lazy submodule loading. (#935)
- A modern Python floor: Python ≥ 3.11 — 3.10 reaches end of security support on 2026-10-31, inside 6.0's lifetime. pandas 2.x and 3.x are both supported, so the pandas floor is not moving; only the Python one is. (#938)
- Plus: httpx → httpx2 (#842), CI on uv (#937), and a source-tree/tests reorganization with announced landing windows and path maps (#936).
What 6.0 is not
- Not a rewrite. We evaluated Rust and rejected it — the heavy lifting is already native (lxml, pyarrow), and EdgarTools stays a pure-Python wheel.
- Not a breakage free-for-all. Breaking changes land in one compressed, announced window, each with an upgrade-guide entry (old → new, with mechanical rewrite rules where possible). The goal: you — or your AI coding assistant — can upgrade a dependent codebase from the migration guide alone.
- Not abandoning 5.x. Non-breaking improvements (performance, parsing fixes) ship in 5.x as they're ready; 5.x remains the home for Python 3.10 / pandas 2 users.
Progress
Last updated 2026-09-02, after 5.56.0. Target date: 2026-11-09.
Non-breaking work ships in 5.x as it's ready, so a good deal of 6.0 is already installable:
| shipped in | what you get today | |
|---|---|---|
| Declared public API (#932) | 5.47.0 | edgar.__all__, plus a regression test that keeps it honest |
py.typed (#932) |
5.48.0 | your type checker finally reads our annotations |
edgar.exceptions (#933) |
5.48.0 | the new hierarchy, opt-in via EDGARTOOLS_STRICT_ERRORS=1 |
| bs4 → lxml, XML half (#931) | 5.51.0 | nine parsers, 2.7–9.0x faster |
edgar.settings (#936) |
5.52.0 | settings and identity out of edgar.core; old paths still work |
| Section-extraction parity (#930) | 5.52.0 | ten defects closed; pre-2002 filings return items at all now |
| Legacy-parser deprecations (#930) | 5.55.0 | edgar.files.markdown / .tables / .text warn before 6.0 removes them |
Last edgar.files routes moved (#930) |
5.56.0 | filing.sections() / filing.search() run on edgar.documents; EightK.doc warns |
If you want to de-risk your upgrade now: set EDGARTOOLS_STRICT_ERRORS=1 to find the call sites that currently swallow a None, run with -W error::DeprecationWarning to catch anything of yours reaching edgar.files, and check whether you star-import edgar — __all__ narrowed that in 5.47.0.
Where the risk actually is
It has moved, and the honest thing is to say so rather than leave the August version standing.
The parser work is no longer the long pole. We said we wouldn't delete the legacy HTML parser until the new one demonstrably covered it. That gate closed on 2026-08-22; re-measured across 133 era-stratified fixtures and 2,128 item lookups, nothing inside edgartools reaches the legacy parser any more. As of 5.56.0 every public route into edgar.files either warns or has been moved onto edgar.documents, so what remains in #930 is deletion of surface that has been warning in a released 5.x. The bs4 ports (#931) are all done, including the two files the inventory flagged as large and high-risk. Five real from bs4 imports survive in the whole library: four inside the package #930 deletes, and one deliberate XML adapter that goes with it.
Staging is finished, which changes what the freeze date is for. Mid-October was the deadline by which every break that can ship its additive half in a released 5.x had to have done so. That condition is now met, about six weeks early. Two things still land inside the window without a staged half, because they can't have one: beautifulsoup4 leaving the dependency list, and whatever further module moves the source-tree reorg makes.
The risk is now the source-tree and test-layout reorganization (#936), which hasn't started and whose blast radius grows with every merged PR. Its landing windows need announcing ahead of the freeze rather than during it.
Staged, awaiting the window: legacy-parser deletion (#930), the beautifulsoup4 drop (#931), the Python 3.11 floor (#938). Not started: the reorg (#936), lazy imports (#935), the dependency diet (#934).
For most of this program the governing deadline was not 2026-11-09 but mid-October: the point by which every break that can warn you first had to have shipped that warning in a released 5.x, because a deprecation warning only helps if you see it before 6.0 breaks you. As of 5.56.0 that condition is met, about six weeks early. So the freeze date has stopped protecting outstanding work and now just marks where 5.x releases stop, and what governs the release is the contents of the window itself.
Get involved
- Now: the bs4 → lxml program (#931) will spawn self-contained, per-file migration issues labeled
good first issue— each is one PR with a mechanical acceptance test. Tender-offer data objects (#922) are also open for a contributor. - Watch the milestone — new help-wanted issues attach there as they're specced.
- Comment here (or open a discussion) if 6.0 breaks something you depend on that isn't covered above — the plan is public precisely so we hear about it before the breaking window, not after.
If you contribute with an AI coding assistant, great — most of this program is designed to be legible to your tools (issues carry acceptance criteria; the repo is getting an AGENTS.md and a PR template that asks for your plan and verification evidence rather than pretending the assistant isn't there).
Timeline and scope rule
The Release 6.0 milestone now carries a due date: 15 August 2026. The breaking-change window is deliberately short, and the scope is fixed at what is in the milestone today.
To keep it that way, the admission rule for 6.0 is:
6.0 is for changes that cannot ship without breaking someone — removals, behaviour changes, dependency floors. Everything else ships in 5.x, including new features.
That is not a holding pattern for 5.x. If a change can go out without breaking anyone, waiting for 6.0 only delays it, so it doesn't wait.
What this means if you're filing an issue
File it normally and assume 5.x. You don't need to ask for a milestone, and a bug report or feature request arriving during the window is not competing with 6.0 for a slot — the two tracks are independent. Non-breaking fixes continue to merge and release from main throughout, and there are already several queued for the next 5.x release.
The tender-offer data objects (#922) are the working example: a brand-new feature, filed last week, routed to 5.x rather than held for 6.0, and now claimed by a contributor.
Something only needs the 6.0 label if shipping it would break a working install — an import path that disappears, a return value that changes shape, a minimum version that moves. If you're unsure, file it and say so in the issue; sorting that out is the maintainer's job, not yours.
Progress update — 8 August 2026
First, a correction: the date is 9 November, not 15 August
The comment above set a due date of 15 August. That has moved to 9 November 2026, and the milestone has carried the new date since 5 August — this thread just hadn't caught up.
The reason is that Python 3.10 reaches end of life on 31 October, and pandas 3.0 requires Python ≥ 3.11. Releasing 6.0 after the EOL means the version floor doesn't need an argument; it's just the supported set. Slipping further reaches no other natural boundary — Python 3.11's EOL isn't until October 2027.
The breaking-change window opens around 12 October. Until then, 5.x keeps releasing normally and everything that can ship additively does, with deprecation warnings ahead of removals.
Done since this roadmap went up
The performance baseline is in — and it redirected the plan (#929).
We profiled 11 filings, 85.7 MB, before optimizing anything. The headline finding was not what we expected: section extraction dominates, not HTML parsing. Morgan Stanley's 9.8 MB 10-K parses in 1.9s, then spends another 6.6s extracting sections. XBRL turned out not to be a bottleneck at all — a full parse, all-facts query and statement render is under 0.6s on the largest filing in the corpus, against 8s+ for the HTML side of that same filing.
So the pandas-vectorization work queued against XBRL was deprioritized on the evidence, and section extraction became the target instead. This is what "profile first" was for.
One incidental finding worth passing on: requesting sections with the wrong form type burns seconds and returns nothing — 6,450ms for zero sections on a mismatch, against 26ms with the correct form.
Import time baseline, for #935: 788ms.
Parser parity is now measured and pinned.
Both a section-extraction and a full-document markdown parity harness now live in the repo with ratchet tests, comparing the new parser against the legacy one across a tracked fixture corpus. Removing edgar.files (#930) was always conditional on proving edgar.documents covers it; that claim is now a test rather than an assertion, and any regression trips CI.
The first 6.0-shaped change is on main (merged, ships in the next 5.x release):
Filing.markdown() and Attachment.markdown() were the last public rendering methods still on the legacy pipeline. They now render through edgar.documents. That closes #886 — the legacy renderer has no image node at all, so every <img> in every filing was being dropped silently, including performance charts whose content exists nowhere else in the document.
The legacy renderer stays reachable through include_page_breaks=True, now deprecated and removed in 6.0. If you pass that flag, this is your first 6.0 migration, and there is no replacement — the flag selects a whole renderer rather than a feature, and edgar.documents treats page-break markup as print chrome.
Landing alongside it, a run of content-loss fixes found by the parity work: exhibit indexes were vanishing from 10-K markdown (AbbVie's is back, 62 rows), Filing.text() was truncating table cells at 200 characters with no ellipsis to show it, and a two-up debt schedule was losing 64 of its 66 maturities while the surrounding narrative read as complete. Full detail in the changelog.
httpx → httpx2 (#842) is no longer a 6.0 requirement.
Both premises behind it stopped holding. httpx is dormant rather than archived, and the downstream package that briefly hard-required httpx2 made both optional again in its next release. It stays a candidate to be judged on merit.
Practically, for you: 6.0 will not change the exception types you catch. The unified exception hierarchy (#933) is now being designed to own those types rather than re-export a dependency's, which is what would make any future migration a non-event.
CI: regression tests now gate pull requests rather than running only after merge.
Behind
A public roadmap is only worth reading if it shows the real state, so:
- bs4 → lxml (#931): 0 of 32 files migrated, nobody working on it. This is the largest single piece of 6.0 and it is also the most contributor-friendly work in the program — each file is one self-contained PR with a measurable before/after, and the migrations already done in-repo came in at 8–20x on the parse step. If you've been looking for a well-scoped way in, this is the one.
edgar.filesremoval (#930): the markdown half is done, the larger half isn't started. What remains isChunkedDocumentinside the 10-K / 10-Q / 8-K report objects — a semantic migration rather than an import swap.- Dependency diet (#934), public API +
py.typed(#932), lazy imports (#935): not started.
If any of this affects you
The window doesn't open until October, which is the entire point of saying this in August. If something above breaks a workflow you depend on — particularly direct edgar.files imports or ChunkedDocument — say so in this thread. The changes that hurt are the ones that reach the window with nobody having mentioned them.
Progress update — 23 August 2026
Eleven weeks to the 9 November target, and seven weeks until the breaking-change window opens around 12 October. Six releases have gone out since the last update here — 5.47.0 on the 10th through 5.52.0 yesterday — so the two-week gap in this thread is not a two-week gap in the work.
Corrections to the "Behind" list above
That list is now wrong in three places, and it is worth being precise about which:
- bs4 → lxml (#931) is no longer "0 of 32 files, nobody working on it". The whole XML half shipped in 5.51.0 — nine parsers, 2.7–9.0x each. The denominator was also over-counted: it is 17 real ports, not 32, of which 9 are done.
- Public API and
py.typed(#932) is not "not started".__all__shipped in 5.47.0 andpy.typedin 5.48.0, both verified in the published wheels. - The exception hierarchy (#933) is not "not started".
edgar.exceptionsshipped in 5.48.0, withEDGARTOOLS_STRICT_ERRORS=1available now as an early opt-in to the 6.0 behaviour.
Only the dependency diet (#934) and lazy imports (#935) are still genuinely untouched.
What shipped
| release | date | 6.0 work in it |
|---|---|---|
| 5.47.0 | 10 Aug | cash_flow_statement() canonical across all 16 statement classes, old spellings deprecated; __all__ declaring 110 names |
| 5.48.0 | 12 Aug | py.typed; edgar.exceptions hierarchy; __all__ now 123 names |
| 5.51.0 | 19 Aug | bs4 → lxml, XML half: 9 parsers at 2.7–9.0x |
| 5.52.0 | 22 Aug | edgar/settings.py extracted from core.py; upstream-SEC-change detection; ten section-extraction defect fixes |
Two things in that table are worth pulling out.
Section extraction is now ahead of the legacy parser, not behind it. The parity ratchet counts filings where the old parser finds a section the new one misses. It sat at 10 through 5.50.0 and 5.51.0; 5.52.0 took it to 3. Pre-2002 filings return items at all now, which they previously did not. That was the last correctness argument for keeping edgar.files alive, and it is gone.
A behaviour-preserving migration turned out to be a good bug detector. The field-by-field corpus comparison each lxml port carried as its acceptance test surfaced nine silent-wrong-output bugs that had nothing to do with the migration — MA-I disclosures all reading False, Form144.contact always None, Form D previous names being dropped. All fixed in the same release. None would have been found by a test suite asking whether the code ran.
Where the release actually stands
The binding constraint on 6.0 is not the November date; it is that anything breaking has to have shipped its additive half — the new name, the deprecation warning, the shim — in a released 5.x by around 12 October. A deprecation warning nobody has had time to see is not a deprecation.
Five of those additive halves have now shipped. The remaining one is the large one, and it is where the schedule risk sits:
Removing edgar.files (#930) is the critical path. Measured against main today: 24 modules under edgar/ and 32 test files still import it. The parity gate that everyone expected to be the hard part is nearly closed; migrating the internal callers, which looked mechanical, is the real work. It moved from untouched to in-progress this week and there are open PRs against it now, but seven weeks is not a lot of room — and the bs4 dependency cannot be dropped until this lands, since edgar.files imports bs4 too. #931's finish line is behind #930's.
A breaking change to flag now rather than in November
FactsQuery.to_dataframe() will change the dtype of two columns in 6.0: preferred_sign and fiscal_year become nullable Int64, which moves their null sentinel from NaN to pd.NA. Details and the migration are in #1100.
This one has a history worth repeating, because it is the roadmap working as intended. A downstream consumer commented on #929 back on 1 August asking that the performance harness also pin output schemas, not just timings — they had previously been broken by a null sentinel changing under them, silently, in a way no perf test would catch. We built that schema snapshotting. The first thing it found was our own library doing exactly that, today, with no upgrade involved: two queries against the same data returned preferred_sign as float64 in one case and int64 in the other. The half that could ship additively shipped in 5.46.0; the half that breaks is announced above and waits for the window.
If you want to help
Three concrete openings, in order of how self-contained they are:
- The bs4 HTML ports — four files, each one PR, now filed individually with their file-specific traps written down rather than left to be discovered: #1101 (
headers.py, the calibration port), #1102 (attachments.py), #1103 (sgml/filing_summary.py, markedgood first issue), #1104 (xbrl/notes.py, the highest-risk). A porting guide covering the six ways lxml differs from bs4 is on #931. - The dependency diet (#934) — four small independent changes, three of which can ship in 5.x today without waiting for the window. One of them, dropping
tabulate, is a one-line removal: it has been declared as a dependency with zero imports anywhere in the library. Re-audited today, all four still stand. - Telling us what you depend on. The window opens in October, which is the entire point of saying all this in August. Direct
edgar.filesorChunkedDocumentimports, and theto_dataframe()columns above, are the two places where we would rather hear from you now than after 6.0 ships.
Roadmap status — 2026-08-31, with 5.55.0 out.
The short version: the staging work that has a hard deadline is now done. What remains for 6.0 is mostly work that can happen inside the breaking window, plus one large migration.
Why staging is the deadline that mattered
Most 6.0 breaks have an additive half that can ship under 5.x — add the new name, warn on the old one — and doing that early means you get a release stream that warns you before 6.0 breaks you. That half has to be in a released version with runway ahead of the 6.0 date; merged is not shipped. As of 5.55.0, all six rows of that table have a released 5.x behind them:
| Break | Additive half | Shipped in |
|---|---|---|
| Cash-flow method names | new name canonical, old ones warn | 5.47.0 |
| Public API | __all__ declared, py.typed shipped |
5.47.0 + 5.48.0 |
| Error hierarchy | hierarchy added, silent None warns |
5.48.0 |
edgar.files removal |
deprecation warnings | 5.47.0 + 5.49.0 + 5.55.0 |
| Source-tree moves | new paths behind import shims | 5.52.0 + 5.55.0 |
| bs4 → lxml | per-file migrations | 5.51.0 + 5.53.0 |
Two items cannot be staged and land inside the window by nature: the pandas 3.0 / Python ≥3.11 floor, and the httpx2 question — which is no longer a breaking change for you either way, since TransportError now owns the exception types at the network boundary.
The long pole
Removing edgar.files (#930) is the largest remaining piece, and it is further from done than the deprecation warnings suggest. Measured against a 115-fixture corpus spanning 1996–2026, __getitem__ still reaches the legacy parser on 15 of 1902 probes and get_item_with_part on 4 of 286, so ChunkedDocument is still imported and zero importers have been dropped. That is a semantic migration of the company_reports/ cluster, not an import swap.
Timing unchanged: release 2026-11-09, freeze window opening around 2026-10-12. The date is anchored to Python 3.10's EOL on 2026-10-31, which makes the version floor self-justifying, and pandas 3.0 requires ≥3.11 — so the floor is one decision, not two.
If you depend on edgartools: run your suite with -W error::DeprecationWarning now. Everything above warns today, and that is the cheapest way to find out what 6.0 will cost you. Please open an issue if something changes that is not in the upgrade guide — that is a gap in the document rather than an intended surprise.
Roadmap status — 2026-09-02.
Ten weeks to the 6.0 date, six to the freeze. Two things worth your attention: the release's longest pole is no longer the longest pole, and two public APIs turned out to have never worked at all.
The legacy-parser removal stopped being research
For most of August the honest answer to "when can edgar.files go?" was "when the item lookups stop needing it", and that gate was quoted as open as recently as last week. It had in fact closed on 08-22. Re-measured across 133 era-stratified fixtures and 2,128 item lookups, with the legacy paths made to raise rather than return None: zero reach the legacy parser.
What was left in #930 turned out to be one piece of real work — Filing.sections(), which is public and backs filing.search(), so it needed a replacement rather than a deprecation — plus deletions of surface that has been warning since 5.55.0. Both the real pieces are done. Same story on #931: the bs4 ports are 10 of 12, with markdown.py and funds/data.py, the two files flagged as high-risk, both landed.
Two things that were broken for everyone
Both found by running the code rather than reading it, and both had tests that passed throughout. If you use either, they work now:
Document.chunks()raisedModuleNotFoundErroron every call — it imported a module that had never been written. Token-budgeted chunks with overlap is what a RAG pipeline reaches for first, and it answered with something that reads like a broken install.Report.get_dataframe()returned an empty DataFrame for every filing, because it read an attribute that only exists on the parser it no longer uses. The error went into a bareexcept, so it looked exactly like a filing with no tables. Measured: 0 of 42 Apple R-files produced data; now 41 of 42, with the income statement reading the filed $95,359M and $219,659M in the right columns.
I'd rather state those plainly than fold them into a changelog line. Neither is a 6.0 break — they're bugs that the 6.0 work happened to walk into, and the reason they lasted is coverage that asserted shapes instead of values.
What you get today
Non-breaking work keeps shipping in 5.x, so much of 6.0 is already installable:
| shipped in | what you get | |
|---|---|---|
| Declared public API (#932) | 5.47.0 | edgar.__all__, with a test keeping it honest |
py.typed (#932) |
5.48.0 | your type checker reads our annotations |
edgar.exceptions (#933) |
5.48.0 | the hierarchy, opt-in via EDGARTOOLS_STRICT_ERRORS=1 |
| bs4 → lxml, XML half (#931) | 5.51.0 | nine parsers, 2.7–9.0x faster |
edgar.settings (#936) |
5.52.0 | out of edgar.core; old paths still work |
| Legacy-parser deprecations (#930) | 5.55.0 | edgar.files.markdown / .tables / .text now warn before 6.0 removes them |
To de-risk your upgrade now: set EDGARTOOLS_STRICT_ERRORS=1 to find call sites that swallow a None, run with -W error::DeprecationWarning to catch anything reaching edgar.files, and check whether you star-import edgar — __all__ narrowed that in 5.47.0.
Where the risk sits now
It moved. It is no longer the parser work; it's the source-tree and test-layout reorganization (#936), which hasn't started, and whose blast radius grows with every merged PR. Its landing windows need announcing before the freeze rather than during it.
In flight: legacy-parser removal (#930), bs4 HTML half (#931). Not started: the reorg (#936), lazy imports (#935), the dependency diet (#934).
The deadline that governs this release is still mid-October, not 2026-11-09 — the point by which every break must have shipped its additive half in a released 5.x. As of 5.55.0 that work is done; a deprecation only helps if you meet it before the removal does.
Roadmap updated after 5.56.0 — and one thing on it has changed shape enough to call out separately.
The additive half of 6.0 is finished. Every break that can ship a warning ahead of itself has now done so in a released 5.x, roughly six weeks before the mid-October date that was set for exactly this. The last piece was EightK.doc, the final public route into the legacy parser that still reached users silently. If you have been waiting for a moment when checking your exposure is cheap, this is it: run your suite with -W error::DeprecationWarning and with EDGARTOOLS_STRICT_ERRORS=1, and anything 6.0 will break should surface today as a warning rather than in November as a failure.
Three corrections to the version of this roadmap that stood this morning:
- The bs4 ports are all done, not "10 of 12" — that count included two follow-ups that are not ports. Dropping
beautifulsoup4is now a consequence of deleting the legacy parser rather than a separate project, since four of the five survivingfrom bs4imports live inside the package being deleted. - The pandas floor is not moving, and #938 has been retitled and rewritten because its old text said otherwise. 6.0 raises the Python floor to 3.11 (3.10 goes EOL 2026-10-31, nine days before we ship). pandas 2.x and 3.x both stay supported. Dropping 3.10 unblocks pandas 3 for those who want it; it does not force it on anyone.
- The closing line about the mid-October deadline was stale, since it referenced 5.55.0 and described a condition that has since been met. Rewritten.
What this leaves is the honest version of where the risk sits: not in the breaking changes, which are measured, staged and mapped, but in the source-tree and test-layout reorganization (#936), which still hasn't started and whose blast radius grows with every PR that merges. Its landing windows want announcing ahead of the freeze rather than during it.
If 6.0 breaks something you depend on that isn't covered here, this is the useful time to say so.
6.0.0 was released on 2026-11-09, so I'm closing this roadmap. Thanks to everyone who weighed in here. The work that didn't make 6.0 (performance, dependency diet, lazy imports, uv) continues in the Release 6.x milestone.