Skip to content

Commit 0cc199d

Browse files
committed
v2.0.0
1 parent 6c2a148 commit 0cc199d

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
2.0.0 - 2020-01-28
2+
==================
3+
4+
### Features
5+
- Expose `PRE_COMMIT_REMOTE_NAME` and `PRE_COMMIT_REMOTE_URL` as environment
6+
variables during `pre-push` hooks.
7+
- #1274 issue by @dmbarreiro.
8+
- #1288 PR by @dmbarreiro.
9+
10+
### Fixes
11+
- Fix `python -m pre_commit --version` to mention `pre-commit` instead of
12+
`__main__.py`.
13+
- #1273 issue by @ssbarnea.
14+
- #1276 PR by @orcutt989.
15+
- Don't filter `GIT_SSL_NO_VERIFY` from environment when cloning.
16+
- #1293 PR by @schiermike.
17+
- Allow `pre-commit init-templatedir` to succeed even if `core.hooksPath` is
18+
set.
19+
- #1298 issue by @damienrj.
20+
- #1299 PR by @asottile.
21+
22+
### Misc
23+
- Fix changelog date for 1.21.0.
24+
- #1275 PR by @flaudisio.
25+
26+
### Updating
27+
- Removed `pcre` language, use `pygrep` instead.
28+
- #1268 PR by @asottile.
29+
- Removed `--tags-only` argument to `pre-commit autoupdate` (it has done
30+
nothing since 0.14.0).
31+
- #1269 by @asottile.
32+
- Remove python2 / python3.5 support. Note that pre-commit still supports
33+
running hooks written in python2, but pre-commit itself requires python 3.6+.
34+
- #1260 issue by @asottile.
35+
- #1277 PR by @asottile.
36+
- #1281 PR by @asottile.
37+
- #1282 PR by @asottile.
38+
- #1287 PR by @asottile.
39+
- #1289 PR by @asottile.
40+
- #1292 PR by @asottile.
41+
142
1.21.0 - 2020-01-02
243
===================
344

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = pre_commit
3-
version = 1.21.0
3+
version = 2.0.0
44
description = A framework for managing and maintaining multi-language pre-commit hooks.
55
long_description = file: README.md
66
long_description_content_type = text/markdown

0 commit comments

Comments
 (0)