mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 10:31:02 -05:00
496 lines
13 KiB
Markdown
496 lines
13 KiB
Markdown
# Change Log
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
|
<!-- next-header -->
|
|
## [Unreleased] - ReleaseDate
|
|
|
|
## [1.11.4] - 2022-08-25
|
|
|
|
### Fixes
|
|
|
|
- Ignore CSS hex numbers starting with decimal values, like #111AAA
|
|
|
|
## [1.11.3] - 2022-08-25
|
|
|
|
### Fixes
|
|
|
|
- Ignore `thead` for CSS
|
|
|
|
## [1.11.2] - 2022-08-23
|
|
|
|
### Fixes
|
|
|
|
- Correct "inappropriate[ly]"
|
|
- Ignore `thead` tag only in HTML
|
|
- Ignore `windo` in vim
|
|
- Narrow scope of ignoring `flate` to the `flate2` identifier
|
|
|
|
## [1.11.1] - 2022-08-16
|
|
|
|
### Fixes
|
|
|
|
- Don't correct `thead` tag
|
|
- Correct `deffer` to either `differ` or `defer`
|
|
- Correct `opauqe` to `opaque`
|
|
|
|
## [1.11.0] - 2022-08-13
|
|
|
|
### Fixes
|
|
|
|
- Added many more corrections
|
|
|
|
## [1.10.3] - 2022-07-22
|
|
|
|
### Fixes
|
|
|
|
- Correct `anonimised`, `anonimized`
|
|
|
|
## [1.10.2] - 2022-06-22
|
|
|
|
### Fixes
|
|
|
|
- *(Github Action)* Don't add annotation for binary files
|
|
|
|
## [1.10.1] - 2022-06-16
|
|
|
|
### Fixes
|
|
|
|
- When stdout is redirected to a file, don't spell check that file
|
|
|
|
## [1.10.0] - 2022-06-16
|
|
|
|
### Features
|
|
|
|
- *(Github Action)* Report typos as annotations
|
|
|
|
### Performance
|
|
|
|
- *(Github Action)* Only check the files changed in a PR
|
|
|
|
## [1.9.0] - 2022-06-15
|
|
|
|
### Fixes
|
|
|
|
- Made overlapping file definitions deterministic (most specific one wins) (#500)
|
|
|
|
## [1.8.1] - 2022-05-16
|
|
|
|
- Extra debug logging
|
|
|
|
## [1.8.0] - 2022-05-10
|
|
|
|
### Fixes
|
|
|
|
- Actually ignore items, like hashes, at the end of input
|
|
- Actually ignore items, like hashes, that have trailing backslashes
|
|
- Better detect short base64's by watching the padding bytes
|
|
|
|
## [1.7.3] - 2022-04-28
|
|
|
|
### Fixes
|
|
|
|
- Fix alignment in reports for numbers, broken in 1.7.2
|
|
- Correct `identitiy`
|
|
|
|
## [1.7.2] - 2022-04-28
|
|
|
|
### Fixes
|
|
|
|
- Fix misalignment in the detailed report with multiwidth characters
|
|
- Fix report to show columns as 1-indexed
|
|
|
|
## [1.7.1] - 2022-04-25
|
|
|
|
### Fixes
|
|
|
|
- Ignore uppercase UUID because Microsoft
|
|
- Correct `unencyrpted`
|
|
- Correct `signign`
|
|
|
|
## [1.7.0] - 2022-04-18
|
|
|
|
### Fixes
|
|
|
|
- Ignore CSS Colors
|
|
|
|
## [1.6.0] - 2022-04-06
|
|
|
|
### Fixes
|
|
|
|
- Treat `go.mod` as go-lang source like we do manifests for other languages
|
|
- Treat `go.sum` as a lock file, ignoring it by default
|
|
|
|
## [1.5.0] - 2022-03-09
|
|
|
|
### Compatibility
|
|
|
|
- File-types in the default config were moved to being built-in
|
|
- Lock files have moved to the same file type, regardless of syntax
|
|
|
|
### Fixes
|
|
|
|
- Don't spell check lock files as the user shouldn't have to manage their config to handle transitive dependency names
|
|
|
|
## [1.4.1] - 2022-02-14
|
|
|
|
#### Fixes
|
|
|
|
- Improve URL detection to avoid spell checking them
|
|
|
|
## [1.4.0] - 2022-02-08
|
|
|
|
#### Fixes
|
|
|
|
- Many new typos added
|
|
|
|
## [1.3.9] - 2022-01-26
|
|
|
|
#### Fixes
|
|
|
|
- Attempt to detect base64 values shorter than 90 characters
|
|
|
|
## [1.3.8] - 2022-01-26
|
|
|
|
#### Fixes
|
|
|
|
- Don't stop parsing on `%`, `\\` when outside of an escape sequence or printf interpolation
|
|
|
|
## [1.3.7] - 2022-01-24
|
|
|
|
#### Fixes
|
|
|
|
- Don't complain when mixing ordinals with markdown
|
|
|
|
## [1.3.6] - 2022-01-24
|
|
|
|
#### Fixes
|
|
|
|
- Don't error on `type` settings in config
|
|
|
|
## [1.3.5] - 2022-01-21
|
|
|
|
## [1.3.4] - 2022-01-12
|
|
|
|
## [1.3.3] - 2021-12-18
|
|
|
|
#### Fixes
|
|
|
|
- Hopefully fix pre-commit hook on cygwin
|
|
|
|
## [1.3.2] - 2021-12-14
|
|
|
|
#### Fixes
|
|
|
|
- Correct "requierment" to "requirement", not "requirements"
|
|
- Correct "descrepancy" to "discrepancy"
|
|
|
|
## [1.3.1] - 2021-11-16
|
|
|
|
## [1.3.0] - 2021-11-15
|
|
|
|
Note: MSRV is now 1.54
|
|
|
|
#### Fixes
|
|
|
|
- Fix multiple escape sequences in a row
|
|
- Large batch of additional corrections
|
|
- Use static CRT for pre-built Windows binaries
|
|
|
|
## [1.2.1] - 2021-11-03
|
|
|
|
## [1.2.0] - 2021-10-23
|
|
|
|
#### Bug Fixes
|
|
|
|
- Remove some overhead
|
|
- Smarter color control
|
|
- Remove some general false positives
|
|
- Remove some Rust-specific false positives
|
|
- Check language packaging with language (due to overlap of dependency names
|
|
- Skip checking lock files since they are machine generated
|
|
- Fix default/override config overlaying
|
|
|
|
## [1.1.9] - 2021-09-14
|
|
|
|
## [1.1.8] - 2021-08-30
|
|
|
|
#### Bug Fixes
|
|
|
|
- Correct `surrouned` to `surround` and now `surrounded`
|
|
|
|
## [1.1.7] - 2021-08-20
|
|
|
|
#### Bug Fixes
|
|
|
|
- Improve hex/hash detection
|
|
|
|
## [1.1.6] - 2021-08-06
|
|
|
|
#### Bug Fixes
|
|
|
|
- Add `instantialed` typo
|
|
|
|
## [1.1.5] - 2021-08-04
|
|
|
|
#### Bug Fixes
|
|
|
|
- Reduce false-positives by not checking file contents of certs
|
|
|
|
## [1.1.4] - 2021-08-02
|
|
|
|
#### Bug Fixes
|
|
|
|
- Don't stop parsing at c-escape but continue on
|
|
|
|
## [1.1.3] - 2021-07-30
|
|
|
|
#### Bug Fixes
|
|
|
|
- Reduce false-positives by ignoring words following possible c-escape sequences or printf patterns.
|
|
|
|
## [1.1.2] - 2021-07-30
|
|
|
|
#### Bug Fixes
|
|
|
|
- `wasn,was` correction causes problems with `wasn't`
|
|
|
|
## [1.1.1] - 2021-07-27
|
|
|
|
#### Bug Fixes
|
|
|
|
- Correct the Linux binary link after switching to musl
|
|
|
|
## [1.1.0] - 2021-07-27
|
|
|
|
#### Features
|
|
|
|
- Add more corrections
|
|
|
|
## [1.0.11] - 2021-06-29
|
|
|
|
#### 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
|
|
|
|
- Remove reliance on compilation for pre-commit
|
|
|
|
## [1.0.9] - 2021-06-15
|
|
|
|
#### Bug Fixes
|
|
|
|
- Fix a crash from hitting a race condition
|
|
|
|
## [1.0.8] - 2021-06-15
|
|
|
|
## [1.0.7] - 2021-06-15
|
|
|
|
#### Features
|
|
|
|
- precommit hook settings
|
|
|
|
## [1.0.6] - 2021-06-07
|
|
|
|
#### Bug Fixes
|
|
|
|
- Fix the prior `typos <file>` fix that broke all other forms
|
|
- Extend the fix to other modes (`--dump-config`, etc)
|
|
|
|
## [1.0.5] - 2021-06-05
|
|
|
|
#### Bug Fixes
|
|
|
|
- Don't error out on `typos <file>`
|
|
- Reduce memory use when compiling for typos-vars
|
|
|
|
## [1.0.4] - 2021-05-31
|
|
|
|
#### Features
|
|
|
|
- Github Action support
|
|
|
|
## [1.0.3] - 2021-05-28
|
|
|
|
#### Bug Fixes
|
|
|
|
- Fix crash when processing stdin (`-`)
|
|
|
|
## [1.0.2] - 2021-05-28
|
|
|
|
#### Bug Fixes
|
|
|
|
- Don't panic when rendering typos on lines with non-ASCII character
|
|
|
|
## [1.0.1] - 2021-05-27
|
|
|
|
#### Bug Fixes
|
|
|
|
- Line numbers were off by `1 + <number of prior typos>`
|
|
|
|
## [1.0.0] - 2021-05-25
|
|
|
|
## [0.4.0] - 2021-05-21
|
|
|
|
#### Bug Fixes
|
|
|
|
- Correctly find config in parent directory
|
|
- Show abbreviated paths
|
|
- Check for word variations when also correcting a word
|
|
- Correct `ther` as not just `there` but also `the` and `their` (based on misspelling in Linux)
|
|
- Don't correct `hardlinked`
|
|
- `refernce` should correct to `reference` and not `references`
|
|
|
|
#### Performance
|
|
|
|
- Bypass variations, when possible
|
|
|
|
#### Features
|
|
|
|
- Log config loading to help debugging
|
|
- `typos`-specific ignores
|
|
|
|
## [0.3.0] - 2021-05-13
|
|
|
|
#### Bug Fixes
|
|
|
|
- Parsing identifiers according to the Unicode XID standard
|
|
- Corrected number detection
|
|
|
|
#### Performance
|
|
|
|
- Hand-rolled parser rather than regex
|
|
- Sped up UTF-8 validation
|
|
- Limited inner-loop asserts to debug builds
|
|
- Allow bypassing unicode cost with a `--no-unicode` flag
|
|
|
|
#### Features
|
|
|
|
- Colored output support
|
|
|
|
## [0.2.0] - 2021-04-14
|
|
|
|
#### Bug Fixes
|
|
|
|
- Improve accuracy of typo column number
|
|
- Moved some reports to stderr
|
|
- Gracefully handle broken pipe
|
|
- Clearly defined exit codes
|
|
|
|
#### Features
|
|
|
|
- Fix support with `--write-changes`
|
|
- Diff support with `--diff`
|
|
- Locale-independent and locale-specific dictionaries
|
|
- Dictionary overrides
|
|
- UTF-16 file support
|
|
- Support for stdin corrections (with `-`)
|
|
- `--dump-config <path>` (with `-`) support
|
|
- Per-file type settings with custom file type support
|
|
|
|
#### Performance
|
|
|
|
- Multi-threading support
|
|
- Faster binary file detection
|
|
- Avoid looking up unknown words or numbers
|
|
- Small string optimizations
|
|
- Re-use config across arguments where possible
|
|
|
|
## 0.1.4 - 2019-11-03
|
|
|
|
|
|
#### Bug Fixes
|
|
|
|
* Ignore numbers as identifiers ([a00831c8](https://github.com/crate-ci/typos/commit/a00831c847b7efd81be520ea9b5d02f70555351f))
|
|
* Improve the organization of --help ([a48a457c](https://github.com/crate-ci/typos/commit/a48a457cc3ca817850118e2a2fb8b20fecdd40b8))
|
|
|
|
#### Features
|
|
|
|
* Dump files, identifiers, and words ([ce365ae1](https://github.com/crate-ci/typos/commit/ce365ae12e12fddfb6fc42a7f1e5ea71834d6051), closes [#41](https://github.com/crate-ci/typos/issues/41))
|
|
* Give control over allowed identifier characters for leading vs rest ([107308a6](https://github.com/crate-ci/typos/commit/107308a655a425eb593bf5e4928572c16e6a9bdd))
|
|
|
|
#### Performance
|
|
|
|
* Use standard identifier rules to avoid doing umber checks ([107308a6](https://github.com/crate-ci/typos/commit/107308a655a425eb593bf5e4928572c16e6a9bdd))
|
|
* Only do hex check if digits are in identifiers ([68cd36d0](https://github.com/crate-ci/typos/commit/68cd36d0de90226dbc9d31c2ce6d8bf6b69adb5c))
|
|
|
|
<!-- next-url -->
|
|
[Unreleased]: https://github.com/crate-ci/typos/compare/v1.11.4...HEAD
|
|
[1.11.4]: https://github.com/crate-ci/typos/compare/v1.11.3...v1.11.4
|
|
[1.11.3]: https://github.com/crate-ci/typos/compare/v1.11.2...v1.11.3
|
|
[1.11.2]: https://github.com/crate-ci/typos/compare/v1.11.1...v1.11.2
|
|
[1.11.1]: https://github.com/crate-ci/typos/compare/v1.11.0...v1.11.1
|
|
[1.11.0]: https://github.com/crate-ci/typos/compare/v1.10.3...v1.11.0
|
|
[1.10.3]: https://github.com/crate-ci/typos/compare/v1.10.2...v1.10.3
|
|
[1.10.2]: https://github.com/crate-ci/typos/compare/v1.10.1...v1.10.2
|
|
[1.10.1]: https://github.com/crate-ci/typos/compare/v1.10.0...v1.10.1
|
|
[1.10.0]: https://github.com/crate-ci/typos/compare/v1.9.0...v1.10.0
|
|
[1.9.0]: https://github.com/crate-ci/typos/compare/v1.8.1...v1.9.0
|
|
[1.8.1]: https://github.com/crate-ci/typos/compare/v1.8.0...v1.8.1
|
|
[1.8.0]: https://github.com/crate-ci/typos/compare/v1.7.3...v1.8.0
|
|
[1.7.3]: https://github.com/crate-ci/typos/compare/v1.7.2...v1.7.3
|
|
[1.7.2]: https://github.com/crate-ci/typos/compare/v1.7.1...v1.7.2
|
|
[1.7.1]: https://github.com/crate-ci/typos/compare/v1.7.0...v1.7.1
|
|
[1.7.0]: https://github.com/crate-ci/typos/compare/v1.6.0...v1.7.0
|
|
[1.6.0]: https://github.com/crate-ci/typos/compare/v1.5.0...v1.6.0
|
|
[1.5.0]: https://github.com/crate-ci/typos/compare/v1.4.1...v1.5.0
|
|
[1.4.1]: https://github.com/crate-ci/typos/compare/v1.4.0...v1.4.1
|
|
[1.4.0]: https://github.com/crate-ci/typos/compare/v1.3.9...v1.4.0
|
|
[1.3.9]: https://github.com/crate-ci/typos/compare/v1.3.8...v1.3.9
|
|
[1.3.8]: https://github.com/crate-ci/typos/compare/v1.3.7...v1.3.8
|
|
[1.3.7]: https://github.com/crate-ci/typos/compare/v1.3.6...v1.3.7
|
|
[1.3.6]: https://github.com/crate-ci/typos/compare/v1.3.5...v1.3.6
|
|
[1.3.5]: https://github.com/crate-ci/typos/compare/v1.3.4...v1.3.5
|
|
[1.3.4]: https://github.com/crate-ci/typos/compare/v1.3.3...v1.3.4
|
|
[1.3.3]: https://github.com/crate-ci/typos/compare/v1.3.2...v1.3.3
|
|
[1.3.2]: https://github.com/crate-ci/typos/compare/v1.3.1...v1.3.2
|
|
[1.3.1]: https://github.com/crate-ci/typos/compare/v1.3.0...v1.3.1
|
|
[1.3.0]: https://github.com/crate-ci/typos/compare/v1.2.1...v1.3.0
|
|
[1.2.1]: https://github.com/crate-ci/typos/compare/v1.2.0...v1.2.1
|
|
[1.2.0]: https://github.com/crate-ci/typos/compare/v1.1.9...v1.2.0
|
|
[1.1.9]: https://github.com/crate-ci/typos/compare/v1.1.8...v1.1.9
|
|
[1.1.8]: https://github.com/crate-ci/typos/compare/v1.1.7...v1.1.8
|
|
[1.1.7]: https://github.com/crate-ci/typos/compare/v1.1.6...v1.1.7
|
|
[1.1.6]: https://github.com/crate-ci/typos/compare/v1.1.5...v1.1.6
|
|
[1.1.5]: https://github.com/crate-ci/typos/compare/v1.1.4...v1.1.5
|
|
[1.1.4]: https://github.com/crate-ci/typos/compare/v1.1.3...v1.1.4
|
|
[1.1.3]: https://github.com/crate-ci/typos/compare/v1.1.2...v1.1.3
|
|
[1.1.2]: https://github.com/crate-ci/typos/compare/v1.1.1...v1.1.2
|
|
[1.1.1]: https://github.com/crate-ci/typos/compare/v1.1.0...v1.1.1
|
|
[1.1.0]: https://github.com/crate-ci/typos/compare/v1.0.11...v1.1.0
|
|
[1.0.11]: https://github.com/crate-ci/typos/compare/v1.0.10...v1.0.11
|
|
[1.0.10]: https://github.com/crate-ci/typos/compare/v1.0.9...v1.0.10
|
|
[1.0.9]: https://github.com/crate-ci/typos/compare/v1.0.8...v1.0.9
|
|
[1.0.8]: https://github.com/crate-ci/typos/compare/v1.0.7...v1.0.8
|
|
[1.0.7]: https://github.com/crate-ci/typos/compare/v1.0.6...v1.0.7
|
|
[1.0.6]: https://github.com/crate-ci/typos/compare/v1.0.5...v1.0.6
|
|
[1.0.5]: https://github.com/crate-ci/typos/compare/v1.0.4...v1.0.5
|
|
[1.0.4]: https://github.com/crate-ci/typos/compare/v1.0.3...v1.0.4
|
|
[1.0.3]: https://github.com/crate-ci/typos/compare/v1.0.2...v1.0.3
|
|
[1.0.2]: https://github.com/crate-ci/typos/compare/v1.0.1...v1.0.2
|
|
[1.0.1]: https://github.com/crate-ci/typos/compare/v1.0.0...v1.0.1
|
|
[1.0.0]: https://github.com/crate-ci/typos/compare/v0.4.0...v1.0.0
|
|
[0.4.0]: https://github.com/crate-ci/typos/compare/v0.3.0...v0.4.0
|
|
[0.3.0]: https://github.com/crate-ci/typos/compare/v0.2.0...v0.3.0
|
|
[0.2.0]: https://github.com/crate-ci/typos/compare/v0.1.4...v0.2.0
|