All Versions
32
Latest Version
Avg Release Cycle
65 days
Latest Release
230 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)