typos/CHANGELOG.md
2021-08-02 09:58:00 -05:00

6.1 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

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)
  • Improve the organization of --help (a48a457c)

Features

  • Dump files, identifiers, and words (ce365ae1, closes #41)
  • Give control over allowed identifier characters for leading vs rest (107308a6)

Performance

  • Use standard identifier rules to avoid doing umber checks (107308a6)
  • Only do hex check if digits are in identifiers (68cd36d0)