Changelog
### 19.2.0
```
===========================
This is the final release that will support Python 3.4.
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)
- Twisted's minimum Cryptography requirement is now 2.5. (9592)
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)
```
Links
- PyPI: https://pypi.org/project/twisted
- Changelog: https://pyup.io/changelogs/twisted/
- Homepage: http://twistedmatrix.com/
Update Twisted from 18.9.0 to 19.2.0.
Changelog
### 19.2.0 ``` =========================== This is the final release that will support Python 3.4. 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) - Twisted's minimum Cryptography requirement is now 2.5. (9592) 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) ```Links
- PyPI: https://pypi.org/project/twisted - Changelog: https://pyup.io/changelogs/twisted/ - Homepage: http://twistedmatrix.com/