byline v1.1.0.1 Release Notes

Release Date: 2020-10-27 // over 3 years ago

Previous changes from v1.0.0.0

  • ๐Ÿ”จ This version is the result of a major refactoring of the code in order
    to produce an MTL-compatible library.

    ๐Ÿ†• New MTL-style class: MonadByline

    Proper monad transformer: BylineT

    Most of the library is under a single import: Byline

    โž• Added a ToStylizedText class to enable using custom types with
    functions like menu.

    ๐Ÿ†• New Byline.Exit.die function to exit the current process with a
    stylized error message. Thanks to the ToStylizedText class it's
    easy to exit with custom error types.

    The Report type and associated functions were superfluous and
    ๐Ÿšš therefore removed. (Consider using the new die and warn
    functions in Byline.Exit.)

    Menus now use NonEmpty to represent items and therefore the menu
    Choice type has been simplified, removing the NoItems

    ๐Ÿ›  Fixed a bug where Stylized Text was not rendered when using one
    of the ask* functions (#1).

    Proper encoding of escape sequences so Haskeline doesn't
    ๐Ÿ print garbage on Windows.

    โž• Added support for RGB terminals

    โž• Added an implementation of 'MonadByline' that uses simulated user
    โœ… input to test your Byline code.