# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] ### Changed - Update pulldown-cmark to 0.5 which supports CommonMark 0.29 and improves parser speed and correctness. - Enable SIMD in pulldown-cmark to squeeze out the last bit of performance. [GH-84]: https://github.com/lunaryorn/mdcat/issues/84 ## [0.13.0] – 2019-03-30 ### Added - Render task lists nicely (see [GH-72]). - Render strike-through text (see [GH-71]). Some terminals do not support this feature, and mdcat does not have a fallback currently (see [GH-73]). [GH-73]: https://github.com/lunaryorn/mdcat/issues/73 [GH-72]: https://github.com/lunaryorn/mdcat/issues/72 [GH-71]: https://github.com/lunaryorn/mdcat/issues/71 ## [0.12.1] – 2018-12-24 ### Fixed - Do not add newline after inline text with styles disabled (see [GH-49]). [GH-49]: https://github.com/lunaryorn/mdcat/issues/49 ## [0.12.0] – 2018-12-20 ### Added - Add `TerminalCapability` struct as replacement for `mdcat::Terminal` trait to remove dynamic dispatch and allow for more accurate and less complicated conditional compilation of terminal support for different platforms (see [GH-45]). - Move to Rust 2018, and raise minimum supported Rust version to 1.31 (see [GH-46]). ### Changed - Drop support for Rust 1.29 and older. - Do not test specific Rust on versions on Travis CI any longer; Rust stable becomes the lowest supported Rust version. ### Removed - `mdcat::Terminal` trait and implementations (see [GH-45]). ### Fixed - Set hostname to local hostname for inline links to `file://` URLs, which should properly resolve `file://` URLs over SSH (see [OSC 8 file URLs], [GH-42] and [GH-44]). [OSC 8 file URLs]: https://git.io/vd4ee#file-uris-and-the-hostname [GH-42]: https://github.com/lunaryorn/mdcat/pull/42 [GH-44]: https://github.com/lunaryorn/mdcat/pull/44 [GH-45]: https://github.com/lunaryorn/mdcat/pull/45 [GH-46]: https://github.com/lunaryorn/mdcat/issues/46 ## [0.11.0] – 2018-10-25 ### Changed - Always print colours regardless of whether stdout if a tty or not. - Replace `--colour` option with a `--no-colour` flag to turn off styled output. - `mdcat::push_tty` no longer takes ownership of the `terminal` argument (see [GH-41]). - Travis CI builds Windows binaries now. - Test formatting output. [GH-41]: https://github.com/lunaryorn/mdcat/issues/41 ## [0.10.1] – 2018-09-09 ### Fixed - Properly package musl binary on Travis CI; restores Linux binary in releases. ## [0.10.0] – 2018-09-09 ### Added - Support colours on Windows 10 console (see [GH-36]). - Support musl target on Linux (see [GH-37] and [GH-38]). - Published Linux binary statically links musl now, and has no runtime dependencies (see [GH-29] and [GH-38]). [GH-29]: https://github.com/lunaryorn/mdcat/issues/29 [GH-36]: https://github.com/lunaryorn/mdcat/pull/36 [GH-37]: https://github.com/lunaryorn/mdcat/issues/37 [GH-38]: https://github.com/lunaryorn/mdcat/pull/38 ## [0.9.2] – 2018-08-26 ### Fixed - Do not falsely ignore deployments from Travis CI for Linux and macOS. ## [0.9.1] – 2018-08-26 ### Added - Publish binaries for Linux, macOS and Windows (see [GH-28]). ### Fixed - Correctly build macOS and Linux binaries on Travis CI. [GH-28]: https://github.com/lunaryorn/mdcat/issues/28 ## [0.9.0] – 2018-08-26 ### Added - `mdcat` builds on Windows now (see [GH-33] and [GH-34]). ### Changed - Refactor internal terminal representation, replacing the terminal enum with a new `Terminal` trait and dynamic dispatch (see [GH-35]). - Allow to disable specific terminal backends (see [GH-35]). - Update minimum Rust version to 1.27. [GH-33]: https://github.com/lunaryorn/mdcat/pull/33 [GH-34]: https://github.com/lunaryorn/mdcat/pull/34 [GH-35]: https://github.com/lunaryorn/mdcat/pull/35 ## [0.8.0] – 2018-02-15 ### Added - Render SVG images in iTerm2 with `rsvg-convert` (requires `librsvg`). - Expose `TerminalWrite` in `mdcat` crate (see [GH-20]). [GH-20]: https://github.com/lunaryorn/mdcat/pull/20 ## [0.7.0] – 2018-02-08 ### Added - Show images from HTTP and HTTPS URLs inline in iTerm2. - Add `--local` flag to render only local images inline; for remote images, eg, HTTP URLs, show only the image title and the URL. - Expose `mdcat` as a library crate (see [GH-18]), but with no guarantees about a stable interface, as `mdcat` stays at version 0.x for now. - Show `--help` with colours. ### Changed - Adhere to Semantic Versioning, but stay pre-1.0 so anything still goes. [GH-18]: https://github.com/lunaryorn/mdcat/issues/18 ## [0.6.0] – 2018-02-02 ### Added - Show inline images in [Terminology] (see [GH-16). [Terminology]: http://terminolo.gy [GH-16]: https://github.com/lunaryorn/mdcat/pull/16 ### Changed - Improve `--help` output: Hide some redundant options, add a bug reporting URL and explain the purpose of `mdcat`. - Reduce dependencies and thus build time ## [0.5.0] – 2018-01-27 ### Added - Show links inline in iTerm2 and terminals based on VTE 0.50 or newer (see [GH-8], [GH-14] and [GH-15]). [GH-8]: https://github.com/lunaryorn/mdcat/issues/8 [GH-14]: https://github.com/lunaryorn/mdcat/issues/14 [GH-15]: https://github.com/lunaryorn/mdcat/issues/15 ### Changed - Improve `--help` output. ### Fixed - Remove redundant default value from `--colour` help text (see [GH-10]). - Replace light black with green; the former doesn't work with Solarized Dark. [GH-10]: https://github.com/lunaryorn/mdcat/pull/10 ## [0.4.0] – 2018-01-21 ### Changed - Use 8-bit ANSI colours for syntax highlighting to fit all kinds of terminal colour themes. ### Fixed - Remove excess space at the end of code blocks ### Removed - Remove `--light` switch which became redundant due to better syntax highlighting. ## [0.3.0] – 2018-01-19 ### Added - Print image links - Show images inline on iTerm. ### Changed - Rename to `mdcat`; I have no plans to add paging to this tool. ## [0.2.0] – 2018-01-16 ### Added - Highlight code blocks with Solarized color theme (light or dark). - Naively show inline and block HTML. - Set iTerm marks for headings. - Auto-detect whether mdless can use iTerm2 marks. - Add `--colour` flag to enable or disable coloured output. ## [0.1.1] – 2018-01-14 ### Fixed - Fix Travis CI badge on crates.io. - Fix license layout in README. ## [0.1.0] – 2018-01-14 ### Added - Support inline formatting. - Support headings. - Support code blocks and block quotes. - Support ordered and unordered lists, with nest. - Show links, with references grouped by section. [0.1.0]: https://github.com/lunaryorn/mdcat/compare/mdless-0.1.0 [0.1.1]: https://github.com/lunaryorn/mdcat/compare/mdless-0.1.0...mdless-0.1.1 [0.2.0]: https://github.com/lunaryorn/mdcat/compare/mdless-0.1.1...mdless-0.2.0 [0.3.0]: https://github.com/lunaryorn/mdcat/compare/mdless-0.2.0...mdcat-0.3.0 [0.4.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.3.0...mdcat-0.4.0 [0.5.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.4.0...mdcat-0.5.0 [0.6.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.5.0...mdcat-0.6.0 [0.7.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.6.0...mdcat-0.7.0 [0.8.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.7.0...mdcat-0.8.0 [0.9.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.8.0...mdcat-0.9.0 [0.9.1]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.9.0...mdcat-0.9.1 [0.9.2]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.9.1...mdcat-0.9.2 [0.10.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.9.2...mdcat-0.10.0 [0.10.1]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.10.0...mdcat-0.10.1 [0.11.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.10.1...mdcat-0.11.0 [0.12.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.11.0...mdcat-0.12.0 [0.12.1]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.12.0...mdcat-0.12.1 [0.13.0]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.12.1...mdcat-0.13.0 [Unreleased]: https://github.com/lunaryorn/mdcat/compare/mdcat-0.13.0...HEAD