Twisted: twisted-22.4.0 Release

Release date:
April 11, 2022
Previous version:
twisted-22.4.0rc1 (released April 4, 2022)
Magnitude:
3 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in twisted-22.4.0

adiroiban

Directory Browser for twisted-22.4.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Twisted 22.4.0 (2022-04-11)

Features

  • twisted.python.failure.Failure tracebacks now capture module information, improving compatibility with the Raven Sentry client. (#7796)
  • twisted.python.failure.Failure objects are now compatible with dis.distb, improving compatibility with post-mortem debuggers. (#9599)

Bugfixes

  • twisted.internet.interfaces.IReactorSSL.listenSSL now has correct type annotations. (#10274)
  • twisted.internet.test.test_glibbase.GlibReactorBaseTests now passes. (#10317)

Conch

Features ~~~~~~~~

  • twisted.conch.ssh now supports using RSA keys with SHA-2 signatures (RFC 8332) when acting as a server. The rsa-sha2-512 and rsa-sha2-256 public key signature algorithms are automatically preferred over ssh-rsa if the client advertises support for them; the actual public keys do not need to change. (#9765)
  • twisted.conch.ssh now has an alternative Ed25519 implementation using PyNaCl, in order to support platforms that lack OpenSSL >= 1.1.1b. The new "conch_nacl" extra has the necessary dependency. (#10208)

Misc ~~~~

  • (#10313)

Web

Features ~~~~~~~~

  • Twisted is now compatible with h2 4.x.x. (#10182)

Bugfixes ~~~~~~~~

  • twisted.web.http had several several defects in HTTP request parsing that could permit HTTP request smuggling. It now disallows signed Content-Length headers, forbids illegal characters in chunked extensions, forbids a 0x prefix to chunk lengths, and only strips spaces and horizontal tab characters from header values. These changes address CVE-2022-24801 and GHSA-c2jg-hw38-jrqq. (#10323)

Mail

Bugfixes ~~~~~~~~

  • twisted.mail.pop3.APOPCredentials is now correctly marked as implementing twisted.cred.credentials.IUsernamHashedPassword, rather than IUsernamePassword. (#10305)

Words

No significant changes.

Names

No significant changes.

Trial

Features ~~~~~~~~

  • trial --until-failure --jobs=N now reports the number of each test pass as it begins. (#10312)

Bugfixes ~~~~~~~~

  • twisted.trial.unittest.TestCase now discards cleanup functions after running them. Notably, this prevents them from being run an ever growing number of times with trial -u .... (#10320)

Misc ~~~~

  • #10315, #10321, #10322