From 43d7718eca9ec7536b5606aafe5acccb7a47a055 Mon Sep 17 00:00:00 2001 From: Amber Brown Date: Sun, 7 Apr 2019 18:44:11 +1000 Subject: [PATCH] Revert "19.2.0rc1 towncrier" This reverts commit ba524cb745c19fdf245e65b5f959199c0ca7cb9c. --- NEWS.rst | 96 -------------------- src/twisted/conch/newsfragments/8831.bugfix | 1 + src/twisted/conch/newsfragments/9515.feature | 1 + src/twisted/conch/newsfragments/9584.misc | 0 src/twisted/names/newsfragments/9373.feature | 1 + src/twisted/newsfragments/2546.doc | 1 + src/twisted/newsfragments/8921.misc | 0 src/twisted/newsfragments/9071.misc | 0 src/twisted/newsfragments/9125.misc | 1 + src/twisted/newsfragments/9192.bugfix | 1 + src/twisted/newsfragments/9305.bugfix | 1 + src/twisted/newsfragments/9334.doc | 1 + src/twisted/newsfragments/9428.misc | 0 src/twisted/newsfragments/9453.bugfix | 1 + src/twisted/newsfragments/9463.feature | 1 + src/twisted/newsfragments/9522.bugfix | 1 + src/twisted/newsfragments/9536.misc | 0 src/twisted/newsfragments/9540.misc | 0 src/twisted/newsfragments/9544.bugfix | 1 + src/twisted/newsfragments/9546.feature | 2 + src/twisted/newsfragments/9548.feature | 1 + src/twisted/newsfragments/9559.doc | 1 + src/twisted/newsfragments/9579.bugfix | 1 + src/twisted/newsfragments/9580.misc | 0 src/twisted/newsfragments/9585.feature | 1 + src/twisted/web/newsfragments/9138.feature | 1 + src/twisted/web/newsfragments/9420.bugfix | 1 + src/twisted/web/newsfragments/9421.bugfix | 1 + 28 files changed, 21 insertions(+), 96 deletions(-) create mode 100644 src/twisted/conch/newsfragments/8831.bugfix create mode 100644 src/twisted/conch/newsfragments/9515.feature create mode 100644 src/twisted/conch/newsfragments/9584.misc create mode 100644 src/twisted/names/newsfragments/9373.feature create mode 100644 src/twisted/newsfragments/2546.doc create mode 100644 src/twisted/newsfragments/8921.misc create mode 100644 src/twisted/newsfragments/9071.misc create mode 100644 src/twisted/newsfragments/9125.misc create mode 100644 src/twisted/newsfragments/9192.bugfix create mode 100644 src/twisted/newsfragments/9305.bugfix create mode 100644 src/twisted/newsfragments/9334.doc create mode 100644 src/twisted/newsfragments/9428.misc create mode 100644 src/twisted/newsfragments/9453.bugfix create mode 100644 src/twisted/newsfragments/9463.feature create mode 100644 src/twisted/newsfragments/9522.bugfix create mode 100644 src/twisted/newsfragments/9536.misc create mode 100644 src/twisted/newsfragments/9540.misc create mode 100644 src/twisted/newsfragments/9544.bugfix create mode 100644 src/twisted/newsfragments/9546.feature create mode 100644 src/twisted/newsfragments/9548.feature create mode 100644 src/twisted/newsfragments/9559.doc create mode 100644 src/twisted/newsfragments/9579.bugfix create mode 100644 src/twisted/newsfragments/9580.misc create mode 100644 src/twisted/newsfragments/9585.feature create mode 100644 src/twisted/web/newsfragments/9138.feature create mode 100644 src/twisted/web/newsfragments/9420.bugfix create mode 100644 src/twisted/web/newsfragments/9421.bugfix diff --git a/NEWS.rst b/NEWS.rst index f7f99902cfb..f2bdf94c628 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -3,102 +3,6 @@ http://twistedmatrix.com/trac/ticket/ .. towncrier release notes start -Twisted 19.2.0rc1 (2019-02-23) -============================== - -Features --------- - -- twisted.internet.ssl.CertificateOptions now uses 32 random bytes instead of an MD5 hash for the ssl session identifier context. (#9463) -- DeferredLock and DeferredSemaphore can be used as asynchronous context - managers on Python 3.5+. (#9546) -- t.i.b.BaseConnector has custom __repr__ (#9548) -- twisted.internet.ssl.optionsForClientTLS now supports validating IP addresses from the certificate subjectAltName (#9585) - - -Bugfixes --------- - -- twisted.web.proxy.ReverseProxyResource fixed documentation and example snippet (#9192) -- twisted.python.failure.Failure.getTracebackObject now returns traceback objects whose frames can be passed into traceback.print_stack for better debugging of where the exception came from. (#9305) -- twisted.internet.ssl.KeyPair.generate: No longer generate 1024-bit RSA keys by default. Anyone who generated a key with this method using the default value should move to replace it immediately. (#9453) -- The message of twisted.internet.error.ConnectionAborted is no longer truncated. (#9522) -- twisted.enterprise.adbapi.ConnectionPool.connect now logs only the dbapiName and not the connection arguments, which may contain credentials (#9544) -- twisted.python.runtime.Platform.supportsINotify no longer considers the result of isDocker for its own result. (#9579) - - -Improved Documentation ----------------------- - -- The documentation for the the twisted.internet.interfaces.IConsumer, IProducer, and IPullProducer interfaces is more detailed. (#2546) -- The errback example in the docstring of twisted.logger.Logger.failure has been corrected. (#9334) -- The sample code in the "Twisted Web In 60 Seconds" tutorial runs on Python 3. (#9559) - - -Misc ----- - -- #8921, #9071, #9125, #9428, #9536, #9540, #9580 - - -Conch ------ - -Features -~~~~~~~~ - -- twisted.conch.ssh.keys can now read private keys in the new "openssh-key-v1" format, introduced in OpenSSH 6.5 and made the default in OpenSSH 7.8. (#9515) - - -Bugfixes -~~~~~~~~ - -- Conch now uses pyca/cryptography for Diffie-Hellman key generation and agreement. (#8831) - - -Misc -~~~~ - -- #9584 - - -Web ---- - -Features -~~~~~~~~ - -- twisted.web.client.HostnameCachingHTTPSPolicy was added as a new contextFactory option. The policy caches a specified number of twisted.internet.interfaces.IOpenSSLClientConnectionCreator instances to to avoid the cost of instantiating a connection creator for multiple requests to the same host. (#9138) - - -Bugfixes -~~~~~~~~ - -- twisted.web.http.Request.cookies, twisted.web.http.HTTPChannel.writeHeaders, and twisted.web.http_headers.Headers were all vulnerable to header injection attacks. They now replace linear whitespace ('\r', '\n', and '\r\n') with a single space. twisted.web.http.Reqeuest.cookies also replaces semicolons (';') with a single space. (#9420) -- twisted.web.client.Request and twisted.web.client.HTTPClient were both vulnerable to header injection attacks. They now replace linear whitespace ('\r', '\n', and '\r\n') with a single space. (#9421) - - -Mail ----- - -No significant changes. - - -Words ------ - -No significant changes. - - -Names ------ - -Features -~~~~~~~~ - -- twisted.names.dns now has IRecord implementations for the SSHFP and TSIG record types. (#9373) - - Twisted 18.9.0 (2018-10-10) =========================== diff --git a/src/twisted/conch/newsfragments/8831.bugfix b/src/twisted/conch/newsfragments/8831.bugfix new file mode 100644 index 00000000000..ff18c62bc0f --- /dev/null +++ b/src/twisted/conch/newsfragments/8831.bugfix @@ -0,0 +1 @@ +Conch now uses pyca/cryptography for Diffie-Hellman key generation and agreement. diff --git a/src/twisted/conch/newsfragments/9515.feature b/src/twisted/conch/newsfragments/9515.feature new file mode 100644 index 00000000000..e8e317d7fda --- /dev/null +++ b/src/twisted/conch/newsfragments/9515.feature @@ -0,0 +1 @@ +twisted.conch.ssh.keys can now read private keys in the new "openssh-key-v1" format, introduced in OpenSSH 6.5 and made the default in OpenSSH 7.8. diff --git a/src/twisted/conch/newsfragments/9584.misc b/src/twisted/conch/newsfragments/9584.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/names/newsfragments/9373.feature b/src/twisted/names/newsfragments/9373.feature new file mode 100644 index 00000000000..ae17268b4d4 --- /dev/null +++ b/src/twisted/names/newsfragments/9373.feature @@ -0,0 +1 @@ +twisted.names.dns now has IRecord implementations for the SSHFP and TSIG record types. diff --git a/src/twisted/newsfragments/2546.doc b/src/twisted/newsfragments/2546.doc new file mode 100644 index 00000000000..7da5198f295 --- /dev/null +++ b/src/twisted/newsfragments/2546.doc @@ -0,0 +1 @@ +The documentation for the the twisted.internet.interfaces.IConsumer, IProducer, and IPullProducer interfaces is more detailed. \ No newline at end of file diff --git a/src/twisted/newsfragments/8921.misc b/src/twisted/newsfragments/8921.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/newsfragments/9071.misc b/src/twisted/newsfragments/9071.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/newsfragments/9125.misc b/src/twisted/newsfragments/9125.misc new file mode 100644 index 00000000000..93cfd666b82 --- /dev/null +++ b/src/twisted/newsfragments/9125.misc @@ -0,0 +1 @@ +Improved the exception text for mutually exclusive function arguments. diff --git a/src/twisted/newsfragments/9192.bugfix b/src/twisted/newsfragments/9192.bugfix new file mode 100644 index 00000000000..a610d771b16 --- /dev/null +++ b/src/twisted/newsfragments/9192.bugfix @@ -0,0 +1 @@ +twisted.web.proxy.ReverseProxyResource fixed documentation and example snippet \ No newline at end of file diff --git a/src/twisted/newsfragments/9305.bugfix b/src/twisted/newsfragments/9305.bugfix new file mode 100644 index 00000000000..890318c3c95 --- /dev/null +++ b/src/twisted/newsfragments/9305.bugfix @@ -0,0 +1 @@ +twisted.python.failure.Failure.getTracebackObject now returns traceback objects whose frames can be passed into traceback.print_stack for better debugging of where the exception came from. diff --git a/src/twisted/newsfragments/9334.doc b/src/twisted/newsfragments/9334.doc new file mode 100644 index 00000000000..2d606a1b62f --- /dev/null +++ b/src/twisted/newsfragments/9334.doc @@ -0,0 +1 @@ +The errback example in the docstring of twisted.logger.Logger.failure has been corrected. diff --git a/src/twisted/newsfragments/9428.misc b/src/twisted/newsfragments/9428.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/newsfragments/9453.bugfix b/src/twisted/newsfragments/9453.bugfix new file mode 100644 index 00000000000..ce34f3a914e --- /dev/null +++ b/src/twisted/newsfragments/9453.bugfix @@ -0,0 +1 @@ +twisted.internet.ssl.KeyPair.generate: No longer generate 1024-bit RSA keys by default. Anyone who generated a key with this method using the default value should move to replace it immediately. diff --git a/src/twisted/newsfragments/9463.feature b/src/twisted/newsfragments/9463.feature new file mode 100644 index 00000000000..e31c5dd56d5 --- /dev/null +++ b/src/twisted/newsfragments/9463.feature @@ -0,0 +1 @@ +twisted.internet.ssl.CertificateOptions now uses 32 random bytes instead of an MD5 hash for the ssl session identifier context. diff --git a/src/twisted/newsfragments/9522.bugfix b/src/twisted/newsfragments/9522.bugfix new file mode 100644 index 00000000000..5b5b2dc73f9 --- /dev/null +++ b/src/twisted/newsfragments/9522.bugfix @@ -0,0 +1 @@ +The message of twisted.internet.error.ConnectionAborted is no longer truncated. diff --git a/src/twisted/newsfragments/9536.misc b/src/twisted/newsfragments/9536.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/newsfragments/9540.misc b/src/twisted/newsfragments/9540.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/newsfragments/9544.bugfix b/src/twisted/newsfragments/9544.bugfix new file mode 100644 index 00000000000..5f15eafaeeb --- /dev/null +++ b/src/twisted/newsfragments/9544.bugfix @@ -0,0 +1 @@ +twisted.enterprise.adbapi.ConnectionPool.connect now logs only the dbapiName and not the connection arguments, which may contain credentials \ No newline at end of file diff --git a/src/twisted/newsfragments/9546.feature b/src/twisted/newsfragments/9546.feature new file mode 100644 index 00000000000..0ed41f86d5e --- /dev/null +++ b/src/twisted/newsfragments/9546.feature @@ -0,0 +1,2 @@ +DeferredLock and DeferredSemaphore can be used as asynchronous context +managers on Python 3.5+. \ No newline at end of file diff --git a/src/twisted/newsfragments/9548.feature b/src/twisted/newsfragments/9548.feature new file mode 100644 index 00000000000..3b54e4c7653 --- /dev/null +++ b/src/twisted/newsfragments/9548.feature @@ -0,0 +1 @@ +t.i.b.BaseConnector has custom __repr__ diff --git a/src/twisted/newsfragments/9559.doc b/src/twisted/newsfragments/9559.doc new file mode 100644 index 00000000000..d1702e63c58 --- /dev/null +++ b/src/twisted/newsfragments/9559.doc @@ -0,0 +1 @@ +The sample code in the "Twisted Web In 60 Seconds" tutorial runs on Python 3. diff --git a/src/twisted/newsfragments/9579.bugfix b/src/twisted/newsfragments/9579.bugfix new file mode 100644 index 00000000000..2e5f905a2ec --- /dev/null +++ b/src/twisted/newsfragments/9579.bugfix @@ -0,0 +1 @@ +twisted.python.runtime.Platform.supportsINotify no longer considers the result of isDocker for its own result. diff --git a/src/twisted/newsfragments/9580.misc b/src/twisted/newsfragments/9580.misc new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/twisted/newsfragments/9585.feature b/src/twisted/newsfragments/9585.feature new file mode 100644 index 00000000000..872549324ec --- /dev/null +++ b/src/twisted/newsfragments/9585.feature @@ -0,0 +1 @@ +twisted.internet.ssl.optionsForClientTLS now supports validating IP addresses from the certificate subjectAltName diff --git a/src/twisted/web/newsfragments/9138.feature b/src/twisted/web/newsfragments/9138.feature new file mode 100644 index 00000000000..bcf7c821858 --- /dev/null +++ b/src/twisted/web/newsfragments/9138.feature @@ -0,0 +1 @@ +twisted.web.client.HostnameCachingHTTPSPolicy was added as a new contextFactory option. The policy caches a specified number of twisted.internet.interfaces.IOpenSSLClientConnectionCreator instances to to avoid the cost of instantiating a connection creator for multiple requests to the same host. diff --git a/src/twisted/web/newsfragments/9420.bugfix b/src/twisted/web/newsfragments/9420.bugfix new file mode 100644 index 00000000000..b291b1222ab --- /dev/null +++ b/src/twisted/web/newsfragments/9420.bugfix @@ -0,0 +1 @@ +twisted.web.http.Request.cookies, twisted.web.http.HTTPChannel.writeHeaders, and twisted.web.http_headers.Headers were all vulnerable to header injection attacks. They now replace linear whitespace ('\r', '\n', and '\r\n') with a single space. twisted.web.http.Reqeuest.cookies also replaces semicolons (';') with a single space. \ No newline at end of file diff --git a/src/twisted/web/newsfragments/9421.bugfix b/src/twisted/web/newsfragments/9421.bugfix new file mode 100644 index 00000000000..414257a88d8 --- /dev/null +++ b/src/twisted/web/newsfragments/9421.bugfix @@ -0,0 +1 @@ +twisted.web.client.Request and twisted.web.client.HTTPClient were both vulnerable to header injection attacks. They now replace linear whitespace ('\r', '\n', and '\r\n') with a single space. \ No newline at end of file