Skip to content

Commit

Permalink
19.2.0rc1 towncrier
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Feb 23, 2019
1 parent 01024ef commit ba524cb
Show file tree
Hide file tree
Showing 28 changed files with 96 additions and 21 deletions.
96 changes: 96 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,102 @@ http://twistedmatrix.com/trac/ticket/<number>

.. 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)
===========================

Expand Down
1 change: 0 additions & 1 deletion src/twisted/conch/newsfragments/8831.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/conch/newsfragments/9515.feature

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/twisted/names/newsfragments/9373.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/2546.doc

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/9125.misc

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9192.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9305.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9334.doc

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/9453.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9463.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9522.bugfix

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/9544.bugfix

This file was deleted.

2 changes: 0 additions & 2 deletions src/twisted/newsfragments/9546.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9548.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9559.doc

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/newsfragments/9579.bugfix

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion src/twisted/newsfragments/9585.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/web/newsfragments/9138.feature

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/web/newsfragments/9420.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion src/twisted/web/newsfragments/9421.bugfix

This file was deleted.

0 comments on commit ba524cb

Please sign in to comment.