8 Oct 2026
Splitting text into lines no longer drops a line
- What was broken
- When text mixed old-style Mac line breaks with normal ones, Mojo's split-into-lines function silently lost a line. "a, b, c" came back as "a, c".
- What I changed
- I fixed a check meant to skip only empty pieces, so it no longer skips real lines.
- Why it matters
- Programs reading text from different systems get every line, the same as Python gives.
see the code, #7235 ↗ (opens in a new tab)closed on GitHub, landed as a commit ↗ (opens in a new tab)
17 Sept 2026
Tests in a loop now check every round, not just the first
- What was broken
- Mojo has a test helper that checks code crashes when it should. In a loop it re-ran the first round each time, so tests could pass having checked one case.
- What I changed
- I made it count how many times each check has been reached, so every round runs its own case.
- Why it matters
- A test that reports a pass has now really checked every case it claims to.
see the code, #6967 ↗ (opens in a new tab)closed on GitHub, landed as a commit ↗ (opens in a new tab)
2 Sept 2026
A stuck test now fails instead of hanging forever
- What was broken
- Mojo's helper for testing deliberate crashes waited forever if the code froze instead of crashing. The whole test run stalled with no hint of which test was stuck.
- What I changed
- I added a time limit, 60 seconds by default, after which it stops the stuck code and fails that test with its output.
- Why it matters
- Developers get a clear failure they can fix, instead of a frozen test run killed with no explanation.
see the code, #6954 ↗ (opens in a new tab)closed on GitHub, landed as a commit ↗ (opens in a new tab)
← every project