Anthony Sottile | a6209d8 | 2018-05-28 10:34:46 -0700 | [diff] [blame^] | 1 | 1.3.0 |
| 2 | ===== |
| 3 | |
| 4 | ### Features |
| 5 | - Add an `--unsafe` argument to `check-yaml` to allow custom yaml tags |
| 6 | - #273 issue by @blackillzone. |
| 7 | - #274 PR by @asottile. |
| 8 | - Automatically remove `pkg-resources==0.0.0` in `requirements-txt-fixer` |
| 9 | - #275 PR by @nvtkaszpir. |
| 10 | - Detect `breakpoint()` (python3.7+) in `debug-statements` hook. |
| 11 | - #283 PR by @asottile. |
| 12 | - Detect sshcom and putty hooks in `detect-private-key` |
| 13 | - #287 PR by @vin01. |
| 14 | |
| 15 | ### Fixes |
| 16 | - Open files as UTF-8 (`autopep8-wrapper`, `check-docstring-first`, |
| 17 | `double-quote-string-fixer`) |
| 18 | - #279 PR by @nvtkaszpir. |
| 19 | - Fix `AttributeError` in `check-builtin-literals` for some functions |
| 20 | - #285 issue by @EgoWumpus. |
| 21 | - #286 PR by @asottile. |
| 22 | |
Anthony Sottile | 92e1570 | 2018-02-28 09:14:40 -0800 | [diff] [blame] | 23 | 1.2.3 |
| 24 | ===== |
| 25 | |
| 26 | ### Fixes |
| 27 | - `trailing-whitespace` entrypoint was incorrect. |
| 28 | - f6780b9 by @asottile. |
| 29 | |
Anthony Sottile | 1b12723 | 2018-02-28 09:01:18 -0800 | [diff] [blame] | 30 | 1.2.2 |
| 31 | ===== |
| 32 | |
| 33 | ### Fixes |
| 34 | - `trailing-whitespace` no longer adds a missing newline at end-of-file |
| 35 | - #270 issue by @fractos. |
| 36 | - #271 PR by @asottile. |
| 37 | |
Anthony Sottile | 2f8b625 | 2018-02-24 09:41:00 -0800 | [diff] [blame] | 38 | 1.2.1-1 |
| 39 | ======= |
| 40 | |
| 41 | (Note: this is a tag-only release as no code changes occurred) |
| 42 | |
| 43 | ### Fixes: |
| 44 | - Don't pass filenames for `no-commit-to-branch` |
| 45 | - #268 issue by @dongyuzheng. |
| 46 | - #269 PR by @asottile. |
| 47 | |
Anthony Sottile | b1a8062 | 2018-02-19 13:27:08 -0800 | [diff] [blame] | 48 | 1.2.1 |
| 49 | ===== |
| 50 | ### Fixes: |
| 51 | - `detect-aws-credentials` false positive when key was empty |
| 52 | - #258 issue by @PVSec. |
| 53 | - #260 PR by @PVSec. |
| 54 | - `no-commit-to-branch` no longer crashes when not on a branch |
| 55 | - #265 issue by @hectorv. |
| 56 | - #266 PR by @asottile. |
| 57 | |
Anthony Sottile | 0ddb3b8 | 2018-01-13 17:36:06 -0800 | [diff] [blame] | 58 | 1.2.0 |
| 59 | ===== |
| 60 | ### Features: |
| 61 | - Add new `check-builtin-literals` hook. |
| 62 | - #249 #251 PR by @benwebber. |
| 63 | - `pretty-format-json` no longer depends on `simplejson`. |
| 64 | - #254 PR by @cas--. |
| 65 | - `detect-private-key` now detects gcp keys. |
| 66 | - #255 issue by @SaMnCo @nicain. |
| 67 | - #256 PR by @nicain. |
| 68 | |
Anthony Sottile | f1e943e | 2017-10-19 10:34:23 -0700 | [diff] [blame] | 69 | 1.1.1 |
| 70 | ===== |
| 71 | ### Fixes: |
| 72 | - Fix output interleaving in `check-vcs-permalinks` under python3. |
| 73 | - #245 PR by @asottile. |
| 74 | |
Anthony Sottile | 8a98c5e | 2017-10-12 16:00:22 -0700 | [diff] [blame] | 75 | 1.1.0 |
| 76 | ===== |
| 77 | ### Features: |
| 78 | - `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow |
| 79 | linting of files using the |
| 80 | [multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML) |
| 81 | - pre-commit/pre-commit#635 issue by @geekobi. |
| 82 | - #244 PR by @asottile. |
| 83 | |
Anthony Sottile | c326dc2 | 2017-10-09 13:17:25 -0700 | [diff] [blame] | 84 | 1.0.0 |
| 85 | ===== |
| 86 | ### Features: |
| 87 | - New hook: `check-vcs-permalinks` for ensuring permalinked github urls. |
| 88 | - #241 PR by @asottile. |
Anthony Sottile | e09278e | 2017-10-09 13:20:16 -0700 | [diff] [blame] | 89 | |
Anthony Sottile | c326dc2 | 2017-10-09 13:17:25 -0700 | [diff] [blame] | 90 | ### Fixes: |
| 91 | - Fix `trailing-whitespace` for non-utf8 files on macos |
| 92 | - #242 PR by @asottile. |
| 93 | - Fix `requirements-txt-fixer` for files ending in comments |
| 94 | - #243 PR by @asottile. |
| 95 | |
Anthony Sottile | dec98f7 | 2017-09-27 07:55:32 -0700 | [diff] [blame] | 96 | 0.9.5 |
| 97 | ===== |
| 98 | - Fix mixed-line-endings `--fix=...` when whole file is a different ending |
| 99 | |
Anthony Sottile | efdceb4 | 2017-09-19 10:26:18 -0700 | [diff] [blame] | 100 | 0.9.4 |
| 101 | ===== |
| 102 | - Fix entry point for `mixed-line-ending` |
| 103 | |
Anthony Sottile | 9730eb3 | 2017-09-07 19:54:30 -0700 | [diff] [blame] | 104 | 0.9.3 |
| 105 | ===== |
| 106 | - New hook: `mixed-line-ending` |
| 107 | |
Anthony Sottile | 78dffcc | 2017-08-21 10:58:25 -0700 | [diff] [blame] | 108 | 0.9.2 |
| 109 | ===== |
| 110 | - Report full python version in `check-ast`. |
| 111 | - Apply a more strict regular expression for `name-tests-test` |
| 112 | - Upgrade binding for `git-lfs` for `check-added-large-files`. The oldest |
| 113 | version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all |
| 114 | files as "lfs" (false negative) and earlier versions will crash. |
| 115 | - `debug-statements` now works for non-utf-8 files. |
| 116 | |
Anthony Sottile | 7192665 | 2017-07-02 22:27:09 -0700 | [diff] [blame] | 117 | 0.9.1 |
| 118 | ===== |
| 119 | - Add `check-executables-have-shebangs` hook. |
| 120 | |
Anthony Sottile | 5dbbd4d | 2017-07-02 21:21:19 -0700 | [diff] [blame] | 121 | 0.9.0 |
| 122 | ===== |
| 123 | - Add `sort-simple-yaml` hook |
| 124 | - Fix `requirements-txt-fixer` for empty files |
| 125 | - Add `file-contents-sorter` hook for sorting flat files |
| 126 | - `check-merge-conflict` now recognizes rebase conflicts |
| 127 | - Metadata now uses `types` (and therefore requires pre-commit 0.15.0). This |
| 128 | allows the text processing hooks to match *all* text files (and to match |
| 129 | files which would only be classifiable by their shebangs). |
| 130 | |
Anthony Sottile | 78818b9 | 2017-06-06 14:26:36 -0700 | [diff] [blame] | 131 | 0.8.0 |
| 132 | ===== |
| 133 | - Add flag allowing missing keys to `detect-aws-credentials` |
| 134 | - Handle django default `tests.py` in `name-tests-test` |
| 135 | - Add `--no-ensure-ascii` option to `pretty-format-json` |
| 136 | - Add `no-commit-to-branch` hook |
| 137 | |
Anthony Sottile | 20f0462 | 2017-02-07 10:00:42 -0800 | [diff] [blame] | 138 | 0.7.1 |
| 139 | ===== |
| 140 | - Don't false positive on files where trailing whitespace isn't changed. |
| 141 | |
Anthony Sottile | 63142f2 | 2017-01-21 18:32:17 -0800 | [diff] [blame] | 142 | 0.7.0 |
| 143 | ===== |
| 144 | - Improve search for detecting aws keys |
| 145 | - Add .pre-commit-hooks.yaml for forward compatibility |
| 146 | |
Anthony Sottile | 77a7bba | 2016-11-30 10:40:03 -0800 | [diff] [blame] | 147 | 0.6.1 |
| 148 | ===== |
| 149 | - trailing-whitespace-hook: restore original file on catastrophic failure |
| 150 | - trailing-whitespace-hook: support crlf |
| 151 | - check-yaml: Use safe_load |
| 152 | - check-json: allow custom key sort |
| 153 | - check-json: display filename for non-utf8 files |
| 154 | - New hook: forbid-new-submodules |
| 155 | |
Anthony Sottile | 6925455 | 2016-08-12 10:23:38 -0700 | [diff] [blame] | 156 | 0.6.0 |
| 157 | ===== |
| 158 | - Merge conflict detection no longer crashes on binary files |
| 159 | - Indentation in json may be an arbitrary separator |
| 160 | - Editable requirements are properly sorted |
| 161 | - Encoding pragma fixer pragma is configurable |
| 162 | |
Anthony Sottile | adbb569 | 2016-05-16 09:12:32 -0700 | [diff] [blame] | 163 | 0.5.1 |
| 164 | ===== |
| 165 | - Add a --no-sort-keys to json pretty formatter |
| 166 | - Add a --remove to fix-encoding-pragma |
| 167 | |
Anthony Sottile | ff65d01 | 2016-04-05 10:52:44 -0700 | [diff] [blame] | 168 | 0.5.0 |
| 169 | ===== |
| 170 | - Add check-byte-order-marker |
| 171 | - Add check-synlinks |
| 172 | - check-large-files-added understands git-lfs |
| 173 | - Support older git |
| 174 | - Fix regex for --django in test name checker |
| 175 | - Add fix-encoding-pragma hook |
| 176 | - requirements-txt-fixer now sorts like latest pip |
| 177 | - Add check-ast hook |
| 178 | - Add detect-aws-credentials hook |
| 179 | - Allow binary files to pass private key hook |
| 180 | - Add pretty-format-json hook |
| 181 | |
Anthony Sottile | cf550fc | 2015-05-31 14:02:52 -0700 | [diff] [blame] | 182 | 0.4.2 |
| 183 | ===== |
| 184 | - Add --django to test name checker |
| 185 | - Add check-merge-conflict hook |
| 186 | - Remove dependency on plumbum |
| 187 | - Add q as a debug statement |
| 188 | - Don't detect markup titles as conflicts |
| 189 | - Teach trailing-whitespace about markdown |
| 190 | - Quickfix for pyflakes - flake8 version conflict |
| 191 | |
Anthony Sottile | 4cb861a | 2015-03-08 12:32:40 -0700 | [diff] [blame] | 192 | 0.4.1 |
| 193 | ===== |
| 194 | - Respect configuration when running autopep8 |
| 195 | - Quickfix for pep8 version conflicts |
| 196 | |
Anthony Sottile | 9f107a0 | 2015-02-22 08:39:33 -0800 | [diff] [blame] | 197 | 0.4.0 |
| 198 | ===== |
| 199 | - Fix trailing-whitespace on OS X |
| 200 | - Add check-added-large-files hook |
| 201 | - Add check-docstring-first hook |
| 202 | - Add requirements-txt-fixer hook |
| 203 | - Add check-case-conflict hook |
| 204 | - Use yaml's CLoader when available in check-yaml for more speed |
| 205 | - Add check-xml hook |
| 206 | - Fix end-of-file-fixer for windows |
| 207 | - Add double-quote-string-fixer hook |
| 208 | |
Anthony Sottile | 6343700 | 2014-08-22 11:11:31 -0700 | [diff] [blame] | 209 | 0.3.0 |
| 210 | ===== |
| 211 | - Add autopep8-wrapper hook |
| 212 | |
Anthony Sottile | 0121199 | 2014-08-19 17:33:34 -0700 | [diff] [blame] | 213 | 0.2.0 |
| 214 | ===== |
| 215 | - Add check-json hook |
| 216 | |
Anthony Sottile | c94b208 | 2014-06-19 17:51:42 -0700 | [diff] [blame] | 217 | 0.1.1 |
| 218 | ===== |
| 219 | - Don't crash on non-parseable files for debug-statement-hook |
| 220 | |
| 221 | 0.1.0 |
| 222 | ===== |
| 223 | - Initial Release |