Skip to content

Releases: ajalt/mordant

2.0.0-beta6

08 May 18:33
Compare
Choose a tag to compare
2.0.0-beta6 Pre-release
Pre-release

Changed

  • Update Kotlin to 1.6.20
  • Publish JS target with the IR format in addition to LEGACY

Fixed

  • Fix race condition when using ProgressAnimation and adding interceptors in JVM (#55)

2.0.0-beta5

27 Feb 21:51
Compare
Choose a tag to compare
2.0.0-beta5 Pre-release
Pre-release

Added

  • Progress bars and other single-line animations are now supported in the IntelliJ console (#49)
  • Added bottomTitle to Panel
  • Terminal.forStdErr for printing to stderr rather than stdout
  • Add macosArm64 target for native M1 macs

Changed

  • Update Kotlin to 1.6.10
  • Breaking change: Renamed Table and Panel's borderStyle property to borderType and borderTextStyle to borderStyle
  • Breaking change: Renamed TerminalInfo's stdinInteractive and stdoutInteractive to inputInteractive and outputInteractive, respectively

2.0.0-beta4

05 Dec 19:29
Compare
Choose a tag to compare
2.0.0-beta4 Pre-release
Pre-release

Added

  • Spinner widget that displays a looping animation
  • EmptyEidget widget that can be used as a placeholder in layouts
  • row{} and column{} widget layouts that create a single row/column of widgets

Fixed

  • Reduced flickering on high frame rate animations

2.0.0-beta3

26 Oct 18:24
Compare
Choose a tag to compare
2.0.0-beta3 Pre-release
Pre-release

Changed

  • Update Kotlin to 1.5.31
  • Update Colormath to 3.0. If you use any colormath colors directly, you may need to update your imports.

Fixed

  • Fixed exception thrown when parsing markdown tables with empty cells
  • Fixed rendering of markdown image reference links and link content

2.0.0-beta2

02 Jun 17:47
Compare
Choose a tag to compare
2.0.0-beta2 Pre-release
Pre-release

Added

  • Published artifacts for macOS

Changed

  • Update Kotlin to 1.5.10
  • All text instances and print functions now default to preformatted whitespace, meaning that spaces and newlines will be preserved. You can explicitly pass Whitespace.NORMAL to restore the previous behavior.

2.0.0-beta1

26 Mar 18:06
Compare
Choose a tag to compare
2.0.0-beta1 Pre-release
Pre-release

Added

  • Table.contentToCsv to render a table's cells to csv format
  • Added support for JavaScript and linux native targets (thanks to @DrewCarlson)
  • Getter properties for standard theme styles

Changed

  • Update Kotlin to 1.4.31
  • Improve terminal capabilities detection

2.0.0-alpha2

02 Feb 22:03
Compare
Choose a tag to compare
2.0.0-alpha2 Pre-release
Pre-release

Added

  • Terminal.progressAnimation builder to create a customizable progress bar animation
  • Improved cursor APIs and added ability to produce cursor ANSI codes as a string
  • Add ability to override detected terminal interactivity separately from the ANSI capabilities (#7)

Changed

  • Rework theming system to simplify customization

2.0.0-alpha1

02 Feb 21:53
Compare
Choose a tag to compare
2.0.0-alpha1 Pre-release
Pre-release

Mordant 2.0 is a rewrite that retains the simple APIs of Mordant 1.0, and adds support for rendering
complex widgets.

Added

  • Added renderable widgets, including tables, panels, and lists
  • Added markdown rendering
  • Added a theme system to customize text styles on an entire terminal instance
  • Added animations that automatically clear the previous frame when redrawing

Changed

  • Improved terminal capability detection
  • ANSI colors and styles can now be applied through the TextColors and TextStyles top-level
    objects, and Terminal.print will downsample th resulting strings based on the detected terminal
    capabilities.

1.2.1

17 Mar 16:41
Compare
Choose a tag to compare
  • Improve support for color detection in IntelliJ and VS Code terminals

1.2.0

19 Aug 21:41
Compare
Choose a tag to compare
  • Add functions for generating ANSI cursor movement
  • Add ability to generate ANSI color code from any colormath color object.
  • Update colormath to 1.2.0