mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-29 04:21:06 -05:00
5.4 KiB
5.4 KiB
Change Log
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
Change of Behavior
ignore-hex
andidentifier-leading-digit
are deprecated andtypos
acts as ifignore-hex=true
andidentifier-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 justthere
but alsothe
andtheir
(based on misspelling in Linux) - Don't correct
hardlinked
refernce
should correct toreference
and notreferences
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
Features
- Dump files, identifiers, and words (ce365ae1, closes #41)
- Give control over allowed identifier characters for leading vs rest (107308a6)