blob: b58ddbcf1e2249bdf15561fddd283977fc755cf7 [file] [log] [blame] [view]
Anthony Sottilea6209d82018-05-28 10:34:46 -070011.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 Sottile92e15702018-02-28 09:14:40 -0800231.2.3
24=====
25
26### Fixes
27- `trailing-whitespace` entrypoint was incorrect.
28 - f6780b9 by @asottile.
29
Anthony Sottile1b127232018-02-28 09:01:18 -0800301.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 Sottile2f8b6252018-02-24 09:41:00 -0800381.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 Sottileb1a80622018-02-19 13:27:08 -0800481.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 Sottile0ddb3b82018-01-13 17:36:06 -0800581.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 Sottilef1e943e2017-10-19 10:34:23 -0700691.1.1
70=====
71### Fixes:
72- Fix output interleaving in `check-vcs-permalinks` under python3.
73 - #245 PR by @asottile.
74
Anthony Sottile8a98c5e2017-10-12 16:00:22 -0700751.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 Sottilec326dc22017-10-09 13:17:25 -0700841.0.0
85=====
86### Features:
87- New hook: `check-vcs-permalinks` for ensuring permalinked github urls.
88 - #241 PR by @asottile.
Anthony Sottilee09278e2017-10-09 13:20:16 -070089
Anthony Sottilec326dc22017-10-09 13:17:25 -070090### 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 Sottiledec98f72017-09-27 07:55:32 -0700960.9.5
97=====
98- Fix mixed-line-endings `--fix=...` when whole file is a different ending
99
Anthony Sottileefdceb42017-09-19 10:26:18 -07001000.9.4
101=====
102- Fix entry point for `mixed-line-ending`
103
Anthony Sottile9730eb32017-09-07 19:54:30 -07001040.9.3
105=====
106- New hook: `mixed-line-ending`
107
Anthony Sottile78dffcc2017-08-21 10:58:25 -07001080.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 Sottile71926652017-07-02 22:27:09 -07001170.9.1
118=====
119- Add `check-executables-have-shebangs` hook.
120
Anthony Sottile5dbbd4d2017-07-02 21:21:19 -07001210.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 Sottile78818b92017-06-06 14:26:36 -07001310.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 Sottile20f04622017-02-07 10:00:42 -08001380.7.1
139=====
140- Don't false positive on files where trailing whitespace isn't changed.
141
Anthony Sottile63142f22017-01-21 18:32:17 -08001420.7.0
143=====
144- Improve search for detecting aws keys
145- Add .pre-commit-hooks.yaml for forward compatibility
146
Anthony Sottile77a7bba2016-11-30 10:40:03 -08001470.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 Sottile69254552016-08-12 10:23:38 -07001560.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 Sottileadbb5692016-05-16 09:12:32 -07001630.5.1
164=====
165- Add a --no-sort-keys to json pretty formatter
166- Add a --remove to fix-encoding-pragma
167
Anthony Sottileff65d012016-04-05 10:52:44 -07001680.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 Sottilecf550fc2015-05-31 14:02:52 -07001820.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 Sottile4cb861a2015-03-08 12:32:40 -07001920.4.1
193=====
194- Respect configuration when running autopep8
195- Quickfix for pep8 version conflicts
196
Anthony Sottile9f107a02015-02-22 08:39:33 -08001970.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 Sottile63437002014-08-22 11:11:31 -07002090.3.0
210=====
211- Add autopep8-wrapper hook
212
Anthony Sottile01211992014-08-19 17:33:34 -07002130.2.0
214=====
215- Add check-json hook
216
Anthony Sottilec94b2082014-06-19 17:51:42 -07002170.1.1
218=====
219- Don't crash on non-parseable files for debug-statement-hook
220
2210.1.0
222=====
223- Initial Release