github charmbracelet/huh v0.8.0

one day ago

Fields aren’t just for farmers

Hi! This big feature in this release is that you can now create and maintain your own Field types as Field.RunAccessible is now public. Check out the Field interface and go crazy.

We also fixed a handful of bugs in the release. Special thanks to @pashpashpash for nudging us to cut a release.

Changelog

New!

  • feat: make Field.RunAccessible public, deprecate Field.WithAccessible by @caarlos0 in #667

Fixed

  • fix(select): do not show title if filter is set by @caarlos0 in #633
  • fix(select): make sure selected item is visible on viewport update by @caarlos0 in #632
  • fix(select,multiselect): properly handle defaults and prompts by @caarlos0 in #642
  • fix: Terminal.app rendering issues by @caarlos0 in #643
  • fix: minimize the risk of scrolling the view up on some terminals by @aymanbagabas in #649
  • fix: Add missing id initialization in field_select constructor by @forever-salty in #692

Other Stuff

New Contributors

Full Changelog: v0.7.0...v0.8.0

Don't miss a new huh release

NewReleases is sending notifications on new releases.