You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
3.1 KiB

  1. # Gooey 1.0.4 Released!
  2. Gooey picked up some cool new widget types thanks to awesome contributions from @NathanRichard and @conradhilley.
  3. 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.
  4. ## Upgrading from 1.0.3 to 1.0.4
  5. 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!
  6. ## What's new
  7. ### Widgets: TimeChooser
  8. <p align="center">
  9. <img src="https://github.com/chriskiehl/GooeyImages/raw/images/docs/releases/1.0.4/time-chooser-demo.JPG">
  10. </p>
  11. Usage:
  12. ```python
  13. parser = GooeyParser()
  14. parser.add_argument('--time', widget='TimeChooser')
  15. ```
  16. @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.
  17. ### Widgets: ColourChooser
  18. <p align="center">
  19. <img src="https://github.com/chriskiehl/GooeyImages/raw/images/docs/releases/1.0.4/color-chooser-demo.jpg">
  20. </p>
  21. Usage:
  22. ```python
  23. parser = GooeyParser()
  24. parser.add_argument('--color', widget='ColourChooser')
  25. ```
  26. @conradhilley brought this one to life. You can now select colors from an awesome little chooser widget.
  27. ### CLI based defaults
  28. @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.
  29. ```python
  30. @Gooey(use_cmd_args=True)
  31. def main():
  32. parser = ArgumentParser()
  33. parser.add_argument('--foo')
  34. ```
  35. Now any CLI args you pass when invoking your program will show up as defaults in Gooey.
  36. ```
  37. python my_program.py --foo "hello!"
  38. ```
  39. ### Additional features
  40. - Added option to start Gooey in full screen mode
  41. ## Language Additions / Improvements
  42. * @foben - documentation fixes
  43. * @gediz - turkish translations
  44. * @dsardelic - bosnian & Croatian translations
  45. * @partrita - Korean translations
  46. ## Bug Fixes
  47. - Main README image had a typo "Command Lines Applications"
  48. - Truthy values
  49. - Fixed bug where nargs in textfields weren't being mapped correctly
  50. - Fixed bug where argparse's SUPPRESS flag was showing in the UI
  51. - Fixed missing i18n capabilities in modals
  52. - Fixed bug where program_description wasn't being honored
  53. - Fixed bug where gooey_options weren't being honored in the Header
  54. - Fixed bug where RadioGroup wasn't enabling it's child widget when `initial_selection` was set
  55. - Fixed bug where checkboxes weren't honoring visibility options
  56. - Fixed bug where gooey_options weren't being passed to footer