1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
|
# Changelog
## Version 2.9.0
(released on 2026-01-26)
- Add optional `convert_to_undecoded_string` preprocessor.
## Version 2.8.2
(released on 2026-01-26)
- Revert: don't attempt to UTF-8-decode binary values.
## Version 2.8.1
(released on 2026-01-24)
- Don't attempt to UTF-8-decode binary values.
## Version 2.8.0
(released on 2026-01-24)
- Pass `colalign` argument through to `tabulate`.
## Version 2.7.0
(released on 2025-07-28)
- Add `mysql` and `mysql_unicode` output formats which right-align numbers.
## Version 2.6.0
(released on 2025-07-12)
- Register the JSON formats so they are actually usable.
- Make JSON formats able to encode Decimals and None/NULLs.
## Version 2.5.0
(released on 2025-07-10)
- Added noheader CSV and TSV output formats.
- Added `jsonl` and `jsonl_escaped` output formats.
## Version 2.4.0
(released on 2025-03-10)
- Added format_timestamps preprocessor for per-column date/time formatting.
## Version 2.3.1
- Don't escape newlines in `ascii` tables, and add `ascii_escaped` table format.
- Updated tabulate version to latest, to fix ImportError in pgcli.
## Version 2.2.1
(released on 2022-01-17)
- Fix pygments tokens passed as strings
## Version 2.2.0
(released on 2021-08-27)
- Remove dependency on terminaltables
- Add psql_unicode table format
- Add minimal table format
- Fix pip2 installing py3-only versions
- Format unprintable bytes (eg 0x00, 0x01) as hex
## Version 2.1.0
(released on 2020-07-29)
- Speed up output styling of tables.
## Version 2.0.1
(released on 2020-05-27)
- Fix newline escaping in plain-text formatters (ascii, double, github)
- Use built-in unittest.mock instead of mock.
## Version 2.0.0
(released on 2020-05-26)
- Remove Python 2.7 and 3.5.
- Style config for missing value.
## Version 1.2.1
(released on 2019-06-09)
- Pin Pygments to >= 2.4.0 for tests.
- Remove Python 3.4 from tests and Trove classifier.
- Add an option to skip truncating multi-line strings.
- When truncating long strings, add ellipsis.
## Version 1.2.0
(released on 2019-04-05)
- Fix issue with writing non-ASCII characters to config files.
- Run tests on Python 3.7.
- Use twine check during packaging tests.
- Rename old tsv format to csv-tab (because it add quotes), introduce new tsv output adapter.
- Truncate long fields for tabular display.
- Return the supported table formats as unicode.
- Override tab with 4 spaces for terminal tables.
## Version 1.1.0
(released on 2018-10-18)
- Adds config file reading/writing.
- Style formatted tables with Pygments (optional).
## Version 1.0.2
(released on 2018-04-07)
- Copy unit test from pgcli
- Use safe float for unit test
- Move strip_ansi from tests.utils to cli_helpers.utils
## Version 1.0.1
(released on 2017-11-27)
- Output all unicode for terminaltables, add unit test.
## Version 1.0.0
(released on 2017-10-11)
- Output as generator
- Use backports.csv only for py2
- Require tabulate as a dependency instead of using vendored module.
- Drop support for Python 3.3.
## Version 0.2.3
(released on 2017-08-01)
- Fix unicode error on Python 2 with newlines in output row.
- Fixes to accept iterator.
## Version 0.2.2
(released on 2017-07-16)
- Fix IndexError from being raised with uneven rows.
## Version 0.2.1
(released on 2017-07-11)
- Run tests on macOS via Travis.
- Fix unicode issues on Python 2 (csv and styling output).
## Version 0.2.0
(released on 2017-06-23)
- Make vertical table separator more customizable.
- Add format numbers preprocessor.
- Add test coverage reports.
- Add ability to pass additional preprocessors when formatting output.
- Don't install tests.tabular_output.
- Add .gitignore
- Coverage for tox tests.
- Style formatted output with Pygments (optional).
- Fix issue where tabulate can't handle ANSI escape codes in default values.
- Run tests on Windows via Appveyor.
## Version 0.1.0
(released on 2017-05-01)
- Pretty print tabular data using a variety of formatting libraries.
|