cli-v0.9.12
Pre-release
Pre-release
A few misc. changes in this release, but the biggest overall improvement is better default behavior in CI / docker environments.
Changes
- Deprecate the
--mode
parameter, replace with--[no]tty
--mode interactive
and--mode dumb
are now just--tty
and--notty
respectively, 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
--mode
parameter 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
--notty
mode 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 dumb
to work. Now, you can just callkobweb export
on 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 run
now 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 😁