Gooey v1.0.4 Release Notes

Release Date: 2020-06-21 // almost 4 years ago
  • ๐Ÿš€ Gooey 1.0.4 Released!

    Gooey picked up some cool new widget types thanks to awesome contributions from @NathanRichard and @conradhilley.

    ๐Ÿš€ The rest of this release was focused on bug fixes and quality improvements. My commitment is to having Gooey be a stable, reliable project. This has required slowly shedding it's fast and loose hobby project past. Test coverage more than doubled between 1.0.3 and 1.0.4 and several bugs were fixed along the way as a result of this. The next few releases of Gooey will be similarly focused on bringing its codebase up to snuff so that wider changes can be made without introducing unexpected regressions.

    โฌ†๏ธ Upgrading from 1.0.3 to 1.0.4

    ๐ŸŒ Translation notice! Yes/No options in confirmation modals are now backed by the language files. Previously, they were fixed to english regardless of the selected language. If the new language options aren't configured for your language, you will now see a translation request in the button label!

    What's new

    Widgets: TimeChooser

    ๐Ÿš€

    Usage:

    parser = GooeyParser()parser.add\_argument('--time', widget='TimeChooser')
    

    ๐Ÿ‘€ @NathanRichard added this one after an excellent deep dive into the complexities of dealing with time inside of WX. See the README for notes on usage.

    Widgets: ColourChooser

    ๐Ÿš€

    Usage:

    parser = GooeyParser()parser.add\_argument('--color', widget='ColourChooser')
    

    @conradhilley brought this one to life. You can now select colors from an awesome little chooser widget.

    0๏ธโƒฃ CLI based defaults

    @jschultz added the ability to use arguments passed on the command line as defaults in Gooey. Enable this functionality by passing use_cmd_args to the Gooey decorator.

    @Gooey(use\_cmd\_args=True)def main(): parser = ArgumentParser() parser.add\_argument('--foo')
    

    0๏ธโƒฃ Now any CLI args you pass when invoking your program will show up as defaults in Gooey.

    python my_program.py --foo "hello!" 
    

    โž• Additional features

    • โž• Added option to start Gooey in full screen mode

    Language Additions / Improvements

    • ๐Ÿ“š @foben - documentation fixes
    • ๐ŸŒ @gediz - turkish translations
    • ๐ŸŒ @dsardelic - bosnian & Croatian translations
    • ๐ŸŒ @partrita - Korean translations

    ๐Ÿ› Bug Fixes

    • ๐Ÿ’ป Main README image had a typo "Command Lines Applications"
    • Truthy values
    • ๐Ÿ›  Fixed bug where nargs in textfields weren't being mapped correctly
    • ๐Ÿ›  Fixed bug where argparse's SUPPRESS flag was showing in the UI
    • ๐Ÿ›  Fixed missing i18n capabilities in modals
    • ๐Ÿ›  Fixed bug where program_description wasn't being honored
    • ๐Ÿ›  Fixed bug where gooey_options weren't being honored in the Header
    • ๐Ÿ›  Fixed bug where RadioGroup wasn't enabling it's child widget when initial_selection was set
    • ๐Ÿ›  Fixed bug where checkboxes weren't honoring visibility options
    • ๐Ÿ›  Fixed bug where gooey_options weren't being passed to footer