blob: 04dd781bb69ba7d2414e925a0b0ede659e4985a5 [file] [log] [blame] [view]
Anthony Sottile92e15702018-02-28 09:14:40 -080011.2.3
2=====
3
4### Fixes
5- `trailing-whitespace` entrypoint was incorrect.
6 - f6780b9 by @asottile.
7
Anthony Sottile1b127232018-02-28 09:01:18 -080081.2.2
9=====
10
11### Fixes
12- `trailing-whitespace` no longer adds a missing newline at end-of-file
13 - #270 issue by @fractos.
14 - #271 PR by @asottile.
15
Anthony Sottile2f8b6252018-02-24 09:41:00 -0800161.2.1-1
17=======
18
19(Note: this is a tag-only release as no code changes occurred)
20
21### Fixes:
22- Don't pass filenames for `no-commit-to-branch`
23 - #268 issue by @dongyuzheng.
24 - #269 PR by @asottile.
25
Anthony Sottileb1a80622018-02-19 13:27:08 -0800261.2.1
27=====
28### Fixes:
29- `detect-aws-credentials` false positive when key was empty
30 - #258 issue by @PVSec.
31 - #260 PR by @PVSec.
32- `no-commit-to-branch` no longer crashes when not on a branch
33 - #265 issue by @hectorv.
34 - #266 PR by @asottile.
35
Anthony Sottile0ddb3b82018-01-13 17:36:06 -0800361.2.0
37=====
38### Features:
39- Add new `check-builtin-literals` hook.
40 - #249 #251 PR by @benwebber.
41- `pretty-format-json` no longer depends on `simplejson`.
42 - #254 PR by @cas--.
43- `detect-private-key` now detects gcp keys.
44 - #255 issue by @SaMnCo @nicain.
45 - #256 PR by @nicain.
46
Anthony Sottilef1e943e2017-10-19 10:34:23 -0700471.1.1
48=====
49### Fixes:
50- Fix output interleaving in `check-vcs-permalinks` under python3.
51 - #245 PR by @asottile.
52
Anthony Sottile8a98c5e2017-10-12 16:00:22 -0700531.1.0
54=====
55### Features:
56- `check-yaml` gains a `--allow-multiple-documents` (`-m`) argument to allow
57 linting of files using the
58 [multi document syntax](http://www.yaml.org/spec/1.2/spec.html#YAML)
59 - pre-commit/pre-commit#635 issue by @geekobi.
60 - #244 PR by @asottile.
61
Anthony Sottilec326dc22017-10-09 13:17:25 -0700621.0.0
63=====
64### Features:
65- New hook: `check-vcs-permalinks` for ensuring permalinked github urls.
66 - #241 PR by @asottile.
Anthony Sottilee09278e2017-10-09 13:20:16 -070067
Anthony Sottilec326dc22017-10-09 13:17:25 -070068### Fixes:
69- Fix `trailing-whitespace` for non-utf8 files on macos
70 - #242 PR by @asottile.
71- Fix `requirements-txt-fixer` for files ending in comments
72 - #243 PR by @asottile.
73
Anthony Sottiledec98f72017-09-27 07:55:32 -0700740.9.5
75=====
76- Fix mixed-line-endings `--fix=...` when whole file is a different ending
77
Anthony Sottileefdceb42017-09-19 10:26:18 -0700780.9.4
79=====
80- Fix entry point for `mixed-line-ending`
81
Anthony Sottile9730eb32017-09-07 19:54:30 -0700820.9.3
83=====
84- New hook: `mixed-line-ending`
85
Anthony Sottile78dffcc2017-08-21 10:58:25 -0700860.9.2
87=====
88- Report full python version in `check-ast`.
89- Apply a more strict regular expression for `name-tests-test`
90- Upgrade binding for `git-lfs` for `check-added-large-files`. The oldest
91 version that is supported is 2.2.1 (2.2.0 will incorrectly refer to all
92 files as "lfs" (false negative) and earlier versions will crash.
93- `debug-statements` now works for non-utf-8 files.
94
Anthony Sottile71926652017-07-02 22:27:09 -0700950.9.1
96=====
97- Add `check-executables-have-shebangs` hook.
98
Anthony Sottile5dbbd4d2017-07-02 21:21:19 -0700990.9.0
100=====
101- Add `sort-simple-yaml` hook
102- Fix `requirements-txt-fixer` for empty files
103- Add `file-contents-sorter` hook for sorting flat files
104- `check-merge-conflict` now recognizes rebase conflicts
105- Metadata now uses `types` (and therefore requires pre-commit 0.15.0). This
106 allows the text processing hooks to match *all* text files (and to match
107 files which would only be classifiable by their shebangs).
108
Anthony Sottile78818b92017-06-06 14:26:36 -07001090.8.0
110=====
111- Add flag allowing missing keys to `detect-aws-credentials`
112- Handle django default `tests.py` in `name-tests-test`
113- Add `--no-ensure-ascii` option to `pretty-format-json`
114- Add `no-commit-to-branch` hook
115
Anthony Sottile20f04622017-02-07 10:00:42 -08001160.7.1
117=====
118- Don't false positive on files where trailing whitespace isn't changed.
119
Anthony Sottile63142f22017-01-21 18:32:17 -08001200.7.0
121=====
122- Improve search for detecting aws keys
123- Add .pre-commit-hooks.yaml for forward compatibility
124
Anthony Sottile77a7bba2016-11-30 10:40:03 -08001250.6.1
126=====
127- trailing-whitespace-hook: restore original file on catastrophic failure
128- trailing-whitespace-hook: support crlf
129- check-yaml: Use safe_load
130- check-json: allow custom key sort
131- check-json: display filename for non-utf8 files
132- New hook: forbid-new-submodules
133
Anthony Sottile69254552016-08-12 10:23:38 -07001340.6.0
135=====
136- Merge conflict detection no longer crashes on binary files
137- Indentation in json may be an arbitrary separator
138- Editable requirements are properly sorted
139- Encoding pragma fixer pragma is configurable
140
Anthony Sottileadbb5692016-05-16 09:12:32 -07001410.5.1
142=====
143- Add a --no-sort-keys to json pretty formatter
144- Add a --remove to fix-encoding-pragma
145
Anthony Sottileff65d012016-04-05 10:52:44 -07001460.5.0
147=====
148- Add check-byte-order-marker
149- Add check-synlinks
150- check-large-files-added understands git-lfs
151- Support older git
152- Fix regex for --django in test name checker
153- Add fix-encoding-pragma hook
154- requirements-txt-fixer now sorts like latest pip
155- Add check-ast hook
156- Add detect-aws-credentials hook
157- Allow binary files to pass private key hook
158- Add pretty-format-json hook
159
Anthony Sottilecf550fc2015-05-31 14:02:52 -07001600.4.2
161=====
162- Add --django to test name checker
163- Add check-merge-conflict hook
164- Remove dependency on plumbum
165- Add q as a debug statement
166- Don't detect markup titles as conflicts
167- Teach trailing-whitespace about markdown
168- Quickfix for pyflakes - flake8 version conflict
169
Anthony Sottile4cb861a2015-03-08 12:32:40 -07001700.4.1
171=====
172- Respect configuration when running autopep8
173- Quickfix for pep8 version conflicts
174
Anthony Sottile9f107a02015-02-22 08:39:33 -08001750.4.0
176=====
177- Fix trailing-whitespace on OS X
178- Add check-added-large-files hook
179- Add check-docstring-first hook
180- Add requirements-txt-fixer hook
181- Add check-case-conflict hook
182- Use yaml's CLoader when available in check-yaml for more speed
183- Add check-xml hook
184- Fix end-of-file-fixer for windows
185- Add double-quote-string-fixer hook
186
Anthony Sottile63437002014-08-22 11:11:31 -07001870.3.0
188=====
189- Add autopep8-wrapper hook
190
Anthony Sottile01211992014-08-19 17:33:34 -07001910.2.0
192=====
193- Add check-json hook
194
Anthony Sottilec94b2082014-06-19 17:51:42 -07001950.1.1
196=====
197- Don't crash on non-parseable files for debug-statement-hook
198
1990.1.0
200=====
201- Initial Release