blob: bf99d9f467d2b3c6bd7915b4f219bfbb605df8aa [file] [log] [blame] [view]
Anthony Sottile2c9f8752024-04-06 14:24:38 -040014.6.0 - 2024-04-06
2==================
3
4### Features
5- `requirements-txt-fixer`: remove duplicate packages.
6 - #1014 PR by @vhoulbreque-withings.
7 - #960 issue @csibe17.
8
9### Migrating
10- `fix-encoding-pragma`: deprecated -- will be removed in 5.0.0. use
11 [pyupgrade](https://github.com/asottile/pyupgrade) or some other tool.
12 - #1033 PR by @mxr.
13 - #1032 issue by @mxr.
14
Anthony Sottilec4a0b882023-10-07 14:04:19 -0400154.5.0 - 2023-10-07
16==================
17
18### Features
19- `requirements-txt-fixer`: also sort `constraints.txt` by default.
20 - #857 PR by @lev-blit.
21 - #830 issue by @PLPeeters.
22- `debug-statements`: add `bpdb` debugger.
23 - #942 PR by @mwip.
24 - #941 issue by @mwip.
25
26### Fixes
27- `file-contents-sorter`: fix sorting an empty file.
28 - #944 PR by @RoelAdriaans.
29 - #935 issue by @paduszyk.
30- `double-quote-string-fixer`: don't rewrite inside f-strings in 3.12+.
31 - #973 PR by @asottile.
32 - #971 issue by @XuehaiPan.
33
34## Migrating
35- now requires python >= 3.8.
36 - #926 PR by @asottile.
37 - #927 PR by @asottile.
38
Anthony Sottilef71fa2c2022-11-23 14:35:47 -0500394.4.0 - 2022-11-23
40==================
41
42### Features
43- `forbid-submodules`: new hook which outright bans submodules.
44 - #815 PR by @asottile.
45 - #707 issue by @ChiefGokhlayeh.
46
Anthony Sottile3298dda2022-06-07 10:08:29 -0700474.3.0 - 2022-06-07
48==================
49
50### Features
51- `check-executables-have-shebangs`: use `git config core.fileMode` to
52 determine if it should query `git`.
53 - #730 PR by @Kurt-von-Laven.
54- `name-tests-test`: add `--pytest-test-first` test convention.
55 - #779 PR by @asottile.
56
57### Fixes
58- `check-shebang-scripts-are-executable`: update windows instructions.
59 - #774 PR by @mdeweerd.
60 - #770 issue by @mdeweerd.
61- `check-toml`: use stdlib `tomllib` when available.
62 - #771 PR by @DanielNoord.
63 - #755 issue by @sognetic.
64- `check-added-large-files`: don't run on non-file `stages`.
65 - #778 PR by @asottile.
66 - #777 issue by @skyj.
67
Anthony Sottiledb7346d2022-04-06 17:12:57 -0400684.2.0 - 2022-04-06
69==================
70
71### Features
72- `name-tests-test`: updated display text.
73 - #713 PR by @asottile.
74- `check-docstring-first`: make output more parsable.
75 - #748 PR by @asottile.
76- `check-merge-conflict`: make output more parsable.
77 - #748 PR by @asottile.
78- `debug-statements`: make output more parsable.
79 - #748 PR by @asottile.
80
81### Fixes
82- `check-merge-conflict`: fix detection of `======` conflict marker on windows.
83 - #748 PR by @asottile.
84
85### Updating
86- Drop python<3.7.
87 - #719 PR by @asottile.
88- Changed default branch from `master` to `main`.
89 - #744 PR by @asottile.
90
Anthony Sottile8fe62d12021-12-23 23:47:17 -0500914.1.0 - 2021-12-22
92==================
93
94### Features
95- `debug-statements`: add `pdbr` debugger.
96 - #614 PR by @cansarigol.
97- `detect-private-key`: add detection for additional key types.
98 - #658 PR by @ljmf00.
99- `check-executables-have-shebangs`: improve messaging on windows.
100 - #689 PR by @pujitm.
101 - #686 issue by @jmerdich.
102- `check-added-large-files`: support `--enforce-all` with `git-lfs`.
103 - #674 PR by @amartani.
104 - #560 issue by @jeremy-coulon.
105
106### Fixes
107- `check-case-conflict`: improve performance.
108 - #626 PR by @guykisel.
109 - #625 issue by @guykisel.
110- `forbid-new-submodules`: fix false-negatives for `pre-push`.
111 - #619 PR by @m-khvoinitsky.
112 - #609 issue by @m-khvoinitsky.
113- `check-merge-conflict`: fix execution in git worktrees.
114 - #662 PR by @errsyn.
115 - #638 issue by @daschuer.
116
117### Misc.
118- Normalize case of hook names and descriptions.
119 - #671 PR by @dennisroche.
120 - #673 PR by @revolter.
121
Anthony Sottile38b88242021-05-16 08:29:57 -07001224.0.1 - 2021-05-16
123==================
124
125### Fixes
126- `check-shebang-scripts-are-executable` fix entry point.
127 - #602 issue by @Person-93.
128 - #603 PR by @scop.
129
Anthony Sottile9cc62e12021-05-14 20:17:35 -07001304.0.0 - 2021-05-14
131==================
132
133### Features
134- `check-json`: report duplicate keys.
135 - #558 PR by @AdityaKhursale.
136 - #554 issue by @adamchainz.
137- `no-commit-to-branch`: add `main` to default blocked branches.
138 - #565 PR by @ndevenish.
139- `check-case-conflict`: check conflicts in directory names as well.
140 - #575 PR by @slsyy.
141 - #70 issue by @andyjack.
142- `check-vcs-permalinks`: forbid other branch names.
143 - #582 PR by @jack1142.
144 - #581 issue by @jack1142.
145- `check-shebang-scripts-are-executable`: new hook which ensures shebang'd
146 scripts are executable.
147 - #545 PR by @scop.
148
149### Fixes
150- `check-executables-have-shebangs`: Short circuit shebang lookup on windows.
151 - #544 PR by @scop.
152- `requirements-txt-fixer`: Fix comments which have indentation
153 - #549 PR by @greshilov.
154 - #548 issue by @greshilov.
155- `pretty-format-json`: write to stdout using UTF-8 encoding.
156 - #571 PR by @jack1142.
157 - #570 issue by @jack1142.
158- Use more inclusive language.
159 - #599 PR by @asottile.
160
161### Breaking changes
162- Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`.
163 - #597 PR by @asottile.
164
165
Anthony Sottile6e2418c2020-12-15 13:46:40 -08001663.4.0 - 2020-12-15
167==================
168
169### Features
170- `file-contents-sorter`: Add `--unique` argument
171 - #524 PR by @danielhoherd.
172- `check-vcs-permalinks`: Add `--additional-github-domain` option
173 - #530 PR by @youngminz.
174- New hook: `destroyed-symlinks` to detect unintentional symlink-breakages on
175 windows.
176 - #511 PR by @m-khvoinitsky.
177
Anthony Sottile91360882020-10-20 10:17:01 -07001783.3.0 - 2020-10-20
179==================
180
181### Features
182- `file-contents-sorter`: add `--ignore-case` option for case-insensitive
183 sorting
184 - #514 PR by @Julian.
185- `check-added-large-files`: add `--enforce-all` option to check non-added
186 files as well
187 - #519 PR by @mshawcroft.
188 - #518 issue by @mshawcroft.
189- `fix-byte-order-marker`: new hook which fixes UTF-8 byte-order marker.
190 - #522 PR by @jgowdy.
191
192### Deprecations
193- `check-byte-order-marker` is now deprecated for `fix-byte-order-marker`
194
Anthony Sottilee1668fe2020-07-30 13:33:26 -07001953.2.0 - 2020-07-30
196==================
197
198### Features
199- `debug-statements`: add support for `pydevd_pycharm` debugger
200 - #502 PR by @jgeerds.
201
202### Fixes
203- `check-executables-have-shebangs`: fix git-quoted files on windows (spaces,
204 non-ascii, etc.)
205 - #509 PR by @pawamoy.
206 - #508 issue by @pawamoy.
207
Anthony Sottileebc15ad2020-05-20 09:11:02 -07002083.1.0 - 2020-05-20
209==================
210
211### Features
212- `check-executables-have-shebangs`: on windows, validate the mode bits using
213 `git`
214 - #480 PR by @mxr.
215 - #435 issue by @dstandish.
216- `requirements-txt-fixer`: support more operators
217 - #483 PR by @mxr.
218 - #331 issue by @hackedd.
219
220### Fixes
221- `pre-commit-hooks-removed`: Fix when removed hooks used `args`
222 - #487 PR by @pedrocalleja.
223 - #485 issue by @pedrocalleja.
224
Anthony Sottile0e2c0f72020-05-16 18:08:51 -07002253.0.1 - 2020-05-16
226==================
227
228### Fixes
229- `check-toml`: use UTF-8 encoding to load toml files
230 - #479 PR by @mxr.
231 - #474 issue by @staticdev.
232
Anthony Sottile66250ba2020-05-14 16:24:40 -07002333.0.0 - 2020-05-14
234==================
235
236### Features
237- `detect-aws-credentials`: skip empty aws keys
238 - #450 PR by @begoon.
239 - #449 issue by @begoon.
240- `debug-statements`: add detection `wdb` debugger
241 - #452 PR by @itsdkey.
242 - #451 issue by @itsdkey.
243- `requirements-txt-fixer`: support line continuation for dependencies
244 - #469 PR by @aniketbhatnagar.
245 - #465 issue by @aniketbhatnagar.
246
247### Fixes
248- `detect-aws-credentials`: fix `UnicodeDecodeError` when running on non-UTF8
249 files.
250 - #453 PR by @asottile.
251 - #393 PR by @a7p
252 - #346 issue by @rpdelaney.
253
254### Updating
255- pre-commit/pre-commit-hooks now requires python3.6.1+
256 - #447 PR by @asottile.
257 - #455 PR by @asottile.
258- `flake8` / `pyflakes` have been removed, use `flake8` from `pycqa/flake8`
259 instead:
260
261 ```yaml
262 - repo: https://gitlab.com/pycqa/flake8
263 rev: 3.8.1
264 hooks:
265 - id: flake8
266 ```
267
268 - #476 PR by @asottile.
269 - #477 PR by @asottile.
270 - #344 issue by @asottile.
271
272
Anthony Sottile10578132020-02-04 16:10:28 -08002732.5.0 - 2020-02-04
274==================
275
276### Fixes
277- Fix sorting of requirements which use `egg=...`
278 - #425 PR by @vinayinvicible.
279- Fix over-eager regular expression for test filename matching
Anthony Sottile551d1a02020-02-04 16:12:04 -0800280 - #429 PR by @rrauenza.
Anthony Sottile10578132020-02-04 16:10:28 -0800281
282### Updating
283- Use `flake8` from `pycqa/flake8` instead:
284
285 ```yaml
286 - repo: https://gitlab.com/pycqa/flake8
287 rev: 3.7.9
288 hooks:
289 - id: flake8
290 ```
291
Anthony Sottile01614222019-10-28 15:19:58 -07002922.4.0 - 2019-10-28
293==================
294
295### Features
296- Add diff output to `pretty-format-json` when run without `--autofix`.
297 - #408 PR by @joepin.
298- Add `--chars` option to `trailing-whitespace` fixer to control which
299 characters are stripped instead of all whitespace.
300 - #421 PR by @iconmaster5326.
301
302### Fixes
303- Fix `requirements-txt-fixer` when file does not end in a newline.
304 - #414 issue by @barakreif.
Anthony Sottilefebac422019-10-28 15:26:03 -0700305 - #415 PR by @barakreif.
Anthony Sottile01614222019-10-28 15:19:58 -0700306- Fix double printing of filename in `pretty-format-json`.
307 - #419 PR by @asottile.
308
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003092.3.0 - 2019-08-05
310==================
Anthony Sottiled6d3bd92019-08-05 10:33:34 -0700311
312### Features
313- Add `rpdb` to detected debuggers in `debug-statements`
314 - #389 PR by @danlamanna.
315- Add `check-toml` hook
316 - #400 PR by @MarSoft.
317 - #400 PR by @ssbarnea.
318
319### Fixes
320- Add `__main__` block to `pre_commit.file_contents_sorter` so it can be
321 invoked using `python -m`
322 - #405 PR by @squeaky-pl.
323
324### Misc.
325- Fix `git-lfs` tests in azure pipelines
326 - #403 PR by @ssbarnea.
327
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003282.2.3 - 2019-05-16
329==================
Anthony Sottile0b70e282019-05-16 09:58:18 -0700330
331### Fixes
332- Handle CRLF line endings in `double-quote-string-fixer`
333 - #385 issue by @Trim21.
334 - #386 PR by @asottile.
335
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003362.2.2 - 2019-05-15
337==================
Anthony Sottilee8e54f72019-05-15 10:17:27 -0700338
339### Fixes
340- Handle CRLF line endings in `fix-encoding-pragma`
341 - #384 PR by @asottile.
342
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003432.2.1 - 2019-04-21
344==================
Anthony Sottile9ee43472019-04-21 13:17:05 -0700345
346### Fixes
347- Use UTF-8 to load yaml files
348 - #377 issue by @roottool.
349 - #378 PR by @roottool.
350
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003512.2.0 - 2019-04-20
352==================
Anthony Sottile7905d802019-04-21 13:12:53 -0700353
354### Features
355- Switch from `pyyaml` to `ruamel.yaml`
356 - This enforces (among other things) duplicate key checking in yaml.
357 - #351 PR by @asottile.
358- Add a new `--pattern` option to `no-commit-to-branch` for regex matching
359 branch names.
360 - #375 issue by @marcjay.
361 - #376 PR by @marcjay.
362
363### Fixes
364- Set `require_serial: true` for flake8
365 - flake8 internally uses multiprocessing.
366 - #358 PR by @asottile.
367- Don't run `check-executables-have-shebangs` / `trailing-whitespace` hooks
368 during the `commit-msg` stage.
369 - #361 issue by @revolter.
370 - #362 PR by @revolter.
371- Run `check-byte-order-marker` against `types: [text]`
372 - #371 PR by @tobywf.
373 - #372 PR by @tobywf.
374- Do not require UTF-8-encoded files for `check-docstring-first`
375 - #345 issue by @x007007007.
376 - #374 PR by @asottile.
377
378### Misc.
379- `pre-commit-hooks` now is type checked with mypy.
380 - #360 PR by @asottile.
381
Anthony Sottile3ed9b622019-08-11 16:31:05 -07003822.1.0 - 2018-12-26
383==================
Anthony Sottilec8bad492018-12-26 09:48:02 -0800384
385### Features
386- Detect PGP/GPG private keys in `detect-private-key`
387 - #329 PR by @rpdelaney.
388- Report filenames when fixing files in `mixed-line-endings`
389 - #341 PR by @gimbo.
390 - #340 issuey by @gimbo.
391
392### Fixes
393- Handle CRLF / CR line endings in `end-of-file-fixer`
394 - #327 PR by @mtkennerly.
395
396### Docs
397
398- Clarify and document arguments for `detect-aws-credentials`
399 - #333 PR by @rpdelaney.
400- Clarify `autopep8-wrapper` is deprecated in description
401 - #343 PR by @TheKevJames.
402
403
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004042.0.0 - 2018-10-12
405==================
Anthony Sottilee01bc2c2018-10-12 19:55:16 -0700406
407### Breaking changes
408
409- `autopep8-wrapper` has been moved to
410 [pre-commit/mirrors-autopep8][mirrors-autopep8]
411 - #92 issue by @asottile.
412 - #319 issue by @blaggacao.
413 - #321 PR by @asottile.
414- `trailing-whitespace` defaults to `--no-markdown-linebreak-ext`
415 - #310 issue by @asottile.
416 - #324 PR by @asottile.
417- `hooks.yaml` (legacy pre-commit hook metadata) deleted
418 - #323 PR by @asottile.
419- pre-`types` compatibility metadata removed
420 - #323 PR @asottile.
421
422### Docs
423
424- Correct documentation for `no-commit-to-branch`
425 - #318 PR by @milin.
426
427### Updating
428
429- Minimum supported version of `pre-commit` is now 0.15.0
430- Use `autopep8` from [pre-commit/mirrors-autopep8][mirrors-autopep8]
431- To keep mardown hard linebreaks, for `trailing-whitespace` use
432 `args: [--markdown-linebreak-ext=md,markdown]` (the previous default value)
433
434[mirrors-autopep8]: https://github.com/pre-commit/mirrors-autopep8
435
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004361.4.0-1 - 2018-09-27
437====================
Anthony Sottilee018adf2018-09-27 11:17:15 -0700438
439(Note: this is a tag-only release as no code changes occurred)
440
441### Fixes
442- Don't run `end-of-file-fixer` during `commit-msg` stage
443 - #315 issue by @revolter.
444 - #317 PR by @revolter.
445
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004461.4.0 - 2018-07-22
447==================
Anthony Sottile219c70a2018-07-22 09:32:56 -0700448
449### Features
450- `no-commit-to-branch`: allow `--branch` to be specified multiple times
451 - #190 PR by @moas.
452 - #294 PR by @asottile.
453- `check-merge-conflict`: add `--assume-in-merge` to force checks outside of a
454 merge commit situation
455 - #300 issue by @vinayinvicible.
456 - #301 PR by @vinayinvicible.
457
458### Fixes
459- Don't match whitespace in VCS urls
460 - #293 PR by @asottile.
461- Fix invalid escape sequences
462 - #296 PR by @asottile.
463- Fix `ResourcesWarning`s
464 - #297 PR by @asottile.
465
466### Misc
467- Test against python3.7
468 - #304 PR by @expobrain.
469
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004701.3.0 - 2018-05-28
471==================
Anthony Sottilea6209d82018-05-28 10:34:46 -0700472
473### Features
474- Add an `--unsafe` argument to `check-yaml` to allow custom yaml tags
475 - #273 issue by @blackillzone.
476 - #274 PR by @asottile.
477- Automatically remove `pkg-resources==0.0.0` in `requirements-txt-fixer`
478 - #275 PR by @nvtkaszpir.
479- Detect `breakpoint()` (python3.7+) in `debug-statements` hook.
480 - #283 PR by @asottile.
481- Detect sshcom and putty hooks in `detect-private-key`
482 - #287 PR by @vin01.
483
484### Fixes
485- Open files as UTF-8 (`autopep8-wrapper`, `check-docstring-first`,
486 `double-quote-string-fixer`)
487 - #279 PR by @nvtkaszpir.
488- Fix `AttributeError` in `check-builtin-literals` for some functions
489 - #285 issue by @EgoWumpus.
490 - #286 PR by @asottile.
491
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004921.2.3 - 2018-02-28
493==================
Anthony Sottile92e15702018-02-28 09:14:40 -0800494
495### Fixes
496- `trailing-whitespace` entrypoint was incorrect.
497 - f6780b9 by @asottile.
498
Anthony Sottile3ed9b622019-08-11 16:31:05 -07004991.2.2 - 2018-02-28
500==================
Anthony Sottile1b127232018-02-28 09:01:18 -0800501
502### Fixes
503- `trailing-whitespace` no longer adds a missing newline at end-of-file
504 - #270 issue by @fractos.
505 - #271 PR by @asottile.
506
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005071.2.1-1 - 2018-02-24
508====================
Anthony Sottile2f8b6252018-02-24 09:41:00 -0800509
510(Note: this is a tag-only release as no code changes occurred)
511
512### Fixes:
513- Don't pass filenames for `no-commit-to-branch`
514 - #268 issue by @dongyuzheng.
515 - #269 PR by @asottile.
516
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005171.2.1 - 2018-02-19
518==================
Anthony Sottileb1a80622018-02-19 13:27:08 -0800519### Fixes:
520- `detect-aws-credentials` false positive when key was empty
521 - #258 issue by @PVSec.
522 - #260 PR by @PVSec.
523- `no-commit-to-branch` no longer crashes when not on a branch
524 - #265 issue by @hectorv.
525 - #266 PR by @asottile.
526
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005271.2.0 - 2018-01-13
528==================
Anthony Sottile0ddb3b82018-01-13 17:36:06 -0800529### Features:
530- Add new `check-builtin-literals` hook.
531 - #249 #251 PR by @benwebber.
532- `pretty-format-json` no longer depends on `simplejson`.
533 - #254 PR by @cas--.
534- `detect-private-key` now detects gcp keys.
535 - #255 issue by @SaMnCo @nicain.
536 - #256 PR by @nicain.
537
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005381.1.1 - 2017-10-19
539==================
Anthony Sottilef1e943e2017-10-19 10:34:23 -0700540### Fixes:
541- Fix output interleaving in `check-vcs-permalinks` under python3.
542 - #245 PR by @asottile.
543
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005441.1.0 - 2017-10-12
545==================
Anthony Sottile8a98c5e2017-10-12 16:00:22 -0700546### Features:
547- `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow
548 linting of files using the
549 [multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML)
550 - pre-commit/pre-commit#635 issue by @geekobi.
551 - #244 PR by @asottile.
552
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005531.0.0 - 2017-10-09
554==================
Anthony Sottilec326dc22017-10-09 13:17:25 -0700555### Features:
556- New hook: `check-vcs-permalinks` for ensuring permalinked github urls.
557 - #241 PR by @asottile.
Anthony Sottilee09278e2017-10-09 13:20:16 -0700558
Anthony Sottilec326dc22017-10-09 13:17:25 -0700559### Fixes:
560- Fix `trailing-whitespace` for non-utf8 files on macos
561 - #242 PR by @asottile.
562- Fix `requirements-txt-fixer` for files ending in comments
563 - #243 PR by @asottile.
564
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005650.9.5 - 2017-09-27
566==================
Anthony Sottiledec98f72017-09-27 07:55:32 -0700567- Fix mixed-line-endings `--fix=...` when whole file is a different ending
568
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005690.9.4 - 2017-09-19
570==================
Anthony Sottileefdceb42017-09-19 10:26:18 -0700571- Fix entry point for `mixed-line-ending`
572
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005730.9.3 - 2017-09-07
574==================
Anthony Sottile9730eb32017-09-07 19:54:30 -0700575- New hook: `mixed-line-ending`
576
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005770.9.2 - 2017-08-21
578==================
Anthony Sottile78dffcc2017-08-21 10:58:25 -0700579- Report full python version in `check-ast`.
580- Apply a more strict regular expression for `name-tests-test`
581- Upgrade binding for `git-lfs` for `check-added-large-files`. The oldest
582 version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all
583 files as "lfs" (false negative) and earlier versions will crash.
584- `debug-statements` now works for non-utf-8 files.
585
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005860.9.1 - 2017-07-02
587==================
Anthony Sottile71926652017-07-02 22:27:09 -0700588- Add `check-executables-have-shebangs` hook.
589
Anthony Sottile3ed9b622019-08-11 16:31:05 -07005900.9.0 - 2017-07-02
591==================
Anthony Sottile5dbbd4d2017-07-02 21:21:19 -0700592- Add `sort-simple-yaml` hook
593- Fix `requirements-txt-fixer` for empty files
594- Add `file-contents-sorter` hook for sorting flat files
595- `check-merge-conflict` now recognizes rebase conflicts
596- Metadata now uses `types` (and therefore requires pre-commit 0.15.0). This
597 allows the text processing hooks to match *all* text files (and to match
598 files which would only be classifiable by their shebangs).
599
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006000.8.0 - 2017-06-06
601==================
Anthony Sottile78818b92017-06-06 14:26:36 -0700602- Add flag allowing missing keys to `detect-aws-credentials`
603- Handle django default `tests.py` in `name-tests-test`
604- Add `--no-ensure-ascii` option to `pretty-format-json`
605- Add `no-commit-to-branch` hook
606
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006070.7.1 - 2017-02-07
608==================
Anthony Sottile20f04622017-02-07 10:00:42 -0800609- Don't false positive on files where trailing whitespace isn't changed.
610
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006110.7.0 - 2017-01-21
612==================
Anthony Sottile63142f22017-01-21 18:32:17 -0800613- Improve search for detecting aws keys
614- Add .pre-commit-hooks.yaml for forward compatibility
615
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006160.6.1 - 2016-11-30
617==================
Anthony Sottile77a7bba2016-11-30 10:40:03 -0800618- trailing-whitespace-hook: restore original file on catastrophic failure
619- trailing-whitespace-hook: support crlf
620- check-yaml: Use safe_load
621- check-json: allow custom key sort
622- check-json: display filename for non-utf8 files
623- New hook: forbid-new-submodules
624
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006250.6.0 - 2016-08-12
626==================
Anthony Sottile69254552016-08-12 10:23:38 -0700627- Merge conflict detection no longer crashes on binary files
628- Indentation in json may be an arbitrary separator
629- Editable requirements are properly sorted
630- Encoding pragma fixer pragma is configurable
631
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006320.5.1 - 2016-05-16
633==================
Anthony Sottileadbb5692016-05-16 09:12:32 -0700634- Add a --no-sort-keys to json pretty formatter
635- Add a --remove to fix-encoding-pragma
636
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006370.5.0 - 2016-04-05
638==================
Anthony Sottileff65d012016-04-05 10:52:44 -0700639- Add check-byte-order-marker
640- Add check-synlinks
641- check-large-files-added understands git-lfs
642- Support older git
643- Fix regex for --django in test name checker
644- Add fix-encoding-pragma hook
645- requirements-txt-fixer now sorts like latest pip
646- Add check-ast hook
647- Add detect-aws-credentials hook
648- Allow binary files to pass private key hook
649- Add pretty-format-json hook
650
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006510.4.2 - 2015-05-31
652==================
Anthony Sottilecf550fc2015-05-31 14:02:52 -0700653- Add --django to test name checker
654- Add check-merge-conflict hook
655- Remove dependency on plumbum
656- Add q as a debug statement
657- Don't detect markup titles as conflicts
658- Teach trailing-whitespace about markdown
659- Quickfix for pyflakes - flake8 version conflict
660
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006610.4.1 - 2015-03-08
662==================
Anthony Sottile4cb861a2015-03-08 12:32:40 -0700663- Respect configuration when running autopep8
664- Quickfix for pep8 version conflicts
665
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006660.4.0 - 2015-02-22
667==================
Anthony Sottile9f107a02015-02-22 08:39:33 -0800668- Fix trailing-whitespace on OS X
669- Add check-added-large-files hook
670- Add check-docstring-first hook
671- Add requirements-txt-fixer hook
672- Add check-case-conflict hook
673- Use yaml's CLoader when available in check-yaml for more speed
674- Add check-xml hook
675- Fix end-of-file-fixer for windows
676- Add double-quote-string-fixer hook
677
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006780.3.0 - 2014-08-22
679==================
Anthony Sottile63437002014-08-22 11:11:31 -0700680- Add autopep8-wrapper hook
681
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006820.2.0 - 2014-08-19
683==================
Anthony Sottile01211992014-08-19 17:33:34 -0700684- Add check-json hook
685
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006860.1.1 - 2014-06-19
687==================
Anthony Sottilec94b2082014-06-19 17:51:42 -0700688- Don't crash on non-parseable files for debug-statement-hook
689
Anthony Sottile3ed9b622019-08-11 16:31:05 -07006900.1.0 - 2014-06-07
691==================
Anthony Sottilec94b2082014-06-19 17:51:42 -0700692- Initial Release