Anthony Sottile | f71fa2c | 2022-11-23 14:35:47 -0500 | [diff] [blame] | 1 | 4.4.0 - 2022-11-23 |
| 2 | ================== |
| 3 | |
| 4 | ### Features |
| 5 | - `forbid-submodules`: new hook which outright bans submodules. |
| 6 | - #815 PR by @asottile. |
| 7 | - #707 issue by @ChiefGokhlayeh. |
| 8 | |
Anthony Sottile | 3298dda | 2022-06-07 10:08:29 -0700 | [diff] [blame] | 9 | 4.3.0 - 2022-06-07 |
| 10 | ================== |
| 11 | |
| 12 | ### Features |
| 13 | - `check-executables-have-shebangs`: use `git config core.fileMode` to |
| 14 | determine if it should query `git`. |
| 15 | - #730 PR by @Kurt-von-Laven. |
| 16 | - `name-tests-test`: add `--pytest-test-first` test convention. |
| 17 | - #779 PR by @asottile. |
| 18 | |
| 19 | ### Fixes |
| 20 | - `check-shebang-scripts-are-executable`: update windows instructions. |
| 21 | - #774 PR by @mdeweerd. |
| 22 | - #770 issue by @mdeweerd. |
| 23 | - `check-toml`: use stdlib `tomllib` when available. |
| 24 | - #771 PR by @DanielNoord. |
| 25 | - #755 issue by @sognetic. |
| 26 | - `check-added-large-files`: don't run on non-file `stages`. |
| 27 | - #778 PR by @asottile. |
| 28 | - #777 issue by @skyj. |
| 29 | |
Anthony Sottile | db7346d | 2022-04-06 17:12:57 -0400 | [diff] [blame] | 30 | 4.2.0 - 2022-04-06 |
| 31 | ================== |
| 32 | |
| 33 | ### Features |
| 34 | - `name-tests-test`: updated display text. |
| 35 | - #713 PR by @asottile. |
| 36 | - `check-docstring-first`: make output more parsable. |
| 37 | - #748 PR by @asottile. |
| 38 | - `check-merge-conflict`: make output more parsable. |
| 39 | - #748 PR by @asottile. |
| 40 | - `debug-statements`: make output more parsable. |
| 41 | - #748 PR by @asottile. |
| 42 | |
| 43 | ### Fixes |
| 44 | - `check-merge-conflict`: fix detection of `======` conflict marker on windows. |
| 45 | - #748 PR by @asottile. |
| 46 | |
| 47 | ### Updating |
| 48 | - Drop python<3.7. |
| 49 | - #719 PR by @asottile. |
| 50 | - Changed default branch from `master` to `main`. |
| 51 | - #744 PR by @asottile. |
| 52 | |
Anthony Sottile | 8fe62d1 | 2021-12-23 23:47:17 -0500 | [diff] [blame] | 53 | 4.1.0 - 2021-12-22 |
| 54 | ================== |
| 55 | |
| 56 | ### Features |
| 57 | - `debug-statements`: add `pdbr` debugger. |
| 58 | - #614 PR by @cansarigol. |
| 59 | - `detect-private-key`: add detection for additional key types. |
| 60 | - #658 PR by @ljmf00. |
| 61 | - `check-executables-have-shebangs`: improve messaging on windows. |
| 62 | - #689 PR by @pujitm. |
| 63 | - #686 issue by @jmerdich. |
| 64 | - `check-added-large-files`: support `--enforce-all` with `git-lfs`. |
| 65 | - #674 PR by @amartani. |
| 66 | - #560 issue by @jeremy-coulon. |
| 67 | |
| 68 | ### Fixes |
| 69 | - `check-case-conflict`: improve performance. |
| 70 | - #626 PR by @guykisel. |
| 71 | - #625 issue by @guykisel. |
| 72 | - `forbid-new-submodules`: fix false-negatives for `pre-push`. |
| 73 | - #619 PR by @m-khvoinitsky. |
| 74 | - #609 issue by @m-khvoinitsky. |
| 75 | - `check-merge-conflict`: fix execution in git worktrees. |
| 76 | - #662 PR by @errsyn. |
| 77 | - #638 issue by @daschuer. |
| 78 | |
| 79 | ### Misc. |
| 80 | - Normalize case of hook names and descriptions. |
| 81 | - #671 PR by @dennisroche. |
| 82 | - #673 PR by @revolter. |
| 83 | |
Anthony Sottile | 38b8824 | 2021-05-16 08:29:57 -0700 | [diff] [blame] | 84 | 4.0.1 - 2021-05-16 |
| 85 | ================== |
| 86 | |
| 87 | ### Fixes |
| 88 | - `check-shebang-scripts-are-executable` fix entry point. |
| 89 | - #602 issue by @Person-93. |
| 90 | - #603 PR by @scop. |
| 91 | |
Anthony Sottile | 9cc62e1 | 2021-05-14 20:17:35 -0700 | [diff] [blame] | 92 | 4.0.0 - 2021-05-14 |
| 93 | ================== |
| 94 | |
| 95 | ### Features |
| 96 | - `check-json`: report duplicate keys. |
| 97 | - #558 PR by @AdityaKhursale. |
| 98 | - #554 issue by @adamchainz. |
| 99 | - `no-commit-to-branch`: add `main` to default blocked branches. |
| 100 | - #565 PR by @ndevenish. |
| 101 | - `check-case-conflict`: check conflicts in directory names as well. |
| 102 | - #575 PR by @slsyy. |
| 103 | - #70 issue by @andyjack. |
| 104 | - `check-vcs-permalinks`: forbid other branch names. |
| 105 | - #582 PR by @jack1142. |
| 106 | - #581 issue by @jack1142. |
| 107 | - `check-shebang-scripts-are-executable`: new hook which ensures shebang'd |
| 108 | scripts are executable. |
| 109 | - #545 PR by @scop. |
| 110 | |
| 111 | ### Fixes |
| 112 | - `check-executables-have-shebangs`: Short circuit shebang lookup on windows. |
| 113 | - #544 PR by @scop. |
| 114 | - `requirements-txt-fixer`: Fix comments which have indentation |
| 115 | - #549 PR by @greshilov. |
| 116 | - #548 issue by @greshilov. |
| 117 | - `pretty-format-json`: write to stdout using UTF-8 encoding. |
| 118 | - #571 PR by @jack1142. |
| 119 | - #570 issue by @jack1142. |
| 120 | - Use more inclusive language. |
| 121 | - #599 PR by @asottile. |
| 122 | |
| 123 | ### Breaking changes |
| 124 | - Remove deprecated hooks: `flake8`, `pyflakes`, `autopep8-wrapper`. |
| 125 | - #597 PR by @asottile. |
| 126 | |
| 127 | |
Anthony Sottile | 6e2418c | 2020-12-15 13:46:40 -0800 | [diff] [blame] | 128 | 3.4.0 - 2020-12-15 |
| 129 | ================== |
| 130 | |
| 131 | ### Features |
| 132 | - `file-contents-sorter`: Add `--unique` argument |
| 133 | - #524 PR by @danielhoherd. |
| 134 | - `check-vcs-permalinks`: Add `--additional-github-domain` option |
| 135 | - #530 PR by @youngminz. |
| 136 | - New hook: `destroyed-symlinks` to detect unintentional symlink-breakages on |
| 137 | windows. |
| 138 | - #511 PR by @m-khvoinitsky. |
| 139 | |
Anthony Sottile | 9136088 | 2020-10-20 10:17:01 -0700 | [diff] [blame] | 140 | 3.3.0 - 2020-10-20 |
| 141 | ================== |
| 142 | |
| 143 | ### Features |
| 144 | - `file-contents-sorter`: add `--ignore-case` option for case-insensitive |
| 145 | sorting |
| 146 | - #514 PR by @Julian. |
| 147 | - `check-added-large-files`: add `--enforce-all` option to check non-added |
| 148 | files as well |
| 149 | - #519 PR by @mshawcroft. |
| 150 | - #518 issue by @mshawcroft. |
| 151 | - `fix-byte-order-marker`: new hook which fixes UTF-8 byte-order marker. |
| 152 | - #522 PR by @jgowdy. |
| 153 | |
| 154 | ### Deprecations |
| 155 | - `check-byte-order-marker` is now deprecated for `fix-byte-order-marker` |
| 156 | |
Anthony Sottile | e1668fe | 2020-07-30 13:33:26 -0700 | [diff] [blame] | 157 | 3.2.0 - 2020-07-30 |
| 158 | ================== |
| 159 | |
| 160 | ### Features |
| 161 | - `debug-statements`: add support for `pydevd_pycharm` debugger |
| 162 | - #502 PR by @jgeerds. |
| 163 | |
| 164 | ### Fixes |
| 165 | - `check-executables-have-shebangs`: fix git-quoted files on windows (spaces, |
| 166 | non-ascii, etc.) |
| 167 | - #509 PR by @pawamoy. |
| 168 | - #508 issue by @pawamoy. |
| 169 | |
Anthony Sottile | ebc15ad | 2020-05-20 09:11:02 -0700 | [diff] [blame] | 170 | 3.1.0 - 2020-05-20 |
| 171 | ================== |
| 172 | |
| 173 | ### Features |
| 174 | - `check-executables-have-shebangs`: on windows, validate the mode bits using |
| 175 | `git` |
| 176 | - #480 PR by @mxr. |
| 177 | - #435 issue by @dstandish. |
| 178 | - `requirements-txt-fixer`: support more operators |
| 179 | - #483 PR by @mxr. |
| 180 | - #331 issue by @hackedd. |
| 181 | |
| 182 | ### Fixes |
| 183 | - `pre-commit-hooks-removed`: Fix when removed hooks used `args` |
| 184 | - #487 PR by @pedrocalleja. |
| 185 | - #485 issue by @pedrocalleja. |
| 186 | |
Anthony Sottile | 0e2c0f7 | 2020-05-16 18:08:51 -0700 | [diff] [blame] | 187 | 3.0.1 - 2020-05-16 |
| 188 | ================== |
| 189 | |
| 190 | ### Fixes |
| 191 | - `check-toml`: use UTF-8 encoding to load toml files |
| 192 | - #479 PR by @mxr. |
| 193 | - #474 issue by @staticdev. |
| 194 | |
Anthony Sottile | 66250ba | 2020-05-14 16:24:40 -0700 | [diff] [blame] | 195 | 3.0.0 - 2020-05-14 |
| 196 | ================== |
| 197 | |
| 198 | ### Features |
| 199 | - `detect-aws-credentials`: skip empty aws keys |
| 200 | - #450 PR by @begoon. |
| 201 | - #449 issue by @begoon. |
| 202 | - `debug-statements`: add detection `wdb` debugger |
| 203 | - #452 PR by @itsdkey. |
| 204 | - #451 issue by @itsdkey. |
| 205 | - `requirements-txt-fixer`: support line continuation for dependencies |
| 206 | - #469 PR by @aniketbhatnagar. |
| 207 | - #465 issue by @aniketbhatnagar. |
| 208 | |
| 209 | ### Fixes |
| 210 | - `detect-aws-credentials`: fix `UnicodeDecodeError` when running on non-UTF8 |
| 211 | files. |
| 212 | - #453 PR by @asottile. |
| 213 | - #393 PR by @a7p |
| 214 | - #346 issue by @rpdelaney. |
| 215 | |
| 216 | ### Updating |
| 217 | - pre-commit/pre-commit-hooks now requires python3.6.1+ |
| 218 | - #447 PR by @asottile. |
| 219 | - #455 PR by @asottile. |
| 220 | - `flake8` / `pyflakes` have been removed, use `flake8` from `pycqa/flake8` |
| 221 | instead: |
| 222 | |
| 223 | ```yaml |
| 224 | - repo: https://gitlab.com/pycqa/flake8 |
| 225 | rev: 3.8.1 |
| 226 | hooks: |
| 227 | - id: flake8 |
| 228 | ``` |
| 229 | |
| 230 | - #476 PR by @asottile. |
| 231 | - #477 PR by @asottile. |
| 232 | - #344 issue by @asottile. |
| 233 | |
| 234 | |
Anthony Sottile | 1057813 | 2020-02-04 16:10:28 -0800 | [diff] [blame] | 235 | 2.5.0 - 2020-02-04 |
| 236 | ================== |
| 237 | |
| 238 | ### Fixes |
| 239 | - Fix sorting of requirements which use `egg=...` |
| 240 | - #425 PR by @vinayinvicible. |
| 241 | - Fix over-eager regular expression for test filename matching |
Anthony Sottile | 551d1a0 | 2020-02-04 16:12:04 -0800 | [diff] [blame] | 242 | - #429 PR by @rrauenza. |
Anthony Sottile | 1057813 | 2020-02-04 16:10:28 -0800 | [diff] [blame] | 243 | |
| 244 | ### Updating |
| 245 | - Use `flake8` from `pycqa/flake8` instead: |
| 246 | |
| 247 | ```yaml |
| 248 | - repo: https://gitlab.com/pycqa/flake8 |
| 249 | rev: 3.7.9 |
| 250 | hooks: |
| 251 | - id: flake8 |
| 252 | ``` |
| 253 | |
Anthony Sottile | 0161422 | 2019-10-28 15:19:58 -0700 | [diff] [blame] | 254 | 2.4.0 - 2019-10-28 |
| 255 | ================== |
| 256 | |
| 257 | ### Features |
| 258 | - Add diff output to `pretty-format-json` when run without `--autofix`. |
| 259 | - #408 PR by @joepin. |
| 260 | - Add `--chars` option to `trailing-whitespace` fixer to control which |
| 261 | characters are stripped instead of all whitespace. |
| 262 | - #421 PR by @iconmaster5326. |
| 263 | |
| 264 | ### Fixes |
| 265 | - Fix `requirements-txt-fixer` when file does not end in a newline. |
| 266 | - #414 issue by @barakreif. |
Anthony Sottile | febac42 | 2019-10-28 15:26:03 -0700 | [diff] [blame] | 267 | - #415 PR by @barakreif. |
Anthony Sottile | 0161422 | 2019-10-28 15:19:58 -0700 | [diff] [blame] | 268 | - Fix double printing of filename in `pretty-format-json`. |
| 269 | - #419 PR by @asottile. |
| 270 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 271 | 2.3.0 - 2019-08-05 |
| 272 | ================== |
Anthony Sottile | d6d3bd9 | 2019-08-05 10:33:34 -0700 | [diff] [blame] | 273 | |
| 274 | ### Features |
| 275 | - Add `rpdb` to detected debuggers in `debug-statements` |
| 276 | - #389 PR by @danlamanna. |
| 277 | - Add `check-toml` hook |
| 278 | - #400 PR by @MarSoft. |
| 279 | - #400 PR by @ssbarnea. |
| 280 | |
| 281 | ### Fixes |
| 282 | - Add `__main__` block to `pre_commit.file_contents_sorter` so it can be |
| 283 | invoked using `python -m` |
| 284 | - #405 PR by @squeaky-pl. |
| 285 | |
| 286 | ### Misc. |
| 287 | - Fix `git-lfs` tests in azure pipelines |
| 288 | - #403 PR by @ssbarnea. |
| 289 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 290 | 2.2.3 - 2019-05-16 |
| 291 | ================== |
Anthony Sottile | 0b70e28 | 2019-05-16 09:58:18 -0700 | [diff] [blame] | 292 | |
| 293 | ### Fixes |
| 294 | - Handle CRLF line endings in `double-quote-string-fixer` |
| 295 | - #385 issue by @Trim21. |
| 296 | - #386 PR by @asottile. |
| 297 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 298 | 2.2.2 - 2019-05-15 |
| 299 | ================== |
Anthony Sottile | e8e54f7 | 2019-05-15 10:17:27 -0700 | [diff] [blame] | 300 | |
| 301 | ### Fixes |
| 302 | - Handle CRLF line endings in `fix-encoding-pragma` |
| 303 | - #384 PR by @asottile. |
| 304 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 305 | 2.2.1 - 2019-04-21 |
| 306 | ================== |
Anthony Sottile | 9ee4347 | 2019-04-21 13:17:05 -0700 | [diff] [blame] | 307 | |
| 308 | ### Fixes |
| 309 | - Use UTF-8 to load yaml files |
| 310 | - #377 issue by @roottool. |
| 311 | - #378 PR by @roottool. |
| 312 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 313 | 2.2.0 - 2019-04-20 |
| 314 | ================== |
Anthony Sottile | 7905d80 | 2019-04-21 13:12:53 -0700 | [diff] [blame] | 315 | |
| 316 | ### Features |
| 317 | - Switch from `pyyaml` to `ruamel.yaml` |
| 318 | - This enforces (among other things) duplicate key checking in yaml. |
| 319 | - #351 PR by @asottile. |
| 320 | - Add a new `--pattern` option to `no-commit-to-branch` for regex matching |
| 321 | branch names. |
| 322 | - #375 issue by @marcjay. |
| 323 | - #376 PR by @marcjay. |
| 324 | |
| 325 | ### Fixes |
| 326 | - Set `require_serial: true` for flake8 |
| 327 | - flake8 internally uses multiprocessing. |
| 328 | - #358 PR by @asottile. |
| 329 | - Don't run `check-executables-have-shebangs` / `trailing-whitespace` hooks |
| 330 | during the `commit-msg` stage. |
| 331 | - #361 issue by @revolter. |
| 332 | - #362 PR by @revolter. |
| 333 | - Run `check-byte-order-marker` against `types: [text]` |
| 334 | - #371 PR by @tobywf. |
| 335 | - #372 PR by @tobywf. |
| 336 | - Do not require UTF-8-encoded files for `check-docstring-first` |
| 337 | - #345 issue by @x007007007. |
| 338 | - #374 PR by @asottile. |
| 339 | |
| 340 | ### Misc. |
| 341 | - `pre-commit-hooks` now is type checked with mypy. |
| 342 | - #360 PR by @asottile. |
| 343 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 344 | 2.1.0 - 2018-12-26 |
| 345 | ================== |
Anthony Sottile | c8bad49 | 2018-12-26 09:48:02 -0800 | [diff] [blame] | 346 | |
| 347 | ### Features |
| 348 | - Detect PGP/GPG private keys in `detect-private-key` |
| 349 | - #329 PR by @rpdelaney. |
| 350 | - Report filenames when fixing files in `mixed-line-endings` |
| 351 | - #341 PR by @gimbo. |
| 352 | - #340 issuey by @gimbo. |
| 353 | |
| 354 | ### Fixes |
| 355 | - Handle CRLF / CR line endings in `end-of-file-fixer` |
| 356 | - #327 PR by @mtkennerly. |
| 357 | |
| 358 | ### Docs |
| 359 | |
| 360 | - Clarify and document arguments for `detect-aws-credentials` |
| 361 | - #333 PR by @rpdelaney. |
| 362 | - Clarify `autopep8-wrapper` is deprecated in description |
| 363 | - #343 PR by @TheKevJames. |
| 364 | |
| 365 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 366 | 2.0.0 - 2018-10-12 |
| 367 | ================== |
Anthony Sottile | e01bc2c | 2018-10-12 19:55:16 -0700 | [diff] [blame] | 368 | |
| 369 | ### Breaking changes |
| 370 | |
| 371 | - `autopep8-wrapper` has been moved to |
| 372 | [pre-commit/mirrors-autopep8][mirrors-autopep8] |
| 373 | - #92 issue by @asottile. |
| 374 | - #319 issue by @blaggacao. |
| 375 | - #321 PR by @asottile. |
| 376 | - `trailing-whitespace` defaults to `--no-markdown-linebreak-ext` |
| 377 | - #310 issue by @asottile. |
| 378 | - #324 PR by @asottile. |
| 379 | - `hooks.yaml` (legacy pre-commit hook metadata) deleted |
| 380 | - #323 PR by @asottile. |
| 381 | - pre-`types` compatibility metadata removed |
| 382 | - #323 PR @asottile. |
| 383 | |
| 384 | ### Docs |
| 385 | |
| 386 | - Correct documentation for `no-commit-to-branch` |
| 387 | - #318 PR by @milin. |
| 388 | |
| 389 | ### Updating |
| 390 | |
| 391 | - Minimum supported version of `pre-commit` is now 0.15.0 |
| 392 | - Use `autopep8` from [pre-commit/mirrors-autopep8][mirrors-autopep8] |
| 393 | - To keep mardown hard linebreaks, for `trailing-whitespace` use |
| 394 | `args: [--markdown-linebreak-ext=md,markdown]` (the previous default value) |
| 395 | |
| 396 | [mirrors-autopep8]: https://github.com/pre-commit/mirrors-autopep8 |
| 397 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 398 | 1.4.0-1 - 2018-09-27 |
| 399 | ==================== |
Anthony Sottile | e018adf | 2018-09-27 11:17:15 -0700 | [diff] [blame] | 400 | |
| 401 | (Note: this is a tag-only release as no code changes occurred) |
| 402 | |
| 403 | ### Fixes |
| 404 | - Don't run `end-of-file-fixer` during `commit-msg` stage |
| 405 | - #315 issue by @revolter. |
| 406 | - #317 PR by @revolter. |
| 407 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 408 | 1.4.0 - 2018-07-22 |
| 409 | ================== |
Anthony Sottile | 219c70a | 2018-07-22 09:32:56 -0700 | [diff] [blame] | 410 | |
| 411 | ### Features |
| 412 | - `no-commit-to-branch`: allow `--branch` to be specified multiple times |
| 413 | - #190 PR by @moas. |
| 414 | - #294 PR by @asottile. |
| 415 | - `check-merge-conflict`: add `--assume-in-merge` to force checks outside of a |
| 416 | merge commit situation |
| 417 | - #300 issue by @vinayinvicible. |
| 418 | - #301 PR by @vinayinvicible. |
| 419 | |
| 420 | ### Fixes |
| 421 | - Don't match whitespace in VCS urls |
| 422 | - #293 PR by @asottile. |
| 423 | - Fix invalid escape sequences |
| 424 | - #296 PR by @asottile. |
| 425 | - Fix `ResourcesWarning`s |
| 426 | - #297 PR by @asottile. |
| 427 | |
| 428 | ### Misc |
| 429 | - Test against python3.7 |
| 430 | - #304 PR by @expobrain. |
| 431 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 432 | 1.3.0 - 2018-05-28 |
| 433 | ================== |
Anthony Sottile | a6209d8 | 2018-05-28 10:34:46 -0700 | [diff] [blame] | 434 | |
| 435 | ### Features |
| 436 | - Add an `--unsafe` argument to `check-yaml` to allow custom yaml tags |
| 437 | - #273 issue by @blackillzone. |
| 438 | - #274 PR by @asottile. |
| 439 | - Automatically remove `pkg-resources==0.0.0` in `requirements-txt-fixer` |
| 440 | - #275 PR by @nvtkaszpir. |
| 441 | - Detect `breakpoint()` (python3.7+) in `debug-statements` hook. |
| 442 | - #283 PR by @asottile. |
| 443 | - Detect sshcom and putty hooks in `detect-private-key` |
| 444 | - #287 PR by @vin01. |
| 445 | |
| 446 | ### Fixes |
| 447 | - Open files as UTF-8 (`autopep8-wrapper`, `check-docstring-first`, |
| 448 | `double-quote-string-fixer`) |
| 449 | - #279 PR by @nvtkaszpir. |
| 450 | - Fix `AttributeError` in `check-builtin-literals` for some functions |
| 451 | - #285 issue by @EgoWumpus. |
| 452 | - #286 PR by @asottile. |
| 453 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 454 | 1.2.3 - 2018-02-28 |
| 455 | ================== |
Anthony Sottile | 92e1570 | 2018-02-28 09:14:40 -0800 | [diff] [blame] | 456 | |
| 457 | ### Fixes |
| 458 | - `trailing-whitespace` entrypoint was incorrect. |
| 459 | - f6780b9 by @asottile. |
| 460 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 461 | 1.2.2 - 2018-02-28 |
| 462 | ================== |
Anthony Sottile | 1b12723 | 2018-02-28 09:01:18 -0800 | [diff] [blame] | 463 | |
| 464 | ### Fixes |
| 465 | - `trailing-whitespace` no longer adds a missing newline at end-of-file |
| 466 | - #270 issue by @fractos. |
| 467 | - #271 PR by @asottile. |
| 468 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 469 | 1.2.1-1 - 2018-02-24 |
| 470 | ==================== |
Anthony Sottile | 2f8b625 | 2018-02-24 09:41:00 -0800 | [diff] [blame] | 471 | |
| 472 | (Note: this is a tag-only release as no code changes occurred) |
| 473 | |
| 474 | ### Fixes: |
| 475 | - Don't pass filenames for `no-commit-to-branch` |
| 476 | - #268 issue by @dongyuzheng. |
| 477 | - #269 PR by @asottile. |
| 478 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 479 | 1.2.1 - 2018-02-19 |
| 480 | ================== |
Anthony Sottile | b1a8062 | 2018-02-19 13:27:08 -0800 | [diff] [blame] | 481 | ### Fixes: |
| 482 | - `detect-aws-credentials` false positive when key was empty |
| 483 | - #258 issue by @PVSec. |
| 484 | - #260 PR by @PVSec. |
| 485 | - `no-commit-to-branch` no longer crashes when not on a branch |
| 486 | - #265 issue by @hectorv. |
| 487 | - #266 PR by @asottile. |
| 488 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 489 | 1.2.0 - 2018-01-13 |
| 490 | ================== |
Anthony Sottile | 0ddb3b8 | 2018-01-13 17:36:06 -0800 | [diff] [blame] | 491 | ### Features: |
| 492 | - Add new `check-builtin-literals` hook. |
| 493 | - #249 #251 PR by @benwebber. |
| 494 | - `pretty-format-json` no longer depends on `simplejson`. |
| 495 | - #254 PR by @cas--. |
| 496 | - `detect-private-key` now detects gcp keys. |
| 497 | - #255 issue by @SaMnCo @nicain. |
| 498 | - #256 PR by @nicain. |
| 499 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 500 | 1.1.1 - 2017-10-19 |
| 501 | ================== |
Anthony Sottile | f1e943e | 2017-10-19 10:34:23 -0700 | [diff] [blame] | 502 | ### Fixes: |
| 503 | - Fix output interleaving in `check-vcs-permalinks` under python3. |
| 504 | - #245 PR by @asottile. |
| 505 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 506 | 1.1.0 - 2017-10-12 |
| 507 | ================== |
Anthony Sottile | 8a98c5e | 2017-10-12 16:00:22 -0700 | [diff] [blame] | 508 | ### Features: |
| 509 | - `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow |
| 510 | linting of files using the |
| 511 | [multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML) |
| 512 | - pre-commit/pre-commit#635 issue by @geekobi. |
| 513 | - #244 PR by @asottile. |
| 514 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 515 | 1.0.0 - 2017-10-09 |
| 516 | ================== |
Anthony Sottile | c326dc2 | 2017-10-09 13:17:25 -0700 | [diff] [blame] | 517 | ### Features: |
| 518 | - New hook: `check-vcs-permalinks` for ensuring permalinked github urls. |
| 519 | - #241 PR by @asottile. |
Anthony Sottile | e09278e | 2017-10-09 13:20:16 -0700 | [diff] [blame] | 520 | |
Anthony Sottile | c326dc2 | 2017-10-09 13:17:25 -0700 | [diff] [blame] | 521 | ### Fixes: |
| 522 | - Fix `trailing-whitespace` for non-utf8 files on macos |
| 523 | - #242 PR by @asottile. |
| 524 | - Fix `requirements-txt-fixer` for files ending in comments |
| 525 | - #243 PR by @asottile. |
| 526 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 527 | 0.9.5 - 2017-09-27 |
| 528 | ================== |
Anthony Sottile | dec98f7 | 2017-09-27 07:55:32 -0700 | [diff] [blame] | 529 | - Fix mixed-line-endings `--fix=...` when whole file is a different ending |
| 530 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 531 | 0.9.4 - 2017-09-19 |
| 532 | ================== |
Anthony Sottile | efdceb4 | 2017-09-19 10:26:18 -0700 | [diff] [blame] | 533 | - Fix entry point for `mixed-line-ending` |
| 534 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 535 | 0.9.3 - 2017-09-07 |
| 536 | ================== |
Anthony Sottile | 9730eb3 | 2017-09-07 19:54:30 -0700 | [diff] [blame] | 537 | - New hook: `mixed-line-ending` |
| 538 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 539 | 0.9.2 - 2017-08-21 |
| 540 | ================== |
Anthony Sottile | 78dffcc | 2017-08-21 10:58:25 -0700 | [diff] [blame] | 541 | - Report full python version in `check-ast`. |
| 542 | - Apply a more strict regular expression for `name-tests-test` |
| 543 | - Upgrade binding for `git-lfs` for `check-added-large-files`. The oldest |
| 544 | version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all |
| 545 | files as "lfs" (false negative) and earlier versions will crash. |
| 546 | - `debug-statements` now works for non-utf-8 files. |
| 547 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 548 | 0.9.1 - 2017-07-02 |
| 549 | ================== |
Anthony Sottile | 7192665 | 2017-07-02 22:27:09 -0700 | [diff] [blame] | 550 | - Add `check-executables-have-shebangs` hook. |
| 551 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 552 | 0.9.0 - 2017-07-02 |
| 553 | ================== |
Anthony Sottile | 5dbbd4d | 2017-07-02 21:21:19 -0700 | [diff] [blame] | 554 | - Add `sort-simple-yaml` hook |
| 555 | - Fix `requirements-txt-fixer` for empty files |
| 556 | - Add `file-contents-sorter` hook for sorting flat files |
| 557 | - `check-merge-conflict` now recognizes rebase conflicts |
| 558 | - Metadata now uses `types` (and therefore requires pre-commit 0.15.0). This |
| 559 | allows the text processing hooks to match *all* text files (and to match |
| 560 | files which would only be classifiable by their shebangs). |
| 561 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 562 | 0.8.0 - 2017-06-06 |
| 563 | ================== |
Anthony Sottile | 78818b9 | 2017-06-06 14:26:36 -0700 | [diff] [blame] | 564 | - Add flag allowing missing keys to `detect-aws-credentials` |
| 565 | - Handle django default `tests.py` in `name-tests-test` |
| 566 | - Add `--no-ensure-ascii` option to `pretty-format-json` |
| 567 | - Add `no-commit-to-branch` hook |
| 568 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 569 | 0.7.1 - 2017-02-07 |
| 570 | ================== |
Anthony Sottile | 20f0462 | 2017-02-07 10:00:42 -0800 | [diff] [blame] | 571 | - Don't false positive on files where trailing whitespace isn't changed. |
| 572 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 573 | 0.7.0 - 2017-01-21 |
| 574 | ================== |
Anthony Sottile | 63142f2 | 2017-01-21 18:32:17 -0800 | [diff] [blame] | 575 | - Improve search for detecting aws keys |
| 576 | - Add .pre-commit-hooks.yaml for forward compatibility |
| 577 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 578 | 0.6.1 - 2016-11-30 |
| 579 | ================== |
Anthony Sottile | 77a7bba | 2016-11-30 10:40:03 -0800 | [diff] [blame] | 580 | - trailing-whitespace-hook: restore original file on catastrophic failure |
| 581 | - trailing-whitespace-hook: support crlf |
| 582 | - check-yaml: Use safe_load |
| 583 | - check-json: allow custom key sort |
| 584 | - check-json: display filename for non-utf8 files |
| 585 | - New hook: forbid-new-submodules |
| 586 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 587 | 0.6.0 - 2016-08-12 |
| 588 | ================== |
Anthony Sottile | 6925455 | 2016-08-12 10:23:38 -0700 | [diff] [blame] | 589 | - Merge conflict detection no longer crashes on binary files |
| 590 | - Indentation in json may be an arbitrary separator |
| 591 | - Editable requirements are properly sorted |
| 592 | - Encoding pragma fixer pragma is configurable |
| 593 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 594 | 0.5.1 - 2016-05-16 |
| 595 | ================== |
Anthony Sottile | adbb569 | 2016-05-16 09:12:32 -0700 | [diff] [blame] | 596 | - Add a --no-sort-keys to json pretty formatter |
| 597 | - Add a --remove to fix-encoding-pragma |
| 598 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 599 | 0.5.0 - 2016-04-05 |
| 600 | ================== |
Anthony Sottile | ff65d01 | 2016-04-05 10:52:44 -0700 | [diff] [blame] | 601 | - Add check-byte-order-marker |
| 602 | - Add check-synlinks |
| 603 | - check-large-files-added understands git-lfs |
| 604 | - Support older git |
| 605 | - Fix regex for --django in test name checker |
| 606 | - Add fix-encoding-pragma hook |
| 607 | - requirements-txt-fixer now sorts like latest pip |
| 608 | - Add check-ast hook |
| 609 | - Add detect-aws-credentials hook |
| 610 | - Allow binary files to pass private key hook |
| 611 | - Add pretty-format-json hook |
| 612 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 613 | 0.4.2 - 2015-05-31 |
| 614 | ================== |
Anthony Sottile | cf550fc | 2015-05-31 14:02:52 -0700 | [diff] [blame] | 615 | - Add --django to test name checker |
| 616 | - Add check-merge-conflict hook |
| 617 | - Remove dependency on plumbum |
| 618 | - Add q as a debug statement |
| 619 | - Don't detect markup titles as conflicts |
| 620 | - Teach trailing-whitespace about markdown |
| 621 | - Quickfix for pyflakes - flake8 version conflict |
| 622 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 623 | 0.4.1 - 2015-03-08 |
| 624 | ================== |
Anthony Sottile | 4cb861a | 2015-03-08 12:32:40 -0700 | [diff] [blame] | 625 | - Respect configuration when running autopep8 |
| 626 | - Quickfix for pep8 version conflicts |
| 627 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 628 | 0.4.0 - 2015-02-22 |
| 629 | ================== |
Anthony Sottile | 9f107a0 | 2015-02-22 08:39:33 -0800 | [diff] [blame] | 630 | - Fix trailing-whitespace on OS X |
| 631 | - Add check-added-large-files hook |
| 632 | - Add check-docstring-first hook |
| 633 | - Add requirements-txt-fixer hook |
| 634 | - Add check-case-conflict hook |
| 635 | - Use yaml's CLoader when available in check-yaml for more speed |
| 636 | - Add check-xml hook |
| 637 | - Fix end-of-file-fixer for windows |
| 638 | - Add double-quote-string-fixer hook |
| 639 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 640 | 0.3.0 - 2014-08-22 |
| 641 | ================== |
Anthony Sottile | 6343700 | 2014-08-22 11:11:31 -0700 | [diff] [blame] | 642 | - Add autopep8-wrapper hook |
| 643 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 644 | 0.2.0 - 2014-08-19 |
| 645 | ================== |
Anthony Sottile | 0121199 | 2014-08-19 17:33:34 -0700 | [diff] [blame] | 646 | - Add check-json hook |
| 647 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 648 | 0.1.1 - 2014-06-19 |
| 649 | ================== |
Anthony Sottile | c94b208 | 2014-06-19 17:51:42 -0700 | [diff] [blame] | 650 | - Don't crash on non-parseable files for debug-statement-hook |
| 651 | |
Anthony Sottile | 3ed9b62 | 2019-08-11 16:31:05 -0700 | [diff] [blame] | 652 | 0.1.0 - 2014-06-07 |
| 653 | ================== |
Anthony Sottile | c94b208 | 2014-06-19 17:51:42 -0700 | [diff] [blame] | 654 | - Initial Release |