Today in #iocaine development, I'm gonna continue working on nam-shub-of-enki
, may patch a few helpers into iocaine in the process, and hopefully, by the end of the day, I'll get to write some docs.
While here, on this first toot of the day in the daily devlog thread: I plan to release iocaine 2.5.0 in a few days, over the weekend.
Small improvements this time, mostly request handler related:
- More flexible logging (esp. for Roto, Lua/Fennel have built-in
print
, so things were easier over there) - Headers, query params, and cookies can all be serialized into a map, for logging & research purposes.
- It's possible to extract captures from regexes now.
- If you want to match multiple regexes with a single scan, that's also doable now (but can't extract captures from that, only match).
I will likely also add helpers to deal with User-Agent Client Hints headers, present in Chrome, Edge, and - as far as I can tell - most derivatives.