February 11th, 2019
:tada: New Features
- Added a `SlackDetector` plugin ([122], thanks [killuazhu])
- Added a `--use-all-plugins` argument to `--update` that adds all plugins to the baseline ([124], thanks [killuazhu])
- Added `--exclude-files` and `--exclude-lines` arguments to `scan` ([127])
:boom: Breaking Changes
- Removed the `--exclude` CLI scan argument ([127])
:telescope: Accuracy
- Reduced false-positives by excluding more characters (`!$&\';`) in the `BasicAuthDetector` regex ([126], [123], thanks [killuazhu])
- Added more to the `FALSE_POSITIVES` dict for the `KeywordDetector` plugin, **including** `password` ([118])
:bug: Bugfixes
- Fixed a bug where `--update` was adding all plugins to the baseline, instead of respecting the plugins used in the baseline ([124], thanks [killuazhu])
- Fixed an uncaught `UnicodeEncodeError` exception when scanning non-ini files (e.g. markdown) containing unicode, when using Python 2 ([128], thanks [killuazhu])
- Fixed a bug where non-ini files (e.g. markdown) containing unicode caused a `UnicodeEncodeError` exception in the `audit` functionality, when using Python 2 ([129], thanks [killuazhu])
- Fixed a bug where non-posix end of line characters caused a "Secret not found on line...." error in the `audit` functionality ([120], thanks [killuazhu])
- Fixed a bug where `scan_diff`, called by [`detect-secrets-server`](https://github.com/Yelp/detect-secrets-server), was ignoring inline `pragma: whitelist secret` comments ([#127])
:snake: Miscellaneous
- Relaxed the number of spaces before inline `pragma: whitelist secret` comment ([125], thanks [killuazhu]]
- Added Python 3.7 to Travis CI and `tox.ini` testing ([114], thanks [cclauss])
- [Increased minimum test coverage from 97% to 98%](https://github.com/Yelp/detect-secrets/commit/876b523366057f8c0da14a36e3c972c3e74dfb77)
[114]: https://github.com/Yelp/detect-secrets/pull/114
[118]: https://github.com/Yelp/detect-secrets/pull/118
[120]: https://github.com/Yelp/detect-secrets/pull/120
[122]: https://github.com/Yelp/detect-secrets/pull/122
[123]: https://github.com/Yelp/detect-secrets/pull/123
[124]: https://github.com/Yelp/detect-secrets/pull/124
[125]: https://github.com/Yelp/detect-secrets/pull/125
[126]: https://github.com/Yelp/detect-secrets/pull/126
[127]: https://github.com/Yelp/detect-secrets/pull/127
[128]: https://github.com/Yelp/detect-secrets/pull/128
[129]: https://github.com/Yelp/detect-secrets/pull/129