| 1 | # Unreleased |
| 2 | - Added methods `ansi_color` and `on_ansi_color` to `Colorize`. |
| 3 | |
| 4 | # 3.0.0 |
| 5 | - **[BREAKING CHANGE]:** Upgrade MSRV to 1.80 and remove the then unnecessary lazy_static dependency. |
| 6 | |
| 7 | # 2.2.0 |
| 8 | - Updated top-level docs to include a note about `ColoredString`\'s role in the `Colorize` pipeline as well as link to it to suggest learning more about how to manipulate existing `ColoredString`\'s. |
| 9 | - Changes to `ColoredString`: |
| 10 | - Expose fields. |
| 11 | - **[DEPRECATION]:** Deprecated methods `fgcolor`, `bgcolor`, and `style` due to their obsolescence in the face of the exposing of their represented fields. |
| 12 | - Add methods for clearing specific elements of `fgcolor`, `bgcolor`, and `style`. |
| 13 | - Change Default implementation to be via derive as Style now implements Default (see changes to Style below). |
| 14 | - Add implementation of `DerefMut`. |
| 15 | - Updated docs to reflect the above changes as well as generally greatly expand them. |
| 16 | - Changes to `Style`: |
| 17 | - Implemented `Default` for `Style` (returns `CLEAR`). This exposes a method by which users can create plain `Style`\'s from scratch. |
| 18 | - Implemented `From<Styles>` for `Style`. This lets users easily create `Style`\'s from specific styles. |
| 19 | - Exposed previously private method `add`. |
| 20 | - Created method `remove` which essentially does the opposite. |
| 21 | - Added builder-style methods in the vein of `Colorize` to add stylings (e.g. `bold`, `underline`, `italic`, `strikethrough`). |
| 22 | - Implemented bitwise operators `BitAnd`, `BitOr`, `BitXor`, and `Not` as well as their representative assignment operators. You can also use a `Styles` as an operand for these. |
| 23 | - Implemented `FromIterator<Styles>` for Style. |
| 24 | - Changes to `Styles`: |
| 25 | - Implemented bitwise operators `BitAnd`, `BitOr`, `BitXor`, and `Not` which all combine `Styles`\'s and output `Style`\'s. These can also take a `Style` as an operand. |
| 26 | - Added additional testing for all of the above changes. |
| 27 | - Added methods `with_style` and `with_color_and_style` to `Colorize`. |
| 28 | |
| 29 | # 2.1.0 |
| 30 | * Impl From<String> for ColoredString by @mahor1221 in https://github.com/colored-rs/colored/pull/126 |
| 31 | * Allow conversion from ColoredString to Error by @spenserblack in https://github.com/colored-rs/colored/pull/86 |
| 32 | * Suggestion for minor documentation clarification by @jonasbn in https://github.com/colored-rs/colored/pull/98 |
| 33 | * Remove unnecessary is_terminal dependency by @Oakchris1955 in https://github.com/colored-rs/colored/pull/149 |
| 34 | - Document crate MSRV of `1.70`. |
| 35 | |
| 36 | # 2.0.4 |
| 37 | - Switch from `winapi` to `windows-sys`. |
| 38 | |
| 39 | # 2.0.3 |
| 40 | - Document crate MSRV of `1.63`. |
| 41 | |
| 42 | # 2.0.2 |
| 43 | - Fix typo in `src/control.rs`. |
| 44 | - Replace `atty` dependency with `is-terminal`. |
| 45 | |
| 46 | # 2.0.1 (July 3, 2023) |
| 47 | - Add edition for future compatibility. |
| 48 | - Implement custom colors that can be stored in a variable. |
| 49 | |
| 50 | # 2.0.0 (July 14, 2020) |
| 51 | - Add support for true colours. |
| 52 | - Alter `Color` interface to return `Cow<'static, str>` |
| 53 | |
| 54 | # 1.9.3 (February 24, 2020) |
| 55 | - Fix compilation regression for 1.34.0. Thanks @jlevon for reporting. |
| 56 | |
| 57 | # 1.9.2 (January 11, 2020) |
| 58 | - Exposed `ColoredString` data through methods for purposes of interrogating the applied colours. |
| 59 | - Increased documentation. |
| 60 | |
| 61 | # 1.9.1 (December 31, 2019) |
| 62 | |
| 63 | - Remove deprecated `try!` macro in codebase |
| 64 | - Reduce allocations in `ColoredString` impl (PR#65) |
| 65 | - Added `"purple"` as match in `impl FromStr for Color` (PR#71) |
| 66 | |
| 67 | # 1.9.0 (November 11, 2019) |
| 68 | |
| 69 | - **[POSSIBLE_BREAKING CHANGE]:** Replace `winconsole` with `winapi`: |
| 70 | - Changes `set_virtual_terminal` function signature. |
| 71 | - Update dependencies |
| 72 | - Add Dockerfile |
| 73 | - Respect tty discovery for CLICOLOR |
| 74 | |
| 75 | # 1.8.0 (April 30, 2019) |
| 76 | |
| 77 | - FEAT: support Windows 10 colors |
| 78 | |
| 79 | # 1.7.0 (January, 2019) |
| 80 | - TECH: update lazy\_static |
| 81 | - FEAT: introduce respect for the `NO_COLOR` environment variable |
| 82 | |
| 83 | # 1.6.1 (July 9, 2018) |
| 84 | - TECH: update lazy\_static |
| 85 | - CHORE: fix typos in README and documentation |
| 86 | |
| 87 | # 1.6.0 (October 31, 2017) |
| 88 | - FEAT: introduced bright colors. `"hello".bright_blue().on_bright_red();` |
| 89 | - FEAT: introduced strikethrough styling. `"hello".strikethrough();` |
| 90 | |
| 91 | # 1.5.3 (September 28, 2017) |
| 92 | |
| 93 | - FEAT: derive Copy and Clone for `Color` |
| 94 | - FEAT: derive Clone for `ColoredString` |
| 95 | |
| 96 | # 1.5.2 (July 6, 2017) |
| 97 | |
| 98 | - FIX: method `Colorize::reversed` has been added. `Colorize::reverse` was a typo, that we will keep |
| 99 | for compatibility |
| 100 | |
| 101 | # 1.5.1 (May 9, 2017) |
| 102 | |
| 103 | - Update lazy\_static to 0.2. |
| 104 | |
| 105 | # 1.5.0 (May 1, 2017) |
| 106 | |
| 107 | - FEAT: support for `"hello".color("blue")` (dynamic colors) |
| 108 | |
| 109 | # 1.3.2 (Nov 26, 2016) |
| 110 | |
| 111 | - FIX: usage of nested ColoredString again, no more style broken mid-line |
| 112 | |
| 113 | # 1.3.1 (Oct 14, 2016) |
| 114 | |
| 115 | - FIX: usage of ColoredString in a nested way broke the styling mid-line |
| 116 | |
| 117 | # 1.3.0 (Jul 31, 2016) |
| 118 | |
| 119 | - Provide various options for disabling the coloring in an API-compatible way |
| 120 | |
| 121 | # 1.2.0 (Mar 30, 2016) |
| 122 | |
| 123 | - Support the different formatting options, like padding and alignment |
| 124 | |
| 125 | # 1.1.0 (Mar 15, 2016) |
| 126 | |
| 127 | - Respect the CLICOLOR/CLICOLOR\_FORCE behavior. See [this specs](http://bixense.com/clicolors/) |
| 128 | |
| 129 | # 1.0.1 (Mar 14, 2016) |
| 130 | |
| 131 | - Add a CHANGLOG |
| 132 | - Fix crate dependencies: move `ansi_term` in dev\_dependencies |
| 133 | |
| 134 | # 1.0.0 (Mar 13, 2016) |
| 135 | |
| 136 | - Initial release |