Skip to content

Commit b5ab32f

Browse files
committed
v3.0.0
docs
1 parent 514cfce commit b5ab32f

File tree

3 files changed

+32
-13
lines changed

3 files changed

+32
-13
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## v3.0.0
4+
5+
- Remove Python 3.6 support
6+
- Convert to default ANSI escape code colored diff output in terminal environments only (this is a change in behavior from previous default that required `-c` / `--color` option to toggle colored output on)
7+
- Add new `--nocolor` option to disable colored diff output in terminals
8+
- Maintain `-c` / `--color` option to toggle ANSI escape code colored diff output on in non-terminal environments and avoid breakage in existing workflows
9+
- Modify user notice on no OpenTable diff from "There is no difference between the files" to "There is no difference in the tested OpenType tables"
10+
- Stabilize external executable diffs with the `--external` option
11+
- Add Python 3.10 testing, drop Python 3.6 testing
12+
- Bump aiofiles dependency to v0.7.0
13+
- Bump cffi dependency to v1.15.0
14+
- Bump fonttools dependency to v4.27.1
15+
- Bump idna dependency to v3.3
16+
- Bump multidict dependency to v5.2.0
17+
- Bump pycares dependency to v4.1.2
18+
- Bump pygments dependency to v2.10.0
19+
- Bump rich dependency to 10.12.0
20+
- Bump typing-extensions dependency to v3.10.0.2
21+
- Bump yarl dependency to v1.7.0
22+
323
## v2.2.0
424

525
- Add indeterminate progress indicators during processing

README.md

+11-12
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Looking for a high-level overview of OpenType table differences rather than low-
3030

3131
## Optional Features
3232

33-
- View colored diffs in the terminal with the `-c` or `--color` flag
3433
- Filter OpenType tables with the `--include` or `--exclude` options
3534
- Modify the number of context lines displayed in the diff with the `-l` or `--lines` option
3635
- Display the first n lines of the diff output with the `--head` option
@@ -106,16 +105,6 @@ $ fdiff [OPTIONS] [PRE-FONT FILE URL] [POST-FONT FILE FILE PATH]
106105

107106
### Options
108107

109-
#### Color diffs
110-
111-
Uncolored diffs are performed by default.
112-
113-
To view a colored diff in your terminal, include either the `-c` or `--color` option in your command:
114-
115-
```
116-
$ fdiff --color [PRE-FONT FILE PATH] [POST-FONT FILE PATH]
117-
```
118-
119108
#### Filter OpenType tables
120109

121110
To include only specified tables in your diff, use the `--include` option with a comma-separated list of table names:
@@ -156,7 +145,7 @@ Use the `--tail` option followed by an integer for the number of lines at the en
156145
$ fdiff --tail 20 [PRE-FONT FILE PATH] [POST-FONT FILE PATH]
157146
```
158147

159-
#### Use an external diff tool <img src="https://img.shields.io/badge/beta-feature-orange" />
148+
#### Use an external diff tool
160149

161150
**Please Note**: This feature has not been tested across all supported platforms. Please report any issues that you come across on the project issue tracker.
162151

@@ -170,6 +159,16 @@ $ fdiff --external="diff -u" [PRE-FONT FILE PATH] [POST-FONT FILE PATH]
170159

171160
fdiff supports built-in color formatting and OpenType table filtering when used with external diff tools. The context line, head, and tail options are not supported with the use of external diff tools.
172161

162+
#### Disable color diffs
163+
164+
ANSI escape code colored diffs are performed by default in terminal environments.
165+
166+
To view a diff without ANSI escape codes in your terminal, include the `--nocolor` option in your command:
167+
168+
```
169+
$ fdiff --nocolor [PRE-FONT FILE PATH] [POST-FONT FILE PATH]
170+
```
171+
173172

174173
### Other Options
175174

lib/fdiff/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env python3
22

3-
version = __version__ = "2.2.1-dev0"
3+
version = __version__ = "3.0.0"

0 commit comments

Comments
 (0)