Skip to content

mkio 1.0.1

Choose a tag to compare

@markuskimius markuskimius released this 13 Sep 21:58
· 9 commits to main since this release

mkio 1.0.1 runs on Windows 11 with the standard CPython 3.11+ interpreter. A patch release: no change to the config format, wire protocol, CLI, clients, expression language or on-disk layout.

Fixed

  • MkioApp.run() and mkio serve bound the port and then exited on Windows, because the asyncio ProactorEventLoop has no add_signal_handler. run() now falls back to the cancellation asyncio.run() delivers on Ctrl+C, stops the server and returns normally, the same as after SIGINT on Unix.
  • A drive-rooted seed path such as C:/data/seed.csv was treated as relative to the config file. Anything Path.is_absolute() accepts is now absolute, and a .\ prefix means the current directory like ./.
  • The CLI's colored subpub/stream/query/monitor output printed raw escape sequences in the legacy Windows console. The console is switched to virtual-terminal mode on startup (Windows Terminal already rendered them).
  • The [config] route's traversal guard compared path strings by prefix, so a sibling directory such as /configs2 passed as /configs. It now uses Path.is_relative_to.

uvloop stays Unix-only; pip install mkio[fast] skips it on Windows and run() tolerates its absence.

Install: pip install mkio==1.0.1 — https://pypi.org/project/mkio/1.0.1/