Skip to content

Commit

Permalink
docs(parser): Note new features
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Jun 29, 2021
1 parent c83f655 commit 9a0d754
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
<!-- next-header -->
## [Unreleased] - ReleaseDate

#### Change of Behavior

- `ignore-hex` and `identifier-leading-digit` are deprecated and `typos` acts as
if `ignore-hex=true` and `identifier-leading-digit=false`.

#### Features

- Automatically ignore
- UUIDs
- SHAs
- base64 encoded data (must be at least 90 bytes)
- emails
- URLs

#### Performance

- Due to new literal detection, finding identifiers is takes 10x longer.
Combined with word splitting, its only takes 3x longer. The majority of the
time is spent in dictionary lookups, so we don't expect this to have too much impact in the end.

## [1.0.10] - 2021-06-28

#### Bug Fixes
Expand Down
5 changes: 5 additions & 0 deletions docs/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
| Per-Lang Dict | Yes | ? | No | Yes |
| CamelCase | Yes | ? | No | Yes |
| snake_case | Yes | ? | No | Yes |
| Ignore email | Yes | yes | No | No |
| Ignore url | Yes | yes | No | No |
| Ignore Hex | Yes | ? | No | Yes |
| Ignore UUID | Yes | ? | No | No |
| Ignore base64 | Yes | ? | No | No |
| Ignore SHAs | Yes | ? | No | No |
| C-Escapes | No ([#20][def-3]) | ? | No | Yes |
| Encodings | UTF-8 / UTF-16 | ? | Auto | Auto |
| Whole-project | Yes | Yes | Yes | No |
Expand Down

0 comments on commit 9a0d754

Please sign in to comment.