A few misc. changes in this release, but the biggest overall improvement is better default behavior in CI / docker environments.
Changes
- Deprecate the
--modeparameter, replace with--[no]tty--mode interactiveand--mode dumbare now just--ttyand--nottyrespectively, which is both a more standard approach used by other applications and it's way shorter.--mode dumb, though intended to invoke "dumb" in a technical sense (a program or environment with limited functionality) just comes across as surprising to many new users.- The
--modeparameter will be left in for another version or two, but migrating away from it is trivial so consider doing it next time you update any script to use Kobweb v0.9.12 (or later!)
- Kobweb handles falling back to
--nottymode automatically if it can't initialize an ANSI environment.- This is particularly useful in CI / docker environments, where before things would crash unless you explicitly set
--mode dumbto work. Now, you can just callkobweb exporton your CI without thinking and it should just work.
- This is particularly useful in CI / docker environments, where before things would crash unless you explicitly set
- Errors / warnings reported in
kobweb runnow stick to the bottom if you scroll to the bottom. - The Kobweb CLI will now indicate if an upgrade is available.
- Unfortunately, you'll have to wait until 0.9.13 is released at some point in the future to see it 😁