2021-02-04 22:46:50 -05:00
# 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
2022-04-06 13:52:38 -04:00
### 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
2022-03-09 10:00:30 -05:00
## [1.5.0] - 2022-03-09
2022-03-09 09:58:56 -05:00
### 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
2022-02-14 10:05:09 -05:00
## [1.4.1] - 2022-02-14
2022-02-14 10:04:46 -05:00
#### Fixes
- Improve URL detection to avoid spell checking them
2022-02-08 08:12:19 -05:00
## [1.4.0] - 2022-02-08
2022-02-08 08:12:09 -05:00
#### Fixes
- Many new typos added
2022-01-26 15:32:31 -05:00
## [1.3.9] - 2022-01-26
2022-01-26 15:32:05 -05:00
#### Fixes
- Attempt to detect base64 values shorter than 90 characters
2022-01-26 11:01:15 -05:00
## [1.3.8] - 2022-01-26
2022-01-26 10:59:28 -05:00
#### Fixes
- Don't stop parsing on `%` , `\\` when outside of an escape sequence or printf interpolation
2022-01-24 21:35:08 -05:00
## [1.3.7] - 2022-01-24
2022-01-24 21:34:32 -05:00
#### Fixes
- Don't complain when mixing ordinals with markdown
2022-01-24 13:30:42 -05:00
## [1.3.6] - 2022-01-24
2022-01-24 13:30:29 -05:00
#### Fixes
- Don't error on `type` settings in config
2022-01-21 11:39:27 -05:00
## [1.3.5] - 2022-01-21
2022-01-12 12:16:44 -05:00
## [1.3.4] - 2022-01-12
2021-12-18 18:52:11 -05:00
## [1.3.3] - 2021-12-18
2021-12-18 18:50:46 -05:00
#### Fixes
- Hopefully fix pre-commit hook on cygwin
2021-12-14 13:58:03 -05:00
## [1.3.2] - 2021-12-14
2021-12-14 13:56:56 -05:00
#### Fixes
- Correct "requierment" to "requirement", not "requirements"
- Correct "descrepancy" to "discrepancy"
2021-11-16 08:49:32 -05:00
## [1.3.1] - 2021-11-16
2021-11-15 09:37:02 -05:00
## [1.3.0] - 2021-11-15
2021-11-15 09:20:41 -05:00
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
2021-11-03 12:48:12 -04:00
## [1.2.1] - 2021-11-03
2021-10-23 10:44:22 -04:00
## [1.2.0] - 2021-10-23
2021-10-23 10:44:15 -04:00
#### 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
2021-09-14 11:03:34 -04:00
## [1.1.9] - 2021-09-14
2021-08-30 10:16:40 -04:00
## [1.1.8] - 2021-08-30
2021-08-30 10:15:49 -04:00
#### Bug Fixes
- Correct `surrouned` to `surround` and now `surrounded`
2021-08-20 13:16:11 -04:00
## [1.1.7] - 2021-08-20
2021-08-20 13:13:32 -04:00
#### Bug Fixes
- Improve hex/hash detection
2021-08-06 10:03:52 -04:00
## [1.1.6] - 2021-08-06
2021-08-06 10:02:55 -04:00
#### Bug Fixes
- Add `instantialed` typo
2021-08-04 09:47:54 -04:00
## [1.1.5] - 2021-08-04
2021-08-04 09:46:22 -04:00
#### Bug Fixes
- Reduce false-positives by not checking file contents of certs
2021-08-02 10:58:00 -04:00
## [1.1.4] - 2021-08-02
2021-08-02 10:11:54 -04:00
#### Bug Fixes
- Don't stop parsing at c-escape but continue on
2021-07-30 13:14:20 -04:00
## [1.1.3] - 2021-07-30
2021-07-30 12:30:05 -04:00
#### Bug Fixes
- Reduce false-positives by ignoring words following possible c-escape sequences or printf patterns.
2021-07-30 12:10:12 -04:00
## [1.1.2] - 2021-07-30
2021-07-30 11:42:52 -04:00
#### Bug Fixes
- `wasn,was` correction causes problems with `wasn't`
2021-07-27 16:43:50 -04:00
## [1.1.1] - 2021-07-27
2021-07-27 16:43:38 -04:00
#### Bug Fixes
- Correct the Linux binary link after switching to musl
2021-07-27 16:33:16 -04:00
## [1.1.0] - 2021-07-27
2021-07-27 16:26:14 -04:00
#### Features
- Add more corrections
2021-06-29 16:34:25 -04:00
## [1.0.11] - 2021-06-29
2021-06-29 15:43:05 -04:00
#### 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.
2021-06-28 15:56:13 -04:00
## [1.0.10] - 2021-06-28
2021-06-28 15:53:43 -04:00
#### Bug Fixes
- Remove reliance on compilation for pre-commit
2021-06-15 18:32:26 -04:00
## [1.0.9] - 2021-06-15
2021-06-15 17:50:09 -04:00
#### Bug Fixes
- Fix a crash from hitting a race condition
2021-06-15 11:53:20 -04:00
## [1.0.8] - 2021-06-15
2021-06-15 11:51:04 -04:00
## [1.0.7] - 2021-06-15
2021-06-15 11:49:40 -04:00
#### Features
- precommit hook settings
2021-06-07 09:04:04 -04:00
## [1.0.6] - 2021-06-07
2021-06-07 07:28:53 -04:00
#### Bug Fixes
- Fix the prior `typos <file>` fix that broke all other forms
- Extend the fix to other modes (`--dump-config`, etc)
2021-06-05 15:37:25 -04:00
## [1.0.5] - 2021-06-05
2021-06-05 15:36:30 -04:00
#### Bug Fixes
- Don't error out on `typos <file>`
- Reduce memory use when compiling for typos-vars
2021-05-31 22:31:29 -04:00
## [1.0.4] - 2021-05-31
2021-05-31 20:51:34 -04:00
#### Features
- Github Action support
2021-05-28 20:35:00 -04:00
## [1.0.3] - 2021-05-28
2021-05-28 20:02:01 -04:00
#### Bug Fixes
- Fix crash when processing stdin (`-`)
2021-05-28 09:34:11 -04:00
## [1.0.2] - 2021-05-28
2021-05-27 14:10:42 -04:00
#### Bug Fixes
- Don't panic when rendering typos on lines with non-ASCII character
2021-05-27 14:56:37 -04:00
## [1.0.1] - 2021-05-27
2021-05-27 14:22:12 -04:00
#### Bug Fixes
- Line numbers were off by `1 + <number of prior typos>`
2021-05-25 22:02:40 -04:00
## [1.0.0] - 2021-05-25
2021-05-21 21:41:02 -04:00
## [0.4.0] - 2021-05-21
2021-05-21 19:29:17 -04:00
#### 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
2021-05-13 10:58:09 -04:00
## [0.3.0] - 2021-05-13
2021-05-13 08:02:48 -04:00
#### 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
2021-04-14 20:13:25 -04:00
## [0.2.0] - 2021-04-14
2021-04-13 22:28:28 -04:00
#### 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
2021-02-04 22:46:50 -05:00
## 0.1.4 - 2019-11-03
2019-11-02 21:57:25 -04:00
#### Bug Fixes
2021-01-10 21:04:48 -05:00
* 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))
2019-11-02 21:57:25 -04:00
#### Features
2021-01-10 21:04:48 -05:00
* 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))
2019-11-02 21:57:25 -04:00
#### Performance
2021-01-10 21:04:48 -05:00
* 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))
2019-11-02 21:57:25 -04:00
2021-02-04 22:46:50 -05:00
<!-- next - url -->
2022-03-09 10:00:30 -05:00
[Unreleased]: https://github.com/crate-ci/typos/compare/v1.5.0...HEAD
[1.5.0]: https://github.com/crate-ci/typos/compare/v1.4.1...v1.5.0
2022-02-14 10:05:09 -05:00
[1.4.1]: https://github.com/crate-ci/typos/compare/v1.4.0...v1.4.1
2022-02-08 08:12:19 -05:00
[1.4.0]: https://github.com/crate-ci/typos/compare/v1.3.9...v1.4.0
2022-01-26 15:32:31 -05:00
[1.3.9]: https://github.com/crate-ci/typos/compare/v1.3.8...v1.3.9
2022-01-26 11:01:15 -05:00
[1.3.8]: https://github.com/crate-ci/typos/compare/v1.3.7...v1.3.8
2022-01-24 21:35:08 -05:00
[1.3.7]: https://github.com/crate-ci/typos/compare/v1.3.6...v1.3.7
2022-01-24 13:30:42 -05:00
[1.3.6]: https://github.com/crate-ci/typos/compare/v1.3.5...v1.3.6
2022-01-21 11:39:27 -05:00
[1.3.5]: https://github.com/crate-ci/typos/compare/v1.3.4...v1.3.5
2022-01-12 12:16:44 -05:00
[1.3.4]: https://github.com/crate-ci/typos/compare/v1.3.3...v1.3.4
2021-12-18 18:52:11 -05:00
[1.3.3]: https://github.com/crate-ci/typos/compare/v1.3.2...v1.3.3
2021-12-14 13:58:03 -05:00
[1.3.2]: https://github.com/crate-ci/typos/compare/v1.3.1...v1.3.2
2021-11-16 08:49:32 -05:00
[1.3.1]: https://github.com/crate-ci/typos/compare/v1.3.0...v1.3.1
2021-11-15 09:37:02 -05:00
[1.3.0]: https://github.com/crate-ci/typos/compare/v1.2.1...v1.3.0
2021-11-03 12:48:12 -04:00
[1.2.1]: https://github.com/crate-ci/typos/compare/v1.2.0...v1.2.1
2021-10-23 10:44:22 -04:00
[1.2.0]: https://github.com/crate-ci/typos/compare/v1.1.9...v1.2.0
2021-09-14 11:03:34 -04:00
[1.1.9]: https://github.com/crate-ci/typos/compare/v1.1.8...v1.1.9
2021-08-30 10:16:40 -04:00
[1.1.8]: https://github.com/crate-ci/typos/compare/v1.1.7...v1.1.8
2021-08-20 13:16:11 -04:00
[1.1.7]: https://github.com/crate-ci/typos/compare/v1.1.6...v1.1.7
2021-08-06 10:03:52 -04:00
[1.1.6]: https://github.com/crate-ci/typos/compare/v1.1.5...v1.1.6
2021-08-04 09:47:54 -04:00
[1.1.5]: https://github.com/crate-ci/typos/compare/v1.1.4...v1.1.5
2021-08-02 10:58:00 -04:00
[1.1.4]: https://github.com/crate-ci/typos/compare/v1.1.3...v1.1.4
2021-07-30 13:14:20 -04:00
[1.1.3]: https://github.com/crate-ci/typos/compare/v1.1.2...v1.1.3
2021-07-30 13:08:41 -04:00
[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