All Versions
32
Latest Version
Avg Release Cycle
65 days
Latest Release
1103 days ago

Changelog History
Page 1

  • v0.23.1 Changes

    April 17, 2021

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change validate to allow access to invalid input inside the message

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix Choice#from to differentiate between no value being set and nil value
  • v0.23.0 Changes

    December 14, 2020

    โž• Added

    • โž• Add the ability to provide an arbitrary array of values to Prompt::Slider by Katelyn Schiesser (@slowbro)

    ๐Ÿ”„ Changed

    • Change to allow default option to be choice name as well as index in select, multi_select and enum_select prompts

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix left and right key navigation while filtering choices in the #select and #multi_select prompts
  • v0.22.0 Changes

    July 20, 2020

    โž• Added

    • โž• Add #slider format customization with a proc by Sven Pchnit(@2called-chaos)
    • โž• Add convert message customization
    • โž• Add conversion of input into Array, Hash or URI object
    • Add callable objects as possible values in :active_color and :help_color
    • โž• Add shortcuts to select of all/reverse choices in #multi_select prompt
    • โž• Add :help option to #slider prompt
    • โž• Add :quiet option to remove final prompt output by Katelyn Schiesser (@slowbro)
    • Add :show_help option to control help display in #select, #multi_select, #enum_select and #slider prompts

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Changed question :validation option to :validate by Sven Pachnit(@2called-chaos)
    • ๐Ÿ”„ Change ConverterRegistry to store only proc values and simplify interface
    • ๐Ÿ”„ Change Converters to stop raising errors and print console error messages instead
    • ๐Ÿ”„ Change :range conversion to handle float numbers
    • ๐Ÿ”„ Change yes?/no? prompt to infer default value from words and raise when no boolean can be deduced
    • ๐Ÿ”„ Change Prompt#new to use keyword arguments
    • ๐Ÿ”„ Change #select/#multi_select prompts default help text
    • ๐Ÿ”„ Change #multi_select to preserve original ordering in returned answers
    • ๐Ÿ”„ Change to remove necromancer dependency
    • ๐Ÿ”„ Change TTY::TestPrompt to TTY::Prompt::Test
    • Change #select,#multi_select & #enum_select to allow mix of options and block parameters configuration
    • ๐Ÿ”„ Change to allow filtering through symbol choice names
    • ๐Ÿ”„ Change all errors to inherit from common Error class

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix multiline prompt to return default value when no input provided
    • ๐Ÿ›  Fix color option overriding in say, ok, error and warn prompts
    • ๐Ÿ›  Fix Prompt#inspect format to display all public attributes
  • v0.21.0 Changes

    March 08, 2019

    โž• Added

    • โž• Add :min option to #multi_select prompt by Katelyn Schiesser(@slowbro)

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change gemspec to remove test artifacts

    ๐Ÿ›  Fixed

    • Fix :help_color option for multi_select prompt by @robbystk
  • v0.20.0 Changes

    November 24, 2019

    ๐Ÿ”„ Changed

    • โšก๏ธ Change to update tty-reader dependency
    • ๐Ÿ“‡ Change gemspec to include metadata

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix Choice#from to differentiate between nil and false by Katelyn Schiesser(@slowbro)
    • ๐Ÿ›  Fix yes? and no? prompts to stop raising on invalid/blank input by Katelyn Schiesser(@slowbro)
    • ๐Ÿ›  Fix Ruby 2.7 keyword arguments warnings
    • ๐Ÿ›  Fix question validation to work with nil input
  • v0.19.0 Changes

    May 27, 2019

    โž• Added

    • โž• Add Prompt#debug to allow displaying values in terminal's top right corner
    • โž• Add :max to limit number of choices in #multi_select prompt
    • โž• Add :value to pre populate #ask prompt line content
    • โž• Add :auto_hint to expand default hint in #expand prompt by Ewoudt Kellerman(@hellola)
    • โž• Add Timer to track and timeout code execution

    ๐Ÿ”„ Changed

    • Change Paginator to expose #start_index & #end_index
    • ๐Ÿ”„ Change Paginator to figure out #start_index based on per page size and adjust boundaries to match active selection
    • ๐Ÿ”„ Change #ask prompt to allow no question
    • ๐Ÿ”„ Change #enum_select to automatically assigned non-disabled default option
    • ๐Ÿ”„ Change #enum_select to set default choice when navigating by page
    • ๐Ÿ”„ Change #select & #multi_select to allow navigation by page with left/right keys
    • ๐Ÿ”„ Change #keypress to use Timer
    • ๐Ÿ”„ Change Choice#from to allow any object coercible to string
    • ๐Ÿ”„ Change to remove test artifacts from the gem bundle
    • ๐Ÿ”„ Change to remove timers dependency
    • โšก๏ธ Change to update tty-reader dependency
  • v0.18.1 Changes

    December 29, 2018

    ๐Ÿ”„ Changed

    • ๐Ÿ”„ Change #multi_select & #select to auto select first non-disabled active choice

    ๐Ÿ›  Fixed

    • Fix #select, #multi_select & #enum_select to allow for symbols as choice names
  • v0.18.0 Changes

    November 24, 2018

    ๐Ÿ”„ Changed

    • โšก๏ธ Change to update tty-reader dependency
    • โœ‚ Remove encoding magic comments

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix #keypress to stop using the :nonblock option
    • ๐Ÿ›  Fix input reading to correctly capture the Esc key(#84)
    • ๐Ÿ›  Fix line editing when cursor is on second to last character(#94)
  • v0.17.2 Changes

    November 01, 2018

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix #yes? & #no? prompt suffix option to all non-standard characters by Rui(@rpbaltazar)
  • v0.17.1 Changes

    October 03, 2018

    ๐Ÿ”„ Change

    • ๐Ÿ”„ Change #select, #multi_select to allow alphanumeric, punctuation and space characters in filters

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix #select by making filter an array to avoid frozen string issues by Chris Hoffman(@yarmiganosca)