CHANGELOG.md

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.10.1](https://codeberg.org/ahappydeath/prompt/releases/tag/v0.10.1) - 2025-01-31
### Updated
  - Moved Repo to Codeberg from Sourcehut
  - Dependencies including
    - nimble_options (1.1.1)

### Added
  - Generated command `--complete` that will build a simple zsh completion script

## [0.10.0]
### Updated
  - Forward all params to fallback command instead of failing when unable to match a command.

## [0.9.4]
### Updated
  - Documentation for building binary releases
  - Livebook Example

## [0.9.3]
### Added
  - Allow for border-less tables

## [0.9.2] - 2023-07-31
### Added
  - a `short` option for arguments

## [0.9.1] - 2023-07-17
### Fixed
  - Properly handle the charlist return from `IO.read/2`

## [0.9.0] - 2023-07-17
### Changed
  - when a command is passed in that is not recognized, print help to the screen

## [0.8.1] - 2022-12-13
### Added
  - Better support for halting the runtime when a command is finished
    - a new callback `handle_exit_value/1` that is overrideable and called after each command is done.

## [0.8.0] - 2022-06-27
### Added 
  - Prompt.Router to simplify creating commands
    - introduces the `command` and `arg` macros

## [0.7.4] - 2022-06-06
### Added
  - min and max validations for text entry

## [0.6.3] - 2021-11-28
### Added
  - use NimbleOptions to validate options
  - background_color as an option for displaying text

### Changed
  - modified the way to pass in text color
    * takes an atom now instead of an `IO.ANSI`color function
  - refactored `select/2` into it's own module
  - refactored `choice/2` into it's own module
  - refactored `confirm/2` into it's own module
  - refactored `text/2` into it's own module


## [0.6.2] - 2021-10-25
### Documentation
  - Added Livebook example as extra pages in hexdoc
  - Organized `Prompt` functions as Input / Output
  - Nested Modules for better readability
  - Updated ex_docs
  - Added GPL License file

## [0.6.1] - 2021-10-21
### Added
  - Many more tests
  - Livebook notebook with an example
  -

## [0.6.0] - 2021-10-17
### Added
  - a `help/0` callback and the ability to override

### Changed
  - Instead of taking a list of tuples for commands (`[{"command", Module"}]`), now take a Keyword list (`[command: Module]`)

[0.8.1]: https://github.com/silbermm/prompt/releases/tag/v0.8.1
[0.8.0]: https://github.com/silbermm/prompt/releases/tag/v0.8.0
[0.7.4]: https://github.com/silbermm/prompt/releases/tag/v0.7.4
[0.6.3]: https://github.com/silbermm/prompt/releases/tag/v0.6.3
[0.6.2]: https://github.com/silbermm/prompt/releases/tag/v0.6.2
[0.6.1]: https://github.com/silbermm/prompt/releases/tag/v0.6.1
[0.6.0]: https://github.com/silbermm/prompt/releases/tag/v0.6.0