blob: c1daaba54b03262e30d5357467ffcea37ef9e3a7 [file] [log] [blame] [view]
Anthony Sottilec4a0b882023-10-07 14:04:19 -040014.5.0 - 2023-10-07
2==================
3
4### Features
5- `requirements-txt-fixer`: also sort `constraints.txt` by default.
6 - #857 PR by @lev-blit.
7 - #830 issue by @PLPeeters.
8- `debug-statements`: add `bpdb` debugger.
9 - #942 PR by @mwip.
10 - #941 issue by @mwip.
11
12### Fixes
13- `file-contents-sorter`: fix sorting an empty file.
14 - #944 PR by @RoelAdriaans.
15 - #935 issue by @paduszyk.
16- `double-quote-string-fixer`: don't rewrite inside f-strings in 3.12+.
17 - #973 PR by @asottile.
18 - #971 issue by @XuehaiPan.
19
20## Migrating
21- now requires python >= 3.8.
22 - #926 PR by @asottile.
23 - #927 PR by @asottile.
24
Anthony Sottilef71fa2c2022-11-23 14:35:47 -0500254.4.0 - 2022-11-23
26==================
27
28### Features
29- `forbid-submodules`: new hook which outright bans submodules.
30 - #815 PR by @asottile.
31 - #707 issue by @ChiefGokhlayeh.
32
Anthony Sottile3298dda2022-06-07 10:08:29 -0700334.3.0 - 2022-06-07
34==================
35
36### Features
37- `check-executables-have-shebangs`: use `git config core.fileMode` to
38 determine if it should query `git`.
39 - #730 PR by @Kurt-von-Laven.
40- `name-tests-test`: add `--pytest-test-first` test convention.
41 - #779 PR by @asottile.
42
43### Fixes
44- `check-shebang-scripts-are-executable`: update windows instructions.
45 - #774 PR by @mdeweerd.
46 - #770 issue by @mdeweerd.
47- `check-toml`: use stdlib `tomllib` when available.
48 - #771 PR by @DanielNoord.
49 - #755 issue by @sognetic.
50- `check-added-large-files`: don't run on non-file `stages`.
51 - #778 PR by @asottile.
52 - #777 issue by @skyj.
53
Anthony Sottiledb7346d2022-04-06 17:12:57 -0400544.2.0 - 2022-04-06
55==================
56
57### Features
58- `name-tests-test`: updated display text.
59 - #713 PR by @asottile.
60- `check-docstring-first`: make output more parsable.
61 - #748 PR by @asottile.
62- `check-merge-conflict`: make output more parsable.
63 - #748 PR by @asottile.
64- `debug-statements`: make output more parsable.
65 - #748 PR by @asottile.
66
67### Fixes
68- `check-merge-conflict`: fix detection of `======` conflict marker on windows.
69 - #748 PR by @asottile.
70
71### Updating
72- Drop python<3.7.
73 - #719 PR by @asottile.
74- Changed default branch from `master` to `main`.
75 - #744 PR by @asottile.
76
Anthony Sottile8fe62d12021-12-23 23:47:17 -0500774.1.0 - 2021-12-22
78==================
79
80### Features
81- `debug-statements`: add `pdbr` debugger.
82 - #614 PR by @cansarigol.
83- `detect-private-key`: add detection for additional key types.
84 - #658 PR by @ljmf00.
85- `check-executables-have-shebangs`: improve messaging on windows.
86 - #689 PR by @pujitm.
87 - #686 issue by @jmerdich.
88- `check-added-large-files`: support `--enforce-all` with `git-lfs`.
89 - #674 PR by @amartani.
90 - #560 issue by @jeremy-coulon.
91
92### Fixes
93- `check-case-conflict`: improve performance.
94 - #626 PR by @guykisel.
95 - #625 issue by @guykisel.
96- `forbid-new-submodules`: fix false-negatives for `pre-push`.
97 - #619 PR by @m-khvoinitsky.
98 - #609 issue by @m-khvoinitsky.
99- `check-merge-conflict`: fix execution in git worktrees.
100 - #662 PR by @errsyn.
101 - #638 issue by @daschuer.
102
103### Misc.
104- Normalize case of hook names and descriptions.
105 - #671 PR by @dennisroche.
106 - #673 PR by @revolter.
107
Anthony Sottile38b88242021-05-16 08:29:57 -07001084.0.1 - 2021-05-16
109==================
110
111### Fixes
112- `check-shebang-scripts-are-executable` fix entry point.
113 - #602 issue by @Person-93.
114 - #603 PR by @scop.
115
Anthony Sottile9cc62e12021-05-14 20:17:35 -07001164.0.0 - 2021-05-14
117==================
118
119### Features
120- `check-json`: report duplicate keys.
121 - #558 PR by @AdityaKhursale.
122 - #554 issue by @adamchainz.
123- `no-commit-to-branch`: add `main` to default blocked branches.
124 - #565 PR by @ndevenish.
125- `check-case-conflict`: check conflicts in directory names as well.
126 - #575 PR by @slsyy.
127 - #70 issue by @andyjack.
128- `check-vcs-permalinks`: forbid other branch names.
129 - #582 PR by @jack1142.
130 - #581 issue by @jack1142.
131- `check-shebang-scripts-are-executable`: new hook which ensures shebang'd
132 scripts are executable.
133 - #545 PR by @scop.
134
135### Fixes
136- `check-executables-have-shebangs`: Short circuit shebang lookup on windows.
137 - #544 PR by @scop.
138- `requirements-txt-fixer`: Fix comments which have indentation
139 - #549 PR by @greshilov.
140 - #548 issue by @greshilov.
141- `pretty-format-json`: write to stdout using UTF-8 encoding.
142 - #571 PR by @jack1142.
143 - #570 issue by @jack1142.
144- Use more inclusive language.
145 - #599 PR by @asottile.
146
147### Breaking changes
148- Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`.
149 - #597 PR by @asottile.
150
151
Anthony Sottile6e2418c2020-12-15 13:46:40 -08001523.4.0 - 2020-12-15
153==================
154
155### Features
156- `file-contents-sorter`: Add `--unique` argument
157 - #524 PR by @danielhoherd.
158- `check-vcs-permalinks`: Add `--additional-github-domain` option
159 - #530 PR by @youngminz.
160- New hook: `destroyed-symlinks` to detect unintentional symlink-breakages on
161 windows.
162 - #511 PR by @m-khvoinitsky.
163
Anthony Sottile91360882020-10-20 10:17:01 -07001643.3.0 - 2020-10-20
165==================
166
167### Features
168- `file-contents-sorter`: add `--ignore-case` option for case-insensitive
169 sorting
170 - #514 PR by @Julian.
171- `check-added-large-files`: add `--enforce-all` option to check non-added
172 files as well
173 - #519 PR by @mshawcroft.
174 - #518 issue by @mshawcroft.
175- `fix-byte-order-marker`: new hook which fixes UTF-8 byte-order marker.
176 - #522 PR by @jgowdy.
177
178### Deprecations
179- `check-byte-order-marker` is now deprecated for `fix-byte-order-marker`
180
Anthony Sottilee1668fe2020-07-30 13:33:26 -07001813.2.0 - 2020-07-30
182==================
183
184### Features
185- `debug-statements`: add support for `pydevd_pycharm` debugger
186 - #502 PR by @jgeerds.
187
188### Fixes
189- `check-executables-have-shebangs`: fix git-quoted files on windows (spaces,
190 non-ascii, etc.)
191 - #509 PR by @pawamoy.
192 - #508 issue by @pawamoy.
193
Anthony Sottileebc15ad2020-05-20 09:11:02 -07001943.1.0 - 2020-05-20
195==================
196
197### Features
198- `check-executables-have-shebangs`: on windows, validate the mode bits using
199 `git`
200 - #480 PR by @mxr.
201 - #435 issue by @dstandish.
202- `requirements-txt-fixer`: support more operators
203 - #483 PR by @mxr.
204 - #331 issue by @hackedd.
205
206### Fixes
207- `pre-commit-hooks-removed`: Fix when removed hooks used `args`
208 - #487 PR by @pedrocalleja.
209 - #485 issue by @pedrocalleja.
210
Anthony Sottile0e2c0f72020-05-16 18:08:51 -07002113.0.1 - 2020-05-16
212==================
213
214### Fixes
215- `check-toml`: use UTF-8 encoding to load toml files
216 - #479 PR by @mxr.
217 - #474 issue by @staticdev.
218
Anthony Sottile66250ba2020-05-14 16:24:40 -07002193.0.0 - 2020-05-14
220==================
221
222### Features
223- `detect-aws-credentials`: skip empty aws keys
224 - #450 PR by @begoon.
225 - #449 issue by @begoon.
226- `debug-statements`: add detection `wdb` debugger
227 - #452 PR by @itsdkey.
228 - #451 issue by @itsdkey.
229- `requirements-txt-fixer`: support line continuation for dependencies
230 - #469 PR by @aniketbhatnagar.
231 - #465 issue by @aniketbhatnagar.
232
233### Fixes
234- `detect-aws-credentials`: fix `UnicodeDecodeError` when running on non-UTF8
235 files.
236 - #453 PR by @asottile.
237 - #393 PR by @a7p
238 - #346 issue by @rpdelaney.
239
240### Updating
241- pre-commit/pre-commit-hooks now requires python3.6.1+
242 - #447 PR by @asottile.
243 - #455 PR by @asottile.
244- `flake8` / `pyflakes` have been removed, use `flake8` from `pycqa/flake8`
245 instead:
246
247 ```yaml
248 - repo: https://gitlab.com/pycqa/flake8
249 rev: 3.8.1
250 hooks:
251 - id: flake8
252 ```
253
254 - #476 PR by @asottile.
255 - #477 PR by @asottile.
256 - #344 issue by @asottile.
257
258
Anthony Sottile10578132020-02-04 16:10:28 -08002592.5.0 - 2020-02-04
260==================
261
262### Fixes
263- Fix sorting of requirements which use `egg=...`
264 - #425 PR by @vinayinvicible.
265- Fix over-eager regular expression for test filename matching
Anthony Sottile551d1a02020-02-04 16:12:04 -0800266 - #429 PR by @rrauenza.
Anthony Sottile10578132020-02-04 16:10:28 -0800267
268### Updating
269- Use `flake8` from `pycqa/flake8` instead:
270
271 ```yaml
272 - repo: https://gitlab.com/pycqa/flake8
273 rev: 3.7.9
274 hooks:
275 - id: flake8
276 ```
277
Anthony Sottile01614222019-10-28 15:19:58 -07002782.4.0 - 2019-10-28
279==================
280
281### Features
282- Add diff output to `pretty-format-json` when run without `--autofix`.
283 - #408 PR by @joepin.
284- Add `--chars` option to `trailing-whitespace` fixer to control which
285 characters are stripped instead of all whitespace.
286 - #421 PR by @iconmaster5326.
287
288### Fixes
289- Fix `requirements-txt-fixer` when file does not end in a newline.
290 - #414 issue by @barakreif.
Anthony Sottilefebac422019-10-28 15:26:03 -0700291 - #415 PR by @barakreif.
Anthony Sottile01614222019-10-28 15:19:58 -0700292- Fix double printing of filename in `pretty-format-json`.
293 - #419 PR by @asottile.
294
Anthony Sottile3ed9b622019-08-11 16:31:05 -07002952.3.0 - 2019-08-05
296==================
Anthony Sottiled6d3bd92019-08-05 10:33:34 -0700297
298### Features
299- Add `rpdb` to detected debuggers in `debug-statements`
300 - #389 PR by @danlamanna.
301- Add `check-toml` hook
302 - #400 PR by @MarSoft.
303 - #400 PR by @ssbarnea.
304
305### Fixes
306- Add `__main__` block to `pre_commit.file_contents_sorter` so it can be
307 invoked using `python -m`
308 - #405 PR by @squeaky-pl.
309
310### Misc.
311- Fix `git-lfs` tests in azure pipelines
312 - #403 PR by @ssbarnea.
313
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003142.2.3 - 2019-05-16
315==================
Anthony Sottile0b70e282019-05-16 09:58:18 -0700316
317### Fixes
318- Handle CRLF line endings in `double-quote-string-fixer`
319 - #385 issue by @Trim21.
320 - #386 PR by @asottile.
321
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003222.2.2 - 2019-05-15
323==================
Anthony Sottilee8e54f72019-05-15 10:17:27 -0700324
325### Fixes
326- Handle CRLF line endings in `fix-encoding-pragma`
327 - #384 PR by @asottile.
328
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003292.2.1 - 2019-04-21
330==================
Anthony Sottile9ee43472019-04-21 13:17:05 -0700331
332### Fixes
333- Use UTF-8 to load yaml files
334 - #377 issue by @roottool.
335 - #378 PR by @roottool.
336
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003372.2.0 - 2019-04-20
338==================
Anthony Sottile7905d802019-04-21 13:12:53 -0700339
340### Features
341- Switch from `pyyaml` to `ruamel.yaml`
342 - This enforces (among other things) duplicate key checking in yaml.
343 - #351 PR by @asottile.
344- Add a new `--pattern` option to `no-commit-to-branch` for regex matching
345 branch names.
346 - #375 issue by @marcjay.
347 - #376 PR by @marcjay.
348
349### Fixes
350- Set `require_serial: true` for flake8
351 - flake8 internally uses multiprocessing.
352 - #358 PR by @asottile.
353- Don't run `check-executables-have-shebangs` / `trailing-whitespace` hooks
354 during the `commit-msg` stage.
355 - #361 issue by @revolter.
356 - #362 PR by @revolter.
357- Run `check-byte-order-marker` against `types: [text]`
358 - #371 PR by @tobywf.
359 - #372 PR by @tobywf.
360- Do not require UTF-8-encoded files for `check-docstring-first`
361 - #345 issue by @x007007007.
362 - #374 PR by @asottile.
363
364### Misc.
365- `pre-commit-hooks` now is type checked with mypy.
366 - #360 PR by @asottile.
367
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003682.1.0 - 2018-12-26
369==================
Anthony Sottilec8bad492018-12-26 09:48:02 -0800370
371### Features
372- Detect PGP/GPG private keys in `detect-private-key`
373 - #329 PR by @rpdelaney.
374- Report filenames when fixing files in `mixed-line-endings`
375 - #341 PR by @gimbo.
376 - #340 issuey by @gimbo.
377
378### Fixes
379- Handle CRLF / CR line endings in `end-of-file-fixer`
380 - #327 PR by @mtkennerly.
381
382### Docs
383
384- Clarify and document arguments for `detect-aws-credentials`
385 - #333 PR by @rpdelaney.
386- Clarify `autopep8-wrapper` is deprecated in description
387 - #343 PR by @TheKevJames.
388
389
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003902.0.0 - 2018-10-12
391==================
Anthony Sottilee01bc2c2018-10-12 19:55:16 -0700392
393### Breaking changes
394
395- `autopep8-wrapper` has been moved to
396 [pre-commit/mirrors-autopep8][mirrors-autopep8]
397 - #92 issue by @asottile.
398 - #319 issue by @blaggacao.
399 - #321 PR by @asottile.
400- `trailing-whitespace` defaults to `--no-markdown-linebreak-ext`
401 - #310 issue by @asottile.
402 - #324 PR by @asottile.
403- `hooks.yaml` (legacy pre-commit hook metadata) deleted
404 - #323 PR by @asottile.
405- pre-`types` compatibility metadata removed
406 - #323 PR @asottile.
407
408### Docs
409
410- Correct documentation for `no-commit-to-branch`
411 - #318 PR by @milin.
412
413### Updating
414
415- Minimum supported version of `pre-commit` is now 0.15.0
416- Use `autopep8` from [pre-commit/mirrors-autopep8][mirrors-autopep8]
417- To keep mardown hard linebreaks, for `trailing-whitespace` use
418 `args: [--markdown-linebreak-ext=md,markdown]` (the previous default value)
419
420[mirrors-autopep8]: https://github.com/pre-commit/mirrors-autopep8
421
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004221.4.0-1 - 2018-09-27
423====================
Anthony Sottilee018adf2018-09-27 11:17:15 -0700424
425(Note: this is a tag-only release as no code changes occurred)
426
427### Fixes
428- Don't run `end-of-file-fixer` during `commit-msg` stage
429 - #315 issue by @revolter.
430 - #317 PR by @revolter.
431
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004321.4.0 - 2018-07-22
433==================
Anthony Sottile219c70a2018-07-22 09:32:56 -0700434
435### Features
436- `no-commit-to-branch`: allow `--branch` to be specified multiple times
437 - #190 PR by @moas.
438 - #294 PR by @asottile.
439- `check-merge-conflict`: add `--assume-in-merge` to force checks outside of a
440 merge commit situation
441 - #300 issue by @vinayinvicible.
442 - #301 PR by @vinayinvicible.
443
444### Fixes
445- Don't match whitespace in VCS urls
446 - #293 PR by @asottile.
447- Fix invalid escape sequences
448 - #296 PR by @asottile.
449- Fix `ResourcesWarning`s
450 - #297 PR by @asottile.
451
452### Misc
453- Test against python3.7
454 - #304 PR by @expobrain.
455
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004561.3.0 - 2018-05-28
457==================
Anthony Sottilea6209d82018-05-28 10:34:46 -0700458
459### Features
460- Add an `--unsafe` argument to `check-yaml` to allow custom yaml tags
461 - #273 issue by @blackillzone.
462 - #274 PR by @asottile.
463- Automatically remove `pkg-resources==0.0.0` in `requirements-txt-fixer`
464 - #275 PR by @nvtkaszpir.
465- Detect `breakpoint()` (python3.7+) in `debug-statements` hook.
466 - #283 PR by @asottile.
467- Detect sshcom and putty hooks in `detect-private-key`
468 - #287 PR by @vin01.
469
470### Fixes
471- Open files as UTF-8 (`autopep8-wrapper`, `check-docstring-first`,
472 `double-quote-string-fixer`)
473 - #279 PR by @nvtkaszpir.
474- Fix `AttributeError` in `check-builtin-literals` for some functions
475 - #285 issue by @EgoWumpus.
476 - #286 PR by @asottile.
477
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004781.2.3 - 2018-02-28
479==================
Anthony Sottile92e15702018-02-28 09:14:40 -0800480
481### Fixes
482- `trailing-whitespace` entrypoint was incorrect.
483 - f6780b9 by @asottile.
484
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004851.2.2 - 2018-02-28
486==================
Anthony Sottile1b127232018-02-28 09:01:18 -0800487
488### Fixes
489- `trailing-whitespace` no longer adds a missing newline at end-of-file
490 - #270 issue by @fractos.
491 - #271 PR by @asottile.
492
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004931.2.1-1 - 2018-02-24
494====================
Anthony Sottile2f8b6252018-02-24 09:41:00 -0800495
496(Note: this is a tag-only release as no code changes occurred)
497
498### Fixes:
499- Don't pass filenames for `no-commit-to-branch`
500 - #268 issue by @dongyuzheng.
501 - #269 PR by @asottile.
502
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005031.2.1 - 2018-02-19
504==================
Anthony Sottileb1a80622018-02-19 13:27:08 -0800505### Fixes:
506- `detect-aws-credentials` false positive when key was empty
507 - #258 issue by @PVSec.
508 - #260 PR by @PVSec.
509- `no-commit-to-branch` no longer crashes when not on a branch
510 - #265 issue by @hectorv.
511 - #266 PR by @asottile.
512
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005131.2.0 - 2018-01-13
514==================
Anthony Sottile0ddb3b82018-01-13 17:36:06 -0800515### Features:
516- Add new `check-builtin-literals` hook.
517 - #249 #251 PR by @benwebber.
518- `pretty-format-json` no longer depends on `simplejson`.
519 - #254 PR by @cas--.
520- `detect-private-key` now detects gcp keys.
521 - #255 issue by @SaMnCo @nicain.
522 - #256 PR by @nicain.
523
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005241.1.1 - 2017-10-19
525==================
Anthony Sottilef1e943e2017-10-19 10:34:23 -0700526### Fixes:
527- Fix output interleaving in `check-vcs-permalinks` under python3.
528 - #245 PR by @asottile.
529
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005301.1.0 - 2017-10-12
531==================
Anthony Sottile8a98c5e2017-10-12 16:00:22 -0700532### Features:
533- `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow
534 linting of files using the
535 [multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML)
536 - pre-commit/pre-commit#635 issue by @geekobi.
537 - #244 PR by @asottile.
538
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005391.0.0 - 2017-10-09
540==================
Anthony Sottilec326dc22017-10-09 13:17:25 -0700541### Features:
542- New hook: `check-vcs-permalinks` for ensuring permalinked github urls.
543 - #241 PR by @asottile.
Anthony Sottilee09278e2017-10-09 13:20:16 -0700544
Anthony Sottilec326dc22017-10-09 13:17:25 -0700545### Fixes:
546- Fix `trailing-whitespace` for non-utf8 files on macos
547 - #242 PR by @asottile.
548- Fix `requirements-txt-fixer` for files ending in comments
549 - #243 PR by @asottile.
550
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005510.9.5 - 2017-09-27
552==================
Anthony Sottiledec98f72017-09-27 07:55:32 -0700553- Fix mixed-line-endings `--fix=...` when whole file is a different ending
554
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005550.9.4 - 2017-09-19
556==================
Anthony Sottileefdceb42017-09-19 10:26:18 -0700557- Fix entry point for `mixed-line-ending`
558
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005590.9.3 - 2017-09-07
560==================
Anthony Sottile9730eb32017-09-07 19:54:30 -0700561- New hook: `mixed-line-ending`
562
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005630.9.2 - 2017-08-21
564==================
Anthony Sottile78dffcc2017-08-21 10:58:25 -0700565- Report full python version in `check-ast`.
566- Apply a more strict regular expression for `name-tests-test`
567- Upgrade binding for `git-lfs` for `check-added-large-files`. The oldest
568 version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all
569 files as "lfs" (false negative) and earlier versions will crash.
570- `debug-statements` now works for non-utf-8 files.
571
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005720.9.1 - 2017-07-02
573==================
Anthony Sottile71926652017-07-02 22:27:09 -0700574- Add `check-executables-have-shebangs` hook.
575
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005760.9.0 - 2017-07-02
577==================
Anthony Sottile5dbbd4d2017-07-02 21:21:19 -0700578- Add `sort-simple-yaml` hook
579- Fix `requirements-txt-fixer` for empty files
580- Add `file-contents-sorter` hook for sorting flat files
581- `check-merge-conflict` now recognizes rebase conflicts
582- Metadata now uses `types` (and therefore requires pre-commit 0.15.0). This
583 allows the text processing hooks to match *all* text files (and to match
584 files which would only be classifiable by their shebangs).
585
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005860.8.0 - 2017-06-06
587==================
Anthony Sottile78818b92017-06-06 14:26:36 -0700588- Add flag allowing missing keys to `detect-aws-credentials`
589- Handle django default `tests.py` in `name-tests-test`
590- Add `--no-ensure-ascii` option to `pretty-format-json`
591- Add `no-commit-to-branch` hook
592
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005930.7.1 - 2017-02-07
594==================
Anthony Sottile20f04622017-02-07 10:00:42 -0800595- Don't false positive on files where trailing whitespace isn't changed.
596
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005970.7.0 - 2017-01-21
598==================
Anthony Sottile63142f22017-01-21 18:32:17 -0800599- Improve search for detecting aws keys
600- Add .pre-commit-hooks.yaml for forward compatibility
601
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006020.6.1 - 2016-11-30
603==================
Anthony Sottile77a7bba2016-11-30 10:40:03 -0800604- trailing-whitespace-hook: restore original file on catastrophic failure
605- trailing-whitespace-hook: support crlf
606- check-yaml: Use safe_load
607- check-json: allow custom key sort
608- check-json: display filename for non-utf8 files
609- New hook: forbid-new-submodules
610
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006110.6.0 - 2016-08-12
612==================
Anthony Sottile69254552016-08-12 10:23:38 -0700613- Merge conflict detection no longer crashes on binary files
614- Indentation in json may be an arbitrary separator
615- Editable requirements are properly sorted
616- Encoding pragma fixer pragma is configurable
617
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006180.5.1 - 2016-05-16
619==================
Anthony Sottileadbb5692016-05-16 09:12:32 -0700620- Add a --no-sort-keys to json pretty formatter
621- Add a --remove to fix-encoding-pragma
622
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006230.5.0 - 2016-04-05
624==================
Anthony Sottileff65d012016-04-05 10:52:44 -0700625- Add check-byte-order-marker
626- Add check-synlinks
627- check-large-files-added understands git-lfs
628- Support older git
629- Fix regex for --django in test name checker
630- Add fix-encoding-pragma hook
631- requirements-txt-fixer now sorts like latest pip
632- Add check-ast hook
633- Add detect-aws-credentials hook
634- Allow binary files to pass private key hook
635- Add pretty-format-json hook
636
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006370.4.2 - 2015-05-31
638==================
Anthony Sottilecf550fc2015-05-31 14:02:52 -0700639- Add --django to test name checker
640- Add check-merge-conflict hook
641- Remove dependency on plumbum
642- Add q as a debug statement
643- Don't detect markup titles as conflicts
644- Teach trailing-whitespace about markdown
645- Quickfix for pyflakes - flake8 version conflict
646
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006470.4.1 - 2015-03-08
648==================
Anthony Sottile4cb861a2015-03-08 12:32:40 -0700649- Respect configuration when running autopep8
650- Quickfix for pep8 version conflicts
651
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006520.4.0 - 2015-02-22
653==================
Anthony Sottile9f107a02015-02-22 08:39:33 -0800654- Fix trailing-whitespace on OS X
655- Add check-added-large-files hook
656- Add check-docstring-first hook
657- Add requirements-txt-fixer hook
658- Add check-case-conflict hook
659- Use yaml's CLoader when available in check-yaml for more speed
660- Add check-xml hook
661- Fix end-of-file-fixer for windows
662- Add double-quote-string-fixer hook
663
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006640.3.0 - 2014-08-22
665==================
Anthony Sottile63437002014-08-22 11:11:31 -0700666- Add autopep8-wrapper hook
667
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006680.2.0 - 2014-08-19
669==================
Anthony Sottile01211992014-08-19 17:33:34 -0700670- Add check-json hook
671
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006720.1.1 - 2014-06-19
673==================
Anthony Sottilec94b2082014-06-19 17:51:42 -0700674- Don't crash on non-parseable files for debug-statement-hook
675
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006760.1.0 - 2014-06-07
677==================
Anthony Sottilec94b2082014-06-19 17:51:42 -0700678- Initial Release