Mercurial > public > mercurial-scm > hg-stable
annotate relnotes/next @ 44952:95c832849955
setup: require that Python has TLS 1.1 or TLS 1.2
This ensures that Mercurial never downgrades the minimum TLS version from
TLS 1.1+ to TLS 1.0+ and enables us to remove that compatibility code.
It is reasonable to expect that distributions having Python 2.7.9+ or having
backported modern features to the ssl module (which we require) have a OpenSSL
version supporting TLS 1.1 or TLS 1.2, as this is the main reason why
distributions would want to backport these features.
TLS 1.1 and TLS 1.2 are often either both enabled or both not enabled.
However, both can be disabled independently, at least on current Python /
OpenSSL versions.
For the record, I contacted the CPython developers to remark that
unconditionally defining ssl.PROTOCOL_TLSv1_1 / ssl.PROTOCOL_TLSv1_2 is
problematic:
https://github.com/python/cpython/commit/6e8cda91d92da72800d891b2fc2073ecbc134d98#r39569316
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sat, 30 May 2020 23:42:19 +0200 |
parents | 61cdc8137d53 |
children | f330d6117a5b |
rev | line source |
---|---|
42298
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
1 == New Features == |
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
2 |
44427
acbfa31cfaf2
debugmergestate: make templated
Martin von Zweigbergk <martinvonz@google.com>
parents:
44423
diff
changeset
|
3 |
44401
9dab3fa64325
copy: add experimental support for marking committed copies
Martin von Zweigbergk <martinvonz@google.com>
parents:
44399
diff
changeset
|
4 == New Experimental Features == |
44377
8561ad49915d
revset: add a revset for parents in merge state
Martin von Zweigbergk <martinvonz@google.com>
parents:
44335
diff
changeset
|
5 |
44439
edc8504bc26b
exchange: turn on option that makes concurrent pushes work better
Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
parents:
44429
diff
changeset
|
6 |
42298
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
7 == Backwards Compatibility Changes == |
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
8 |
44946
61cdc8137d53
relnotes: note that we now require modern SSL/TLS features in Python
Manuel Jacob <me@manueljacob.de>
parents:
44915
diff
changeset
|
9 * Mercurial now requires at least Python 2.7.9 or a Python version that |
44952
95c832849955
setup: require that Python has TLS 1.1 or TLS 1.2
Manuel Jacob <me@manueljacob.de>
parents:
44946
diff
changeset
|
10 backported modern SSL/TLS features (as defined in PEP 466), and that Python |
95c832849955
setup: require that Python has TLS 1.1 or TLS 1.2
Manuel Jacob <me@manueljacob.de>
parents:
44946
diff
changeset
|
11 was compiled against a OpenSSL version supporting TLS 1.1 or TLS 1.2 |
95c832849955
setup: require that Python has TLS 1.1 or TLS 1.2
Manuel Jacob <me@manueljacob.de>
parents:
44946
diff
changeset
|
12 (likely this requires the OpenSSL version to be at least 1.0.1). |
44946
61cdc8137d53
relnotes: note that we now require modern SSL/TLS features in Python
Manuel Jacob <me@manueljacob.de>
parents:
44915
diff
changeset
|
13 |
44427
acbfa31cfaf2
debugmergestate: make templated
Martin von Zweigbergk <martinvonz@google.com>
parents:
44423
diff
changeset
|
14 |
42298
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
15 == Internal API Changes == |
0ed293a3f00e
releasenotes: add a file in which to record release notes
Martin von Zweigbergk <martinvonz@google.com>
parents:
diff
changeset
|
16 |
44912
ba5688e3b3bd
relnotes: add API change note per request in D8502
Augie Fackler <augie@google.com>
parents:
44781
diff
changeset
|
17 * logcmdutil.diffordiffstat() now takes contexts instead of nodes. |
ba5688e3b3bd
relnotes: add API change note per request in D8502
Augie Fackler <augie@google.com>
parents:
44781
diff
changeset
|
18 |
44915
b7808443ed6a
mergestate: split out merge state handling code from main merge module
Augie Fackler <augie@google.com>
parents:
44912
diff
changeset
|
19 * The `mergestate` class along with some related methods and constants have |
b7808443ed6a
mergestate: split out merge state handling code from main merge module
Augie Fackler <augie@google.com>
parents:
44912
diff
changeset
|
20 moved from `mercurial.merge` to a new `mercurial.mergestate` module. |
b7808443ed6a
mergestate: split out merge state handling code from main merge module
Augie Fackler <augie@google.com>
parents:
44912
diff
changeset
|
21 |