forked from twisted/twisted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
4463 lines (3693 loc) · 162 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Ticket numbers in this file can be looked up by visiting
http://twistedmatrix.com/trac/ticket/<number>
Twisted Core 14.0.0 (2014-05-08)
================================
Features
--------
- twisted.internet.interfaces.IUDPTransport - and that interface's
implementations in Twisted - now supports enabling broadcasting.
(#454)
- trial's TestCase will now report a test method as an error if that
test method is a generator function, preventing an issue when a
user forgets to decorate a test method with defer.inlineCallbacks,
causing the test method to not run. (#3917)
- twisted.positioning, a new API for positioning systems such as GPS,
has been added. It comes with an implementation of NMEA, the most
common wire protocol for GPS devices. It will supersede
twisted.protoocols.gps. (#3926)
- The new interface twisted.internet.interfaces.IStreamClientEndpoint
StringParserWithReactor will supply the reactor to its
parseStreamClient method, passed along from
twisted.internet.endpoints.clientFromString. (#5069)
- IReactorUDP.listenUDP, IUDPTransport.write and
IUDPTransport.connect now accept ipv6 address literals. (#5086)
- A new API, twisted.internet.ssl.optionsForClientTLS, allows clients
to specify and verify the identity of the peer they're communicating
with. When used with the service_identity library from PyPI, this
provides support for service identity verification from RFC 6125, as
well as server name indication from RFC 6066. (#5190)
- Twisted's TLS support now provides a way to ask for user-configured
trust roots rather than having to manually configure such
certificate authority certificates yourself.
twisted.internet.ssl.CertificateOptions now accepts a new argument,
trustRoot, which combines verification flags and trust sources, as
well as a new function that provides a value for that argument,
twisted.internet.ssl.platformTrust, which allows using the trusted
platform certificate authorities from OpenSSL for certificate
verification. (#5446)
- Constants are now comparable/orderable based on the order in which
they are defined. (#6523)
- "setup.py install" and "pip install" now work on Python 3.3,
installing the subset of Twisted that has been ported to Python 3.
(#6539)
- twisted.internet.ssl.CertificateOptions now supports ECDHE for
servers by default on pyOpenSSL 0.14 and later, if the underlying
versions of cryptography.io and OpenSSL support it. (#6586)
- twisted.internet.ssl.CertificateOptions now allows the user to set
acceptable ciphers and uses secure ones by default. (#6663)
- The Deferred returned by
twisted.internet.defer.DeferredFilesystemLock.deferUntilLocked can
now be cancelled. (#6720)
- twisted.internet.ssl.CertificateOptions now enables TLSv1.1 and
TLSv1.2 by default (in addition to TLSv1.0) if the underlying
version of OpenSSL supports these protocol versions. (#6772)
- twisted.internet.ssl.CertificateOptions now supports Diffie-Hellman
key exchange. (#6799)
- twisted.internet.ssl.CertificateOptions now disables TLS
compression to avoid CRIME attacks and, for servers, uses server
preference to choose the cipher. (#6801)
- SSL server endpoint string descriptions now support the
specification of Diffie-Hellman key exchange parameter files.
(#6924)
- twisted.python.reflect.requireModule was added to handle
conditional imports of python modules and work around pyflakes
warnings of unused imports code. (#7014)
Bugfixes
--------
- If a ProcessProtocol.processExited method raised an exception a
broken process handler would be left in the global process state
leading to errors later on. This has been fixed and now an error
will be logged instead. (#5151)
- Twisted now builds on Solaris. Note that lacking a Buildbot slave
(see http://buildbot.twistedmatrix.com/boxes-supported) Solaris is
not a supported Twisted platform. (#5728)
- twisted.internet.utils is now correctly installed on Python 3.
(#6929)
- twisted.python.threadpool.ThreadPool no longer starts new workers
when its pool size is changed while the pool is not running.
(#7011)
Improved Documentation
----------------------
- Twisted now uses the Sphinx documentation generator for its
narrative documentation, which means that the source format for
narrative documentation has been converted to ReStructuredText.
(#4500)
- The Sphinx documentation is now also configured to allow
intersphinx links to standard library documentation. (#4582)
- The docstring for twisted.internet.task.react now better documents
the main parameter (#6071)
- The writing standard now explicitly mandates the usage of
ungendered pronouns. (#6858)
Deprecations and Removals
-------------------------
- test_import.py was removed as it was redundant. (#2053)
- Support for versions of pyOpenSSL older than 0.10 has been removed.
Affected users should upgrade pyOpenSSL. (#5014)
- twisted.internet.interfaces.IStreamClientEndpointStringParser is
now deprecated in favor of twisted.internet.interfaces.IStreamClien
tEndpointStringParserWithReactor. (#5069)
- unsignedID and setIDFunction, previously part of
twisted.python.util and deprecated since 13.0, have now been
removed. (#6707)
- FTPClient.changeDirectory was deprecated in 8.2 and is now removed.
(#6759)
- twisted.internet.stdio.StandardIO.closeStdin, an alias for
loseWriteConnection only available on POSIX and deprecated since
2.1, has been removed. (#6785)
- twisted.python.reflect.getcurrent is now deprecated and must not be
used. twisted.python.reflect.isinst is now deprecated in favor of
the built-in isinstance. (#6859)
Other
-----
- #1822, #5929, #6239, #6537, #6565, #6614, #6632, #6690, #6784,
#6792, #6795, #6821, #6843, #6846, #6854, #6856, #6857, #6872,
#6892, #6902, #6906, #6922, #6926, #6936, #6941, #6942, #6943,
#6944, #6945, #6946, #6948, #6979, #7001, #7049, #7051, #7094,
#7098
Twisted Conch 14.0.0 (2014-05-08)
=================================
Improved Documentation
----------------------
- The docstring for twisted.conch.ssh.userauth.SSHUserAuthClient is
now clearer on how the preferredOrder instance variable is handled.
(#6850)
Other
-----
- #6696, #6807, #7054
Twisted Lore 14.0.0 (2014-05-08)
================================
Deprecations and Removals
-------------------------
- twisted.lore is now deprecated in favor of Sphinx. (#6907)
Other
-----
- #6998
Twisted Mail 14.0.0 (2014-05-08)
================================
Improved Documentation
----------------------
- twisted.mail.alias now has full API documentation. (#6637)
- twisted.mail.tap now has full API documentation. (#6648)
- twisted.mail.maildir now has full API documentation. (#6651)
- twisted.mail.pop3client now has full API documentation. (#6653)
- twisted.mail.protocols now has full API documentation. (#6654)
- twisted.mail.pop now has full API documentation. (#6666)
- twisted.mail.relay and twisted.mail.relaymanager now have full API
documentation. (#6739)
- twisted.mail.pop3client public classes now appear as part of the
twisted.mail.pop3 API. (#6761)
Other
-----
- #6696
Twisted Names 14.0.0 (2014-05-08)
=================================
Features
--------
- twisted.names.root.Resolver now accepts a resolverFactory argument,
which makes it possible to control how root.Resolver performs
iterative queries to authoritative nameservers. (#6095)
- twisted.names.dns.Message now has a repr method which shows only
those instance flags, fields and sections which are set to non-
default values. (#6847)
- twisted.names.dns.Message now support rich comparison. (#6848)
Bugfixes
--------
- twisted.names.server.DNSServerFactory now responds with messages
whose flags and fields are reset to their default values instead of
copying these from the request. This means that AD and CD flags,
and EDNS OPT records in the request are no longer mirrored back to
the client. (#6645)
Improved Documentation
----------------------
- twisted.names now has narrative documentation showing how to create
a custom DNS server. (#6864)
- twisted.names.server now has full API documentation. (#6886)
- twisted.names now has narrative documentation explaining how to use
its client APIs. (#6925)
- twisted.names now has narrative documentation and examples showing
how to perform reverse DNS lookups. (#6969)
Other
-----
- #5675, #6222, #6672, #6696, #6887, #6940, #6975, #6990
Twisted News 14.0.0 (2014-05-08)
================================
No significant changes have been made for this release.
Other
-----
- #6991
Twisted Pair 14.0.0 (2014-05-08)
================================
Features
--------
- twisted.pair.tuntap now has complete test coverage, basic
documentation, and works without the difficult-to-find system
bindings it used to require. (#6169)
Other
-----
- #6898, #6931, #6993
Twisted Runner 14.0.0 (2014-05-08)
==================================
No significant changes have been made for this release.
Other
-----
- #6992
Twisted Web 14.0.0 (2014-05-08)
===============================
Features
--------
- twisted.web.http.proxiedLogFormatter can now be used with
twisted.web.http.HTTPFactory (and subclasses) to record X
-Forwarded-For values to the access log when the HTTP server is
deployed behind a reverse proxy. (#1468)
- twisted.web.client.Agent now uses
twisted.internet.ssl.CertificateOptions for SSL/TLS and benefits
from its continuous improvements. (#6893)
Bugfixes
--------
- twisted.web.client.Agent now correctly manage flow-control on
pooled connections, and therefore requests will no longer hang
sometimes when deliverBody is not called synchronously within the
callback on Request. (#6751)
- twisted.web.client.Agent now verifies that the provided server
certificate in a TLS connection is trusted by the platform. (#7042)
- When requesting an HTTPS URL with twisted.web.client.Agent, the
hostname of the presented certificate will be checked against the
requested hostname; mismatches will now result in an error rather
than a man-in-the-middle opportunity for attackers. This may break
existing code that incorrectly depended on insecure behavior, but
such code was erroneous and should be updated. (#4888)
Other
-----
- #5004, #6881, #6956
Twisted Words 14.0.0 (2014-05-08)
=================================
Bugfixes
--------
- twisted.words.protocols.jabber.sasl_mechansisms.DigestMD5 now works
with unicode arguments. (#5066)
Other
-----
- #6696
Twisted Core 13.2.0 (2013-10-29)
================================
Features
--------
- twistd now waits for the application to start successfully before
exiting after daemonization. (#823)
- twisted.internet.endpoints now provides HostnameEndpoint, a TCP
client endpoint that connects to a hostname as quickly as possible.
(#4859)
- twisted.internet.interfaces.IReactorSocket now has a new
adoptDatagramPort method which is implemented by some reactors
allowing them to listen on UDP sockets set up by external software
(eg systemd or launchd). (#5574)
- trial now accepts an --order option that specifies what order to
run TestCase methods in. (#5787)
- Port twisted.python.lockfile to Python 3, enabling
twisted.python.defer.DeferredFilesystemLock and tests. (#5960)
- Returning a Deferred from a callback that's directly returned from
that Deferred will now produce a DeprecationWarning, to notify
users of the buggy behavior. (#6164)
- SSL server endpoint string descriptions now support the
specification of chain certificates. (#6499)
- twisted.application.reactors.installReactor now returns the just-
installed reactor. (#6596)
- twisted.internet.defer.DeferredList now has a new cancel method.
And twisted.internet.defer.gatherResults now returns a cancellable
result. (#6639)
Bugfixes
--------
- twisted.protocols.basic.LineReceiver no longer passes incorrect
data (a buffer missing a delimiter) to lineLengthExceeded in
certain cases. (#6536)
- twisted.cred.digest.DigestCredentialFactory now supports decoding
challenge responses with field values including ",". (#6609)
- twisted.internet.endpoints.TCP6ClientEndpoint now establishes
connections when constructed with a hostname. (#6633)
- twisted.application.internet.TimerService is now pickleable in all
cases. (#6657)
Improved Documentation
----------------------
- The howto document page of Deferred now has documentation about
cancellation. (#4320)
- Docstrings for twisted.internet.task.Cooperator and cooperate.
(#6213)
Deprecations and Removals
-------------------------
- Returning a Deferred from a callback that's directly returned from
that Deferred will now produce a DeprecationWarning, to notify
users of the buggy behavior. (#6164)
- Accessor, AccessorType, OriginalAccessor, PropertyAccessor,
Settable and Summer in twisted.python.reflect, deprecated since
Twisted 12.1.0, are now removed. (#6689)
Other
-----
- #5001, #5312, #5387, #5442, #5634, #6221, #6393, #6406, #6485,
#6570, #6575, #6610, #6674, #6684, #6685, #6715, #6729, #6731,
#6736, #6773, #6788, #6793
Twisted Conch 13.2.0 (2013-10-29)
=================================
Features
--------
- ckeygen now accepts --no-passphrase to generate unprotected keys.
(#5998)
- twisted.conch.endpoints.SSHCommandClientEndpoint.newConnection now
supplies a convenient default for the `ui` parameter if a value is
not passed in for it. (#6550)
Bugfixes
--------
- ckeygen --changepass now doesn't delete unencrypted keys or raise
an exception on encrypted ones. (#5894)
- twisted.conch.endpoints.SSHCommandClientEndpoint now doesn't try
password authentication if there is no password specified. (#6553)
- twisted.conch.endpoints.SSHCommandClientEndpoint now uses the
standard SSH port if no port is specified. (#6631)
Other
-----
- #5387, #6220
Twisted Lore 13.2.0 (2013-10-29)
================================
No significant changes have been made for this release.
Other
-----
- #6546
Twisted Mail 13.2.0 (2013-10-29)
================================
Features
--------
- twisted.mail.smtp.sendmail now returns a cancellable Deferred.
(#6572)
Improved Documentation
----------------------
- twisted.mail.mail now has full API documentation. (#6649)
- twisted.mail.bounce now has full API documentation. (#6652)
Other
-----
- #5387, #6486
Twisted Names 13.2.0 (2013-10-29)
=================================
Features
--------
- twisted.names.authority.FileAuthority now considers any AAAA it
knows about for inclusion in the additional section of a response
(following the same logic previously used for including A records
there). (#6642)
- twisted.names.dns.Message now allows encoding and decoding of the
Authentic Data (AD) and Checking Disabled (CD) flags described in
RFC2535. (#6680)
Bugfixes
--------
- twisted.names.resolve.ResolverChain now returns a
twisted.names.error.DomainError failure if its resolvers list is
empty. (#5992)
- twisted.names.authority.FileAuthority now only returns
AuthoritativeDomainError (NXDOMAIN) for names which are subdomains.
(#6475)
- The Deferred returned by twisted.names.client.Resolver.queryTCP now
fires with an error if the TCP connection attempt fails. (#6658)
Improved Documentation
----------------------
- Use zope.interface.moduleProvides to allow pydoctor to properly
document the twisted.names.client.lookup* functions. (#6328)
Other
-----
- #5387, #5668, #6563, #6655
Twisted News 13.2.0 (2013-10-29)
================================
No significant changes have been made for this release.
Twisted Pair 13.2.0 (2013-10-29)
================================
No significant changes have been made for this release.
Twisted Runner 13.2.0 (2013-10-29)
==================================
No significant changes have been made for this release.
Twisted Web 13.2.0 (2013-10-29)
===============================
Features
--------
- IAgent has been added to twisted.web.iweb to explicitly define the
interface implemented by the various "Agent" classes in
twisted.web.client. (#6702)
Bugfixes
--------
- twisted.web.client.Response.deliverBody now calls connectionLost on
the body protocol for responses with no body (such as 204, 304, and
HEAD requests). (#5476)
- twisted.web.static.loadMimeTypes now uses all available system MIME
types. (#5717)
Deprecations and Removals
-------------------------
- Two attributes of twisted.web.iweb.IRequest, headers and
received_headers, are now deprecated. (#6704)
Other
-----
- #5387, #6119, #6121, #6695, #6701, #6734
Twisted Words 13.2.0 (2013-10-29)
=================================
Bugfixes
--------
- twisted.words.service.IRCUser now properly reports an error, in
response to NICK commands with non-UTF8 and non-ASCII symbols.
(#5780)
Other
-----
- #5329, #5387, #6544
Twisted Core 13.1.0 (2013-06-23)
================================
Features
--------
- trial now has an --exitfirst flag which stops the test run after
the first error or failure. (#1518)
- twisted.internet.ssl.CertificateOptions now supports chain
certificates. (#2061)
- twisted.internet.endpoints now provides ProcessEndpoint, a child
process endpoint. (#4696)
- Factory now has a forProtocol classmethod that constructs an
instance and sets its protocol attribute. (#5016)
- twisted.internet.endpoints.connectProtocol allows connecting to a
client endpoint using only a protocol instance, rather than
requiring a factory. (#5270)
- twisted.trial.unittest.SynchronousTestCase.assertNoResult no longer
swallows the result, if the assertion succeeds. (#6291)
- twisted.python.constants.FlagConstant implements __iter__ so that
it can be iterated upon to find the flags that went into a flag
set, and implements __nonzero__ to test as false when empty.
(#6302)
- assertIs and assertIsNot have now been added to
twisted.trial.unittest.TestCase. (#6350)
- twisted.trial.unittest.TestCase.failureResultOf now takes an
optional expected failure type argument. (#6380)
- The POSIX implementation of
twisted.internet.interfaces.IReactorProcess now does not change the
parent process UID or GID in order to run child processes with a
different UID or GID. (#6443)
Bugfixes
--------
- self.transport.resumeProducing() will no longer raise an
AssertionError if called after self.transport.loseConnection()
(#986)
- twisted.protocols.ftp.FTP now supports IFTPShell implementations
which return non-ASCII filenames as unicode strings. (#5411)
- twisted.internet.ssl.CertificateOptions now disables SSLv2 if
SSLv23 is selected, allowing only SSLv3 and TLSv1. (#6337)
- trial dist support now gets sys.path from an environment variable
passed to it. (#6390)
- twisted.test.proto_helpers.StringTransportWithDisconnection now
correctly passes Failure instead of an exception to
connectionLost through loseConnection. (#6521)
Improved Documentation
----------------------
- The Application howto now provides an example of writing a custom
Service. (#5586)
- The -j flag to trial (introduced in 12.3.0) is now documented.
(#5994)
- The SSL howto now covers twisted.internet.ssl.CertificateOptions
instead of the older context factories it replaces. (#6273)
- The Constants HOWTO documents iteration and truth testing of flags,
as well as previously undocumented boolean operations. (#6302)
Deprecations and Removals
-------------------------
- twisted.trial.runner.suiteVisit and PyUnitTestCase as well as
visitor methods, all deprecated since Twisted 8.0, have been
removed. (#3231)
- twisted.python._epoll bindings were removed; the epoll reactor now
uses the stdlib-provided epoll support. (#5847)
- The deprecated LENGTH, DATA, COMMA, and NUMBER NetstringReceiver
parser state attributes in t.protocols.basic are removed now.
(#6321)
- twisted.trial.runner.DryRunVisitor is now deprecated. Trial uses a
different method to handle --dry-run now. (#6333)
- twisted.python.hashlib is now deprecated in favor of hashlib from
stdlib. (#6342)
- twisted.web.server's Session.loopFactory, lifetime parameter of
Session.startCheckingExpiration and Session.checkExpired attributes,
deprecated since Twisted 9.0, have been removed. (#6514)
Other
-----
- #2380, #5197, #5228, #5386, #5459, #5578, #5801, #5952, #5955,
#5981, #6051, #6189, #6228, #6240, #6284, #6286, #6299, #6316,
#6353, #6354, #6368, #6377, #6378, #6381, #6389, #6400, #6403,
#6407, #6416, #6417, #6418, #6419, #6430, #6433, #6438, #6439,
#6440, #6441, #6444, #6459, #6465, #6468, #6477, #6480, #6498,
#6508, #6510, #6525
Twisted Conch 13.1.0 (2013-06-23)
=================================
Features
--------
- twisted.conch.endpoints.SSHCommandClientEndpoint is a new
IStreamClientEndpoint which supports connecting a protocol to the
stdio of a command running on a remote host via an SSH connection.
(#4698)
- twisted.conch.client.knownhosts.KnownHostsFile now has a public
`savePath` attribute giving the filesystem path where the known
hosts data is saved to and loaded from. (#6255)
- twisted.conch.endpoints.SSHCommandClientEndpoint.connect() returns
a cancellable Deferred when using new connections. (#6532)
Other
-----
- #5386, #6342, #6386, #6405, #6541
Twisted Lore 13.1.0 (2013-06-23)
================================
Deprecations and Removals
-------------------------
- twisted.lore.lint.parserErrors is deprecated now. (#5386)
Twisted Mail 13.1.0 (2013-06-23)
================================
Bugfixes
--------
- twisted.mail.smtp.ESMTPClient no longer tries to use a STARTTLS
capability offered by a server after TLS has already been
negotiated. (#6524)
Deprecations and Removals
-------------------------
- twisted.mail.IDomain.startMessage, deprecated since 2003, is
removed now. (#4151)
Other
-----
- #6342
Twisted Names 13.1.0 (2013-06-23)
=================================
No significant changes have been made for this release.
Other
-----
- #3908, #6381
Twisted News 13.1.0 (2013-06-23)
================================
No significant changes have been made for this release.
Other
-----
- #6342
Twisted Pair 13.1.0 (2013-06-23)
================================
No significant changes have been made for this release.
Twisted Runner 13.1.0 (2013-06-23)
==================================
No significant changes have been made for this release.
Twisted Web 13.1.0 (2013-06-23)
===============================
Features
--------
- The deferred returned by twisted.web.client.Agent.request can now
be cancelled. (#4330)
- twisted.web.client.BrowserLikeRedirectAgent, a new redirect agent,
treats HTTP 301 and 302 like HTTP 303 on non-HEAD/GET requests,
changing the method to GET before proceeding. (#5434)
- The new attribute twisted.web.iweb.IResponse.request is a reference
to a provider of the new twisted.web.iweb.IClientRequest interface
which, among other things, provides a way to access the request's
absolute URI. It is now also possible to inspect redirect history
with twisted.web.iweb.IResponse.previousResponse. (#5435)
- twisted.web.client.RedirectAgent now supports relative URI
references in the Location HTTP header. (#5462)
- twisted.web.client now provides readBody to collect the body of a
response from Agent into a string. (#6251)
Bugfixes
--------
- twisted.web.xmlrpc.QueryProtocol now generates valid Authorization
headers for long user names and passwords. (#2980)
Other
-----
- #6122, #6153, #6342, #6381, #6391, #6503
Twisted Words 13.1.0 (2013-06-23)
=================================
Features
--------
- twisted.words.protocols.irc.assembleFormattedText flattens a
formatting structure into mIRC-formatted markup; conversely
twisted.words.protocols.irc.stripFormatting removes all mIRC
formatting from text. (#3844)
Deprecations and Removals
-------------------------
- The `crippled` attribute in
twisted.words.protocols.jabber.xmpp_stringprep is deprecated now.
(#5386)
Other
-----
- #6315, #6342, #6392, #6402, #6479, #6481, #6482
Twisted Core 13.0.0 (2013-03-19)
================================
Features
--------
- The twisted.protocols.ftp.FTP server now treats "LIST -La", "LIST
-al", and all other combinations of ordering and case of the "-l"
and "-a" flags the same: by ignoring them rather than treating them
as a pathname. (#1333)
- twisted.python.log.FileLogObserver now uses `datetime.strftime` to
format timestamps, adding support for microseconds and timezone
offsets to the `timeFormat` string. (#3513)
- trial now deterministically runs tests in the order in which they
were specified on the command line, instead of quasi-randomly
according to dictionary key ordering. (#5520)
- Cooperator.running can be used to determine the current cooperator
status. (#5937)
- twisted.python.modules.PythonPath now implements `__contains__` to
allow checking, by name, whether a particular module exists within
it. (#6198)
- twisted.application.internet.TimerService.stopService now waits for
any currently running call to finish before firing its deferred.
(#6290)
Bugfixes
--------
- twisted.protocols.ftp.FTP now recognizes all glob expressions
supported by fnmatch. (#4181)
- Constant values defined using twisted.python.constants can now be
set as attributes of other classes without triggering an unhandled
AttributeError from the constants implementation. (#5797)
- Fixed problem where twisted.names.client.Resolver was not closing
open file handles which can lead to an out of file descriptor error
on PyPy. (#6216)
- All reactors included in Twisted itself now gracefully handle a
rare case involving delayed calls scheduled very far in the future.
(#6259)
- twisted.trial.reporter.Reporter._trimFrames correctly removes
frames from twisted.internet.utils.runWithWarningsSuppressed again,
after being broke in #6009. (#6282)
Improved Documentation
----------------------
- A new "Deploying Twisted with systemd" howto document which
demonstrates how to start a Twisted service using systemd socket
activation. (#5601)
- New "Introduction to Deferreds" howto. Old howto rebranded as
reference documentation. (#6180)
- "Components: Interfaces and Adapters" howto now uses
zope.interface's decorator-based API. (#6269)
Deprecations and Removals
-------------------------
- twisted.python.util.unsignedID and setIDFunction are deprecated
now. (#5544)
- twisted.python.zshcomp deprecated since 11.1.0 has now been
removed. Shell tab-completion is now handled by
twisted.python.usage. (#5767)
- python.runtime.Platform.isWinNT is deprecated now. Use
Platform.isWindows instead. (#5925)
- twisted.trial.util.findObject, deprecated since Twisted 10.1.0, has
been removed. (#6260)
Other
-----
- #2915, #4009, #4315, #5909, #5918, #5953, #6026, #6046, #6165,
#6201, #6207, #6208, #6211, #6235, #6236, #6247, #6265, #6272,
#6288, #6297, #6309, #6322, #6323, #6324, #6327, #6332, #6338,
#6349
Twisted Conch 13.0.0 (2013-03-19)
=================================
Features
--------
- twisted.conch.client.knownhosts.KnownHostsFile now takes care not
to overwrite changes to its save file made behind its back, making
it safer to use with the same known_hosts file as is being used by
other software. (#6256)
Other
-----
- #5864, #6257, #6297
Twisted Lore 13.0.0 (2013-03-19)
================================
No significant changes have been made for this release.
Twisted Mail 13.0.0 (2013-03-19)
================================
Bugfixes
--------
- twisted.mail.smtp.ESMTPClient no longer attempts to negotiate a TLS
session if transport security has been requested and the protocol
is already running on a TLS connection. (#3989)
- twisted.mail.imap4.Query now filters illegal characters from the
values of KEYWORD and UNKEYWORD and also emits them without adding
quotes (which are also illegal). (#4392)
- twisted.mail.imap4.IMAP4Client can now interpret the BODY response
for multipart/* messages with parts which are also multipart/*.
(#4631)
Deprecations and Removals
-------------------------
- tlsMode attribute of twisted.mail.smtp.ESMTPClient is deprecated.
(#5852)
Other
-----
- #6218, #6297
Twisted Names 13.0.0 (2013-03-19)
=================================
Features
--------
- twisted.names.dns.Name and twisted.names.srvconnect.SRVConnector
now support unicode domain names, automatically converting using
the idna encoding. (#6245)
Improved Documentation
----------------------
- The API documentation for IResolver and its implementations has
been updated and consolidated in
twisted.internet.interfaces.IResolver. (#4685)
Deprecations and Removals
-------------------------
- The retry, Resolver.discoveredAuthority, lookupNameservers,
lookupAddress, extractAuthority, and discoverAuthority APIs in
twisted.names.root have been deprecated since 10.0 and have been
removed. (#5564)
Other
-----
- #5596, #6246, #6297
Twisted News 13.0.0 (2013-03-19)
================================
No significant changes have been made for this release.
Twisted Pair 13.0.0 (2013-03-19)
================================
No significant changes have been made for this release.
Twisted Runner 13.0.0 (2013-03-19)
==================================
No significant changes have been made for this release.
Other
-----
- #5740
Twisted Web 13.0.0 (2013-03-19)
===============================
Bugfixes
--------
- twisted.web.template now properly quotes attribute values,
including Tag instances serialized within attribute values. (#6275)
Other
-----
- #6167, #6297, #6326
Twisted Words 13.0.0 (2013-03-19)
=================================
Bugfixes
--------
- twisted.words.im.ircsupport no longer logs a failure whenever
receiving ISUPPORT messages from an IRC server. (#6263)
Other
-----
- #6297
Twisted Core 12.3.0 (2012-12-20)
================================
Features
--------
- The new -j flag to trial provides a trial runner supporting
multiple worker processes on the local machine, for parallel
testing. (#1784)
- twisted.internet.task.react, a new function, provides a simple API
for running the reactor until a single asynchronous function
completes. (#3270)
- twisted.protocols.ftp.FTP now handles FEAT and OPTS commands.
(#4515)
- trial now supports specifying a debugger other than pdb with the
--debugger command line flag. (#5794)
- twisted.python.util.runWithWarningsSuppressed has been added; it
runs a function with specified warning filters. (#5950)
- trial's skipping feature is now implemented in a way compatible with the
standard library unittest's runner. (#6006)
- The setup3.py script is now provided to provisionally support
building and installing an experimental, incomplete version of
Twisted in a Python 3 environment. (#6040)
- twisted.python.util.FancyStrMixin now supports arbitrary callables
to format attribute values. (#6063)
- Several new methods of twisted.trial.unittest.SynchronousTestCase
- `successResultOf`, `failureResultOf`, and `assertNoResult` -
have been added to make testing `Deferred`-using code easier.
(#6105)
Bugfixes
--------
- twisted.protocols.basic.LineReceiver now does not hit the maximum
stack recursion depth when the line and data mode is switched many
times. (#3050)
- twisted.protocols.ftp.FTPFileListProtocol fixed to support files
with space characters in their name. (#4986)
- gireactor and gtk3reactor no longer prevent gi.pygtkcompat from
working, and likewise can load if gi.pygtkcompat has previously
been enabled. (#5676)
- gtk2reactor now works again on FreeBSD, and perhaps other platforms
that were broken by gi interactions. (#5737)
- gireactor now works with certain older versions of gi that are
missing the threads_init() function. (#5790)
- Fixed a bug where twisted.python.sendmsg would sometimes fail with
obscure errors including "Message too long" or "Invalid argument"
on some 64-bit platforms. (#5867)
- twisted.internet.endpoints.TCP6ClientEndpoint now provides
twisted.internet.interfaces.IStreamClientEndpoint (#5876)
- twisted.internet.endpoints.AdoptedStreamServerEndpoint now provides
twisted.internet.interfaces.IStreamServerEndpoint. (#5878)
- Spawning subprocesses with PTYs now works on OS X 10.8. (#5880)
- twisted.internet.test.test_sigchld no longer incorrectly fails when
run after certain other tests. (#6161)
- twisted.internet.test.test_gireactor no longer fails when using
pygobject 3.4 and gtk 3.6 when X11 is unavailable. (#6170)
- twisted/python/sendmsg.c no longer fails to build on OpenBSD.
(#5907)
Improved Documentation
----------------------
- The endpoint howto now lists TCP IPv6 server endpoint in the list
of endpoints included with Twisted. (#5741)
Deprecations and Removals
-------------------------
- The minimum required version of zope.interface is now 3.6.0.
(#5683)
- twisted.internet.interfaces.IReactorArbitrary and
twisted.application.internet.GenericServer and GenericClient,
deprecated since Twisted 10.1, have been removed. (#5943)
- twisted.internet.interfaces.IFinishableConsumer, deprecated since
Twisted 11.1, has been removed. (#5944)
- twisted.python.failure has removed all support for string
exceptions. (#5948)
- assertTrue, assertEqual, and the other free-functions in
twisted.trial.unittest for writing assertions, deprecated since
prior to Twisted 2.3, have been removed. (#5963)
- Ports, connectors, wakers and other reactor-related types no longer
log a nice warning when they are erroneously pickled. Pickling of
such objects continues to be unsupported. (#5979)
- twisted.python.components.Componentized no longer inherits from
Versioned. (#5983)
- twisted.protocols.basic.NetstringReceiver.sendString no longer
accepts objects other than bytes; the removed behavior was
deprecated in Twisted 10.0. (#6025)
- The lookupRecord method of twisted.internet.interfaces.IResolver,
never implemented or called by Twisted, has been removed. (#6091)
Other
-----
- #4286, #4920, #5627, #5785, #5860, #5865, #5873, #5874, #5877,
#5879, #5884, #5885, #5886, #5891, #5896, #5897, #5899, #5900,
#5901, #5903, #5906, #5908, #5912, #5913, #5914, #5916, #5917,
#5931, #5932, #5933, #5934, #5935, #5939, #5942, #5947, #5956,
#5959, #5967, #5969, #5970, #5972, #5973, #5974, #5975, #5980,
#5985, #5986, #5990, #5995, #6002, #6003, #6005, #6007, #6009,