Skip to content

v0.3.12

Latest

Choose a tag to compare

@NejcS NejcS released this 19 Oct 11:54
· 13 commits to main since this release

New release 馃帀

Hello everyone! We are releasing a new version of codeplain - 0.3.12!

Run uv tool upgrade codeplain in your terminal to upgrade!

New features & improvements

  • The unit tests fixer now works as an agent. Before, each failed unit test run got one fix attempt that knew nothing about the attempts before it, so on a hard failure the fixer went back and forth between two issues. The fixer now keeps one session for the whole functionality. In the session it reads the code, searches it, changes it and runs the unit tests itself, and every later attempt sees what it already tried and what failed.

Fixes

  • A render no longer waits for an answer that cannot arrive. A call to the render service stays quiet for minutes while the service works on the answer. Some network equipment drops a connection that quiet and tells neither side, which left the client waiting without end. Every connection now sends keepalive probes, through a proxy as well, so a render behind such equipment keeps going.
  • codeplain renders headless when no terminal is attached. Started from a script or an agent, the render TUI read end-of-file in a tight loop, so it used a whole CPU core for the entire render, and a stopped render waited for an Enter nobody could press. Without a terminal, codeplain now does what --headless does: progress on stdout, and exit status 1 when the render stops.

Internal improvements

  • The terminal tests run on Windows again. The two modules that exist only on POSIX are now imported inside the one test that needs them.