-
Notifications
You must be signed in to change notification settings - Fork 183
/
changes.xml
1804 lines (1761 loc) · 89.3 KB
/
changes.xml
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
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
This file is also used by the maven-changes-plugin to generate the release notes.
Useful ways of finding items to add to this file are:
1. Add items when you fix a bug or add a feature (this makes the
release process easy :-).
2. Do a JIRA search for tickets closed since the previous release.
3. Use the report generated by the maven-changelog-plugin to see all
SVN commits. Set the project.properties' maven.changelog.range
property to the number of days since the last release.
To generate the release notes from this file:
mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
then tweak the formatting if necessary
and commit
The <action> type attribute can be add,update,fix,remove.
-->
<document xmlns="http://maven.apache.org/changes/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
<properties>
<title>Apache Commons Net Release Notes</title>
<author email="dev@commons.apache.org">Apache Commons developers</author>
</properties>
<!-- NOTE:
The description below is specially formatted so as to improve the layout of the generated release notes:
The parsing process removes all line feeds, replacing them with a single space.
The Velocity template in resources/templates has been enhanced to replace pairs of adjacent spaces
with a new-line in the release notes. (These spaces are ignored when displaying HTML).
If the output is not quite correct, check for invisible trailing spaces!
N.B. The release notes template groups actions by type, and only extracts data for the current release.
The changes report outputs actions in the order they appear in this file.
To regenerate the release notes:
mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
Defining changes.version allows one to create the RN without first removing the SNAPSHOT suffix.
-->
<body>
<release version="3.11.0" date="YYYY-MM-DD" description="Maintenance and bug fix release (Java 8 or above).">
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Gary Gregory">Precompile regular expression in UnixFTPEntryParser.preParse(List<String>).</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Guard against polynomial regular expression used on uncontrolled data in VMSVersioningFTPEntryParser.REGEX.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Guard against polynomial regular expression used on uncontrolled data in IMAPReply.TAGGED_RESPONSE.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Guard against polynomial regular expression used on uncontrolled data in IMAPReply.UNTAGGED_RESPONSE.</action>
<!-- ADD -->
<action type="add" issue="NET-726" dev="ggregory" due-to="PJ Fanning, Gary Gregory">Add protected getters to FTPSClient #204.</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add SubnetUtils.toString().</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add Maven property project.build.outputTimestamp for build reproducibility.</action>
<action type="add" dev="ggregory" due-to="Georg Voss, Gary Gregory">Add FTP.DEFLATE_TRANSFER_MODE to support the "deflate" compression format in FTPClient.setFileTransferMode(int).</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Dependabot">Bump commons-parent from 62 to 67.</action>
<action type="update" dev="ggregory" due-to="Dependabot">Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.2.0, #221.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-lang3 from 3.13.0 to 3.14.0.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-io from 2.15.0 to 2.16.0 #236.</action>
</release>
<release version="3.10.0" date="2023-10-01" description="Maintenance and bug fix release (Java 8 or above).">
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add and use DatagramSocketClient.setDefaultTimeout(Duration) and deprecate DatagramSocketClient.setDefaultTimeout(int).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add and use TFTP.DEFAULT_TIMEOUT_DURATION and deprecate org.apache.commons.net.tftp.TFTP.DEFAULT_TIMEOUT.
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add and use DatagramSocketClient#getSoTimeoutDuration().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add and use DatagramSocketClient#setSoTimeout(Duration).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add and use DatagramSocketClient.checkOpen().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add TelnetClient.sendAYT(Duration).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
TFTPServer implements AutoCloseable.
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
DatagramSocketClient implements AutoCloseable.
</action>
<action type="add" dev="ggregory" due-to="KuKa, Gary Gregory">
Add IMAP package tests, include junit-jupiter-params artifact #166.
</action>
<action type="add" dev="ggregory" due-to="KuKa, Bruno P. Kinoshita">
Add Base64 missing tests and documentation fixes #161.
</action>
<action type="add" dev="ggregory" due-to="KuKa, Gary Gregory">
Add FTPFile tests and fix Javadoc typos #162.
</action>
<action type="add" dev="ggregory" due-to="KuKa, Gary Gregory, Bruno P. Kinoshita">
Add IMAPReply tests and documentation fixes #165.
</action>
<!-- FIX -->
<action type="fix" issue="NET-650" dev="ggregory" due-to="Matthew McGillis, exceptionfactory, sebbASF">
Delegate host resolution to Socket.connect() #138.
</action>
<action type="fix" dev="ggregory" due-to="Martin Wiesner, Gary Gregory, sebbASF">
Fixes many grammar issues and typos in JavaDoc and code comments #141.
</action>
<action type="fix" dev="ggregory" due-to="Martin Wiesner, Gary Gregory">
Remove redundant (null) initializations and other clean ups #155.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
TFTPServer.setMaxTimeoutRetries() now throws IllegalArgumentException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
TFTPServer.setSocketTimeout() now throws IllegalArgumentException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
FTPCommand.checkArray() now throws IllegalStateException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
org.apache.commons.net.nntp.Threader now throws IllegalStateException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
POP3Command static initializer now throws IllegalStateException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
SMTPCommand static initializer now throws IllegalStateException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
SubnetUtils.SubnetInfo.getPreviousAddress() now throws IllegalStateException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
IMAPExportMbox.MboxListener.chunkReceived(IMAP) now throws UncheckedIOException instead of RuntimeException.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
IMAPUtils.imapLogin(URI, int, ProtocolCommandListener) now throws IOException instead of RuntimeException while maintaining method signature source compatibility.
</action>
<action type="fix" dev="ggregory" due-to="step-security-bot, Gary Gregory">
[StepSecurity] ci: Harden GitHub Actions #156.
</action>
<action type="fix" dev="ggregory" due-to="David Costanzo, Gary Gregory" issue="NET-722">
Javadoc for FtpClient.setControlKeepAliveReplyTimeout(Duration) says timeout is in milliseconds.
</action>
<action type="fix" dev="ggregory" due-to="haegar9766, Gary Gregory">
Change class org.apache.commons.net.ftp.parser.MVSFTPEntryParser to support more datasets #182.
</action>
<action type="fix" dev="ggregory" due-to="Jakub Kupczyk, Bruno P. Kinoshita, Gary Gregory">
Bulletproof TFTPServerPathTest #173.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Deprecate org.apache.commons.net.util.Base64 in favor of java.util.Base64.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Replace use of org.apache.commons.net.util.Base64 with java.util.Base64 in org.apache.commons.net.ftp.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Replace use of org.apache.commons.net.util.Base64 with java.util.Base64 in org.apache.commons.net.imap.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Replace use of org.apache.commons.net.util.Base64 with java.util.Base64 in org.apache.commons.net.pop3.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Replace use of org.apache.commons.net.util.Base64 with java.util.Base64 in org.apache.commons.net.smtp.
</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Dependabot">
Bump commons-parent from 54 to 62 #132, #137, #153.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump commons-io from 2.11.0 to 2.15.0.
</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">
Bump commons-lang3 from 3.12.0 to 3.13.0.
</action>
</release>
<release version="3.9.0" date="2022-11-26" description="Maintenance and bug fix release (Java 8 or above).">
<!-- FIX -->
<action type="fix" issue="NET-708" dev="ggregory" due-to="XenoAmess">
Use yyyy instead of YYYY in SimpleDateFormat #97.
</action>
<action type="fix" dev="sebb">
Prevent serialization of the 4 classes that implement Serializable.
It is not useful and is unlikely to work properly.
</action>
<action type="fix" dev="ggregory" due-to="Arturo Bernal">
Use Math.min and Math.max method instead of manual calculations. #104.
</action>
<action issue="NET-711" type="fix" dev="ggregory" due-to="Jochen Wiedmann, Gary Gregory">
Add FTP option to toggle use of return host like CURL.
</action>
<action issue="NET-642" type="fix" dev="ggregory" due-to="Yani Mihaylov, Gary Gregory">
FTPSClient execPROT removes proxy settings #90.
</action>
<action type="fix" dev="ggregory" due-to="John Patrick, Gary Gregory">
JUnit5 assertThrows SimpleSMTPHeaderTestCase #121.
</action>
<action type="fix" dev="ggregory" due-to="John Patrick, Gary Gregory">
JUnit5 assertThrows TestTimeInfo #120.
</action>
<action type="fix" dev="ggregory" due-to="Arturo Bernal, Gary Gregory">
Simplify conditions avoiding extra operations #88.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Remove reflection from SSLSocketUtils.
</action>
<action type="fix" issue="NET-707" dev="ggregory" due-to="Dmytro Sylaiev, sebbASF, Gary Gregory">
Process files with spaces in name for OS400 #95.
</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.mdtmInstant(String).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add MLSxEntryParser.parseGmtInstant(String).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.getControlKeepAliveReplyTimeoutDuration().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.setControlKeepAliveReplyTimeout(Duration).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.getControlKeepAliveTimeoutDuration().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.setControlKeepAliveTimeout(Duration).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.getDataTimeout().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.setDataTimeout(Duration).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPFile.getTimestampInstant().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add github/codeql-action.
</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">
Bump actions/cache from 2.1.6 to 3.0.11 #93, #102, #115, #116.
</action>
<action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">
Bump actions/checkout from 2.3.4 to 3.1.0 #89, #91, #100, #114.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump actions/upload-artifact from 3.1.0 to 3.1.1 #124.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump junit from 4.13.1 to 5.9.1 Vintage #74.
</action>
<action type="update" dev="ggregory" due-to="Dependabot, Gary Gregory">
Bump commons-io from 2.6 to 2.11.0 #60.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump commons.jacoco.version from 0.8.6 to 0.8.8.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump commons.japicmp.version from 0.14.3 to 0.17.1.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Bump commons.surefire.version from 2.22.2 to 3.0.0-M7.
</action>
<action type="update" dev="ggregory" due-to="XenoAmess, Gary Gregory">
Bump ftpserver-core from 1.1.1 to 1.2.0 #96.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump exec-maven-plugin from 3.0.0 to 3.1.0 #109.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump commons-parent from 53 to 54 #112.
</action>
</release>
<release version="3.8.0" date="2021-02-13" description="Maintenance and bug fix release (Java 7 or above).">
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Arturo Bernal, Gary Gregory">
Add and use NetConstants.
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
Add and use SocketClient.applySocketAttributes().
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.hasFeature(FTPCmd).
</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">
[FTP] Add FTPClient.mdtmCalendar(String).
</action>
<!-- FIX -->
<action type="fix" dev="ggregory" due-to="Gary Gregory">
[IMAP] Fix concurrent counting of chunks in IMAPExportMbox.
</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Fix possible if rare NPEs in tests.
</action>
<!-- UPDATE -->
<action type="update" dev="ggregory" due-to="Dependabot">
Bump actions/checkout from v2.3.3 to v2.3.4 #69.
</action>
<action issue="NET-685" type="update" dev="ggregory" due-to="Simo385">
Update SocketClient default connect timeout from ∞ to 60 seconds #51.
</action>
<action issue="NET-695" type="update" dev="ggregory" due-to="Gary Gregory, Possibly Cott">
Apply SocketClient timeout after connection but before SSL negotiation.
</action>
<action type="update" dev="ggregory" due-to="Arturo Bernal, Gary Gregory">
Minor Improvements #71, #72.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump actions/cache from v2 to v2.1.4 #73.
</action>
</release>
<release version="3.7.2" date="2020-10-14" description="Maintenance and bug fix release (Java 7 or above).">
<action issue="NET-689" type="fix" dev="ggregory" due-to="Charlie, Gary Gregory">
Host name is not set on the SSLSocket causing isEndpointCheckingEnabled to fail.
</action>
<action type="fix" dev="ggregory" due-to="Dependabot">
Fix possible socket and input stream leak on socket exception in
org.apache.commons.net.ftp.FTPClient._retrieveFile(String, String, OutputStream).
</action>
<action issue="NET-690" type="fix" dev="ggregory" due-to="payal-meh, Gary Gregory">
Performance issue when using the FTPClient to retrieve files #65.
</action>
<action issue="NET-691" type="update" dev="ggregory" due-to="Lewis John McGibbney">
Improve Javadoc for IMAPSClient #68.
</action>
<!-- UPDATES -->
<action type="update" dev="ggregory" due-to="Dependabot">
Bump actions/setup-java from v1.4.2 to v1.4.3 #62.
</action>
<action type="update" dev="ggregory" due-to="Dependabot">
Bump junit from 4.13 to 4.13.1 #67.
</action>
</release>
<release version="3.7.1" date="2020-09-30" description="Maintenance and bug fix release (Java 7 or above).">
<action issue="NET-687" type="fix" dev="ggregory" due-to="Gary Gregory, Mikael, j-verse">
[FTPS] javax.net.ssl.SSLException: Unsupported or unrecognized SSL message, #59.
</action>
<!-- UPDATES -->
<action type="update" dev="ggregory" due-to="Dependabot">
Update actions/checkout from v2.3.1 to v2.3.3 #56, #61.
</action>
</release>
<release version="3.7" date="2020-08-05"
description="
This is mainly a bug-fix release (Java 7 or above). See further details below.
This release requires a minimum of Java 7.
This release is binary compatible with previous releases.
However it is not source compatible with releases before 3.4, as some methods were added to the interface NtpV3Packet in 3.4
Note that the examples packages were moved under org/apache/commons/net/examples.
The examples are not part of the public API, so this does not affect compatibility.
">
<action issue="NET-673" type="fix" dev="sebb">
IMAPClient.APPEND does not always calculate the correct length
</action>
<action issue="NET-646" type="add" dev="sebb">
ALLO FTP Command for files >2GB
</action>
<action issue="NET-615" type="add" dev="sebb">
IMAPClient could simplify using empty arguments
</action>
<action issue="NET-614" type="add" dev="sebb">
IMAP fails to quote/encode mailbox names
</action>
<action issue="NET-643" type="fix" dev="sebb" due-to="Vasily">
NPE when closing telnet stream
</action>
<action issue="NET-648" type="add" dev="pschumacher">
Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility
</action>
<action issue="NET-641" type="fix" dev="sebb" due-to="pin_ptr">
SubnetUtils.SubnetInfo.isInRange("0.0.0.0") returns true for CIDR/31, 32
</action>
<action issue="NET-638" type="add" dev="sebb" due-to="Daniel Leong">
Telnet subnegotiations hard-limited to 512 bytes - allow override
</action>
<action issue="NET-639" type="fix" dev="sebb" due-to=" Alexander Eller">
MVSFTPEntryParser.preParse - MVS, z/OS - allow for merged Ext/Used fields
</action>
<action issue="NET-636" type="fix" dev="sebb">
examples should be in org.apache.commons.net subpackage
</action>
<action issue="NET-634" type="add" dev="sebb" due-to="Mauro Molinari">
Add SIZE command support
</action>
<action type="add" dev="sebb">
Add POP3ExportMbox example code
</action>
<action issue="NET-633" type="update" dev="sebb" due-to="n0rm1e">
Add XOAUTH2 to IMAP and SMTP
</action>
<action issue="NET-632" type="update" dev="sebb" due-to="prakapenka">
FTPHTTPClient - support for encoding other than UTF-8
</action>
<action issue="NET-631" type="fix" dev="sebb">
Bug in MVSFTPEntryParser.parseUnixList (FindBugs)
</action>
<action issue="NET-584" type="fix" dev="sebb" due-to="Kazantsev Andrey Sergeevich/Nick Manley">
Error when using org.apache.commons.net.ftp.FTPClient setControlKeepAliveTimeout
</action>
<action issue="NET-626" type="update" dev="sebb" due-to="Makoto Sakaguchi">
SubnetUtils#SubnetUtils - improved comment
</action>
<action issue="NET-625" type="update" dev="sebb">
SubnetUtils - improve construction
</action>
<action issue="NET-624" type="update" dev="sebb" due-to="Makoto Sakaguchi">
SubnetInfo#getCidrSignature - improve functions
</action>
<action issue="NET-624" type="fix" dev="sebb" due-to="Makoto Sakaguchi">
SubnetInfo#toCidrNotation: A wrong format subnet mask is allowed
</action>
<action issue="NET-623" type="fix" dev="sebb" due-to="Makoto Sakaguchi">
SubnetUtils - fixed spelling errors
</action>
<action issue="NET-621" type="update" dev="sebb" due-to="Makoto Sakaguchi">
SubnetUtils#SubnetInfo - remove unnecessary accessors
</action>
<action issue="NET-619" type="update" dev="sebb" due-to="Makoto Sakaguchi">
SubnetUtils - improve binary netmask algorithm
</action>
<action issue="NET-613" type="fix" dev="sebb" due-to="Donald Kwakkel">
System Information Leak in ftp parser
</action>
<action issue="NET-678" type="update" dev="sebb" due-to="Roman Grigoriadi">
VMS ftp LIST parsing results in empty file list
</action>
<action issue="NET-674" type="add" dev="sebb" due-to="Chris Steingen">
FTPListParseEngine should support listing via MLSD
</action>
<action issue="NET-663" type="fix" dev="sebb" due-to="Max Shenfield">
NullPointerException when FTPClient remote verification fails
</action>
<action issue="NET-649" type="fix" dev="sebb" due-to="Filipe Bojikian Rissi">
227 Entering Passive Mode
</action>
<action issue="NET-660" type="add" dev="sebb" due-to="Nagabhushan S N">
Next and Previous IP Address in SubnetUtils.SubnetInfo
</action>
<action issue="NET-682" type="fix" dev="sebb" due-to="richard">
MVSFTPEntryParser doesn't support Record Formats of U
</action>
</release>
<release version="3.6" date="2017-02-15"
description="
This is mainly a bug-fix release (Java 6 or above). See further details below.
This release is binary compatible with previous releases.
However it is not source compatible with releases before 3.4, as some methods were added to the interface NtpV3Packet in 3.4
The code now requires a minimum of Java 6.
Changes to functionality:
* The FTP client now performs stricter checks on non-multiline command replies.
The 3 digit code must now be followed by a space and some text, as per RFC 959.
To suppress this stricter checking, call FTP#setStrictReplyParsing(false). This should not be needed with a well-behaved server.
Note also that if strict checking is disabled, some functions may unconditionally strip the next character after the code,
without checking it if is a space.
* The FTP client mlistFile() method now checks for a leading space before removing it.
If the space is missing, a MalformedServerReplyException is thrown.
This will only happen if the FTP server is not compliant with RFC 3659.
Notable additions:
* The POP3Mail examples can now get password from console, stdin or an environment variable.
* TFTPClient code has been rewritten to improve error handling and retries.
">
<action issue="NET-613" type="fix" dev="sebb">
TFTPClient assumes that lastBlock == 0 only once
</action>
<action issue="NET-320" type="fix" dev="sebb" due-to="Kevin Bulebush">
Allow TFTPServer.java to bind to a specific network adapter
</action>
<action issue="NET-414" type="fix" dev="sebb" due-to="Chuck Wolber">
Apache Commons TFTP does not reject request replies that originate from a control port.
</action>
<action issue="NET-477" type="fix" dev="sebb" due-to="John Walton">
TFTP sendFile retry broken
</action>
<action issue="NET-612" type="update" dev="sebb">
Allow TFTP socket IO tracing
</action>
<action issue="NET-596" type="fix" dev="sebb" due-to="Vincent Bories-Azeau">
NullPointerException when disconnecting TelnetClient twice with JDK 7
</action>
<action issue="NET-602" type="fix" dev="sebb" due-to="Ross Braithwaite">
Failure to parse times from SYST_L8 systems that report as "WINDOWS Type: L8"
</action>
<action issue="NET-604" type="fix" dev="sebb" due-to="Frank Delporte">
TFTP send and receive don't have progress indication
</action>
<action issue="NET-588" type="fix" dev="sebb" due-to="Dave Nice / Thai H">
FTPClient.setPassiveNatWorkaround assumes host is outside site local range
</action>
<action issue="NET-610" type="fix" dev="sebb" due-to="Sergey Yanzin">
FTPClient.mlistFile incorrectly handles MLST reply
</action>
<action issue="NET-611" type="fix" dev="sebb">
FTP does not validate command reply syntax fully
</action>
<action issue="NET-609" type="fix" dev="sebb" due-to="Tqup3">
DefaultUnixFTPFileEntryParserFactory Issue (leading spaces removal configuration)
</action>
<action type="update" dev="sebb">
POP3Mail example: support host port; allow reading password from Console/stdin/environment
</action>
<action issue="NET-597" type="fix" dev="sebb" due-to="Hiroki Taniura">
FTP fails to parse listings for Solaris 10 FTPd in Japanese
</action>
<action issue="NET-599" type="update" dev="sebb">
Add shorthand FTPClientConfig constructor
</action>
<action issue="NET-593" type="fix" dev="sebb" due-to="Joerg Weule">
HostnameVerifier is called with ip addess instead of the provided hostname
</action>
<action issue="NET-594" type="fix" dev="sebb" due-to="Brad Worrral">
TelnetClient._closeOutputStream unhandled exception from FilterOutputStream.close
</action>
<action issue="NET-592" type="fix" dev="sebb" due-to="Mark Ford">
plainSocket in FTPSClient is never closed
</action>
</release>
<release version="3.5" date="2016-05-05"
description="
This is mainly a bug-fix release (Java 6 or above). See further details below.
This release is binary compatible with previous releases.
However it is not source compatible with releases before 3.4, as some methods were added to the interface NtpV3Packet in 3.4
The code now requires a minimum of Java 6.
Notable additions:
The IMAP examples can now get password from console, stdin or an environment variable.
">
<action issue="NET-583" type="fix" dev="sebb" due-to="Holger Rehn">
FTPClient.getReplyString() returns wrong value after connect()
</action>
<action type="add" dev="sebb">
Alternative password input methods for IMAP examples
</action>
<action type="add" dev="sebb">
More tests for Feb 29 handling.
</action>
<action issue="NET-586" type="fix" dev="sebb">
Don't use Feb 29 for short future date tests
</action>
<action type="fix" dev="sebb">
Documentation tweaks
</action>
</release>
<release version="3.4" date="2015-11-26"
description="
This is mainly a bug-fix release. See further details below.
This release is binary compatible with previous releases.
However it is not source compatible, as some methods have been added to the interface NtpV3Packet
Notable additions:
IMAPExportMbox (example app) allows IMAP folders to be exported into an mbox file.
This is the inverse of the IMAPImportMbox example added previously
">
<action issue="NET-581" type="fix" dev="sebb">
SimpleSMTPHeader fails to supply the required Date: header
</action>
<action issue="NET-582" type="fix" dev="sebb">
SimpleSMTPHeader does not allow for missing To: field
</action>
<action issue="NET-580" type="fix" dev="sebb" due-to="Simon Arlott">
SMTPClient.sendSimpleMessage() silently ignores failed recipients
Update Javadoc
</action>
<action issue="NET-579" type="fix" dev="sebb" due-to="Simon Arlott">
SSL/TLS SocketClients do not verify the hostname against the certificate
</action>
<action issue="NET-576" type="update" dev="sebb">
Allow FTPClient to use SYST response if system type is not specified in configuration
</action>
<action issue="NET-575" type="update" dev="sebb">
FTPClientExample should support setting the date format
</action>
<action issue="NET-538" type="fix" dev="sebb" due-to="Dzmitry">
FTPHTTPClient should use socket factory to create sockets
</action>
<action issue="NET-566" type="fix" dev="sebb" due-to="Gary Russell">
UnixFTPEntryParser Drops Leading Spaces from File Names
</action>
<action type="update" dev="sebb">
examples/Main now uses a property file to define aliases instead of scanning class files
</action>
<action issue="NET-552" type="fix" dev="sebb" due-to="Quentin Devriendt">
SocketTimeoutException connecting a FTP server via an HTTP Proxy
</action>
<action issue="NET-528" type="add" dev="sebb">
FTPListParseEngine does not provide access to raw responses
</action>
<action issue="NET-565" type="add" dev="sebb">
Add FTPClient method to return an FTPFile from an MDTM command
</action>
<action issue="NET-564" type="update" dev="sebb">
FTPFile.toFormattedString - allow specification of TimeZone for display
</action>
<action issue="NET-562" type="update" dev="sebb">
FTPFile.toFormattedString should print only signficant parts of the parsed date
</action>
<action issue="NET-563" type="fix" dev="sebb">
MLSxEntryParser needs test cases; parsing is too lax
</action>
<action issue="NET-561" type="fix" dev="sebb">
FTPFile.toFormattedString prints user and group in wrong order
</action>
<action issue="NET-544" type="fix" dev="sebb" due-to="Olivier Queyrut ">
FTPClient.initiateListParsing does not correctly check if parserKey was cached
</action>
<action issue="NET-554" type="update" dev="sebb">
Simplify TelnetOptionHandler class hierarchy
</action>
<action issue="NET-558" type="fix" dev="sebb" due-to="Ralph Becker">
FTPClient.getModificationTime(filename) returns complete received line including response code and EOL
Strip the response code and EOL
</action>
<action issue="NET-556" type="update" dev="sebb" due-to="Andy Rosa">
Make SubnetInfo.isInRange(int) public
</action>
<action issue="NET-550" type="fix" dev="sebb" due-to="Geoffrey Hardy">
Default FTPClient bufferSize results in very slow retrieve transfers
Fix code in Util#copyStream (also copyReader) that failed to use the proper default for buffer size 0
</action>
<action issue="NET-551" type="fix" dev="sebb">
Util copyReader calls CopyStreamListener.bytesTransferred with the incorrect value for bytesTransferred
</action>
<action type="update" dev="sebb">
Added control character processing to TelnetClientExample
</action>
<action issue="NET-547" type="update" dev="sebb" due-to="Fabio Scippacercola">
There is a lack of documentation regarding setControlKeepAliveTimeout
</action>
<action issue="NET-549" type="fix" dev="sebb" due-to="Pradeep Natarajan">
Telnet does not convert LF to CRLF in ASCII mode
</action>
<action issue="NET-543" type="fix" dev="sebb" due-to="Ferry Huberts">
telnet: spy read EOL is reversed
</action>
<action issue="NET-540" type="add" dev="sebb">
Article#printThread should have option to use any PrintStream
</action>
<action issue="NET-539" type="fix" dev="sebb">
NPE if Threader.thread invoked with empty list or with null array
</action>
<action issue="NET-536" type="add" dev="sebb">
IMAP FETCH example
IMAPExportMbox can export selected nessages from an IMAP folder
</action>
<action issue="NET-535" type="add" dev="sebb">
IMAP FETCH can overflow reply buffer; provide for partial responses
</action>
<action issue="NET-534" type="update" dev="sebb">
Unnecesssary call to getReplyString() if no listeners configured
</action>
<action issue="NET-530" type="fix" dev="sebb" due-to="fish ship">
input parameter of org.apache.commons.net.ftp.FTP.__getReply(boolean) is not used
</action>
<action issue="NET-529" type="fix" dev="sebb" due-to="Putinas Piliponis">
SubnetUtils throws exception on valid input
</action>
<action issue="NET-527" type="add" dev="sebb" due-to="jason mathews">
Add SimpleNTPServer as example and for testing
</action>
<action issue="NET-516" type="fix" dev="sebb" due-to="Asha K S & pavan">
parser problem occurs if the filename contains one or more characters of which the second byte of Shift-JIS code is 0x85
Fix NT parser
</action>
<action type="update" dev="sebb">
Added control encoding option to FTPClientExample
</action>
<action issue="NET-526" type="update" dev="sebb" due-to="Jason Mathews, MITRE Corp">
Added missing set methods on NTP class and interface
</action>
<action issue="NET-526" type="update" dev="sebb">
Avoid greedy matches within a regex
</action>
<action issue="NET-520" type="fix" dev="sebb">
SubnetUtils("0.0.0.0/0") does not behave as expected
Fixed range checking so network and broadcast addresses are treated as unsigned ints
</action>
<action issue="NET-521" type="fix" dev="sebb">
SubnetUtils.SubnetInfo.getAddressCount() can overflow as it returns an int
</action>
<action issue="NET-515" type="fix" due-to="Sebastian Ritter">
FTPClient sample in class javadoc "bug"
</action>
<action issue="NET-519" type="fix">
Apache Commons Net 3.3 has a performance issue
</action>
<action issue="NET-517" dev="sebb" type="fix" due-to="David Kocher">
FTPClient#reinitialize is package protected
</action>
<action issue="NET-512" dev="sebb" type="add" due-to="Thomas Raddatz">
Downloading files or members from the AS400 QSYS file system is not supported
</action>
<action issue="NET-518" dev="sebb" type="fix" due-to="David Kocher">
FTPClient#initFeatureMap should not initialize empty map if reply code is 530
</action>
<action issue="NET-514" dev="sebb" type="fix">
IMAP APPEND multiple issues in IMapClient.
Deprecated unusable append methods.
Added new append method, as well as example IMapImportMbox class to make use of it.
</action>
<action issue="NET-511" dev="ggregory" type="fix" due-to="Kyriacos Elia, Daniel Scott">
Exception for new SubnetUtils("0.0.0.0/0").
</action>
</release>
<release version="3.3" date="2013-06-11"
description="
This is mainly a bug-fix release. See further details below.
">
<action issue="NET-509" dev="sebb" due-to="Anthony Dahanne" type="update">
AuthenticatingSMTPClient needs a constructor with the isImplicit argument for SSL
</action>
<action issue="NET-501" dev="sebb" due-to="Julián Lastiri" type="fix">
Race Condition on TelnetClient.disconnect() and TelnetInputStream.run()
java.lang.IllegalStateException: Queue is full! Cannot process another character.
</action>
<action issue="NET-505" dev="sebb" due-to="Sean Kelley" type="update">
User specified bufferSize reset to default when FTPClient is disconnected or reinitialized resulting in performance
degradation.
</action>
<action issue="NET-507" dev="sebb" due-to="Jiri Netolicky" type="update">
Option to disable private IP replacement in FTP passive mode.
</action>
<action issue="NET-503" dev="sebb" due-to="Ofer Regev" type="add">
AuthenticatingSMTPClient does not support non-default encoding
</action>
<action issue="NET-500" dev="sebb" due-to="Michael Frick" type="fix">
Always call FTPClient#setFileType after connection.
Not all servers default to ASCII.
</action>
<action issue="NET-465" dev="sebb" due-to="Jim Kerwood" type="fix">
FTPClient setSendBufferSize and setReceiveBufferSize on data socket.
The previous fix caused performance problems.
Added new getters and setters for the SO_SNDBUF and SO_RCVBUF values to be used on the data socket.
</action>
<action issue="NET-496" dev="sebb" type="add">
Util copyReader/copyStream classes should use default buffer size for non-positive buffer size parameters.
</action>
<action issue="NET-310" dev="sebb" type="add">
FTPCommand conversion to use enum; added FTPCmd emum and deprecated FTPCommand.
</action>
<action issue="NET-480" dev="sebb" due-to="Peter Naber" type="fix">
Wrong passivHost when using FTPHTTPClient with EPSV
</action>
<action issue="NET-494" dev="sebb" type="fix">
FTPClient.CSL.cleanUp() fails to restore timeout value on exception
</action>
<action issue="NET-492" dev="sebb" due-to="Tomasz Jedrzejewski" type="fix">
FTPClient.printWorkingDirectory() incorrectly parses certain valid PWD command results
</action>
</release>
<release version="3.2" date="2012-12-03"
description="
This release fixes bugs and adds some new functionality (see below).
It is binary compatible with previous releases.
Note that Clirr shows that two public methods have been removed (NET-485). These are not used within NET.
">
<action issue="NET-46" dev="sebb" type="fix">
retrieveFileStream fails randomly or hangs
</action>
<action issue="NET-485" dev="sebb" type="fix">
Remove unnecessary Base64 methods.
</action>
<action issue="NET-482" dev="sebb" type="update" due-to="Houman Atashbar">
Support XOAUTH.
</action>
<action issue="NET-484" dev="sebb" type="fix">
Base64.CHUNK_SEPARATOR should be private
</action>
<action issue="NET-483" dev="sebb" type="fix">
Base64.encodeBase64(byte[], boolean, boolean, int) does not calculate output size correctly for unchunked output.
</action>
<action issue="NET-466" dev="sebb" type="fix" due-to="Martin Oberhuber">
Regression: TelnetInputStream#available() blocks.
</action>
<action issue="NET-426" dev="sebb" type="fix" due-to="Ketan">
FTPS: Hook to customize _openDataConnection_ SSLSocket before startHandshake() is called.
Implement _openDataConnection(String, String) method to properly
interface with FTPClient.openDataConnection(String, String)
</action>
<action issue="NET-456" dev="sebb" type="fix">
TelnetClient hangs when reader-thread startup is delayed.
</action>
<action issue="NET-449" dev="sebb" type="fix">
listFiles bug with folder that begins with "-". Clarify Javadoc.
</action>
<action issue="NET-473" dev="sebb" type="fix">
FTPClient setSoTimeout (int time) will result in NullPointerException. Clarify Javadoc.
</action>
<action issue="NET-468" dev="sebb" type="add" due-to="Bogdan Drozdowski">
Request for native support for socks proxy routing with Commons net FTP.
</action>
<action issue="NET-475" dev="sebb" type="fix">
FtpClient sends REST when calling listFiles. Clarified Javadoc.
</action>
<action issue="NET-465" dev="sebb" type="add" due-to="Bogdan Drozdowski">
FTPClient setSendBufferSize and setReceiveBufferSize on data socket.
</action>
<action issue="NET-462" dev="sebb" type="add" due-to="Bogdan Drozdowski">
FTPClient in PASSIVE_LOCAL_DATA_CONNECTION_MODE cannot work when host have several different IP.
</action>
<action issue="NET-467" dev="sebb" type="fix">
IMAPClient#fetch() does not handle literal strings.
</action>
<action issue="NET-458" dev="sebb" type="fix" due-to="Denis Molony">
MVSFTPEntryParser.parseSimpleEntry - ArrayIndexOutOfBoundsException.
</action>
<action issue="NET-450" dev="sebb" type="fix" due-to="Roger Hardiman">
Bug in documentation for FTPClient.
</action>
<action dev="sebb" type="add">
The examples can now be run using "java -jar commons-net-examples-m.n.jar".
This will automatically include the main net jar in the classpath.
See documentation.
FTPClientExample now supports "-A" for anonymous login
</action>
<action issue="NET-442" dev="sebb" type="fix">
StringIndexOutOfBoundsException: String index out of range: -1 if server respond with root is current directory.
</action>
<action issue="NET-444" dev="sebb" type="fix">
FTPTimestampParserImpl fails to parse future dates correctly on Feb 28th in a leap year.
</action>
</release>
<release version="3.1" date="Feb 20, 2012"
description="
This release fixes a few bugs and adds some new functionality (see below).
It is binary compatible with previous releases
">
<action issue="NET-441" dev="sebb" type="fix" due-to="consiliens">
[FTP] mlistDir doc should be "MLSD" not "MSLD".
</action>
<action issue="NET-440" dev="sebb" type="add">
[FTP] Allow user to provide default value in case SYST command fails.
</action>
<action issue="NET-438" dev="sebb" type="fix" due-to="Norman Maurer">
POP3Client.capa() should call POP3Client.getAdditionalReply()
</action>
<action issue="NET-412" dev="sebb" type="fix" due-to="Chuck Wolber">
TFTP implementation subject to Sorcerer's Apprentice Syndrome
</action>
<action issue="NET-410" dev="sebb" type="fix" due-to="Chuck Wolber">
TFTP does not handle RFC 783 retransmits
</action>
<action issue="NET-437" dev="sebb" type="fix" due-to="Gavin Camp">
TelnetInputStream doesn't support non-blocking IO when reader thread is not enabled
</action>
<action issue="NET-346" dev="sebb" type="add" due-to="Kevin Samuel">
FTP should support reporting NATed external IP address
</action>
<action issue="NET-433" dev="sebb" type="add">
Commons NET site should link to the examples
</action>
<action issue="NET-422" dev="sebb" type="fix" due-to="Tomas Mysik / Magnus Johansson">
FTP using HTTP proxy not working
</action>
<action issue="NET-423" dev="sebb" type="fix" due-to="Jens Koch">
FTPClient.storeFIle might fail when ControlKeepAliveTimeout is set (ditto for FTPCLient.retrieveFile)
</action>
<action issue="NET-426" dev="sebb" type="add" due-to="Ketan">
FTPS: Hook to customize _openDataConnection_ SSLSocket before startHandshake() is called
</action>
<action issue="NET-430" dev="sebb" type="fix" due-to="Thomas Mathis">
Can't login to POP3S Server using explicit mode
</action>
<action issue="NET-434" dev="sebb" type="fix" due-to="zhangyong">
FTPClient fails to close local listener socket when command socket channel encounter "ReadTimeoutException"
</action>
<action issue="NET-436" dev="sebb" type="add" due-to="Jürgen Jung">
[FTP] Support for SYST "Mac OS" listing - "MACOS Peter's Server"
</action>
<action issue="NET-425" dev="sebb" type="update" due-to="Steven Jardine">
[FTP] _openDataConnection_, __storeFile, and __storeFileStream should be protected and take String for FTP command.
Likewise for receiveFile and receiveFileStream.
</action>
<action issue="NET-416" dev="sebb" type="update" due-to="Abhijeet Gaikwad">
[Telnet] Increasing sub-negotiation message holder array size
</action>
<action issue="NET-428" dev="sebb" type="fix" due-to="sebb">
SubnetUtils throws ArrayIndexOutOfBoundsException for new SubnetUtils( "1.2.3.4/32" ).getInfo().getAllAddresses()
</action>
<action issue="NET-421" dev="sebb" type="fix" due-to="Oliver Saggau">
Problem connecting to TLS/SSL SMTP server using explicit mode.
</action>
<action issue="NET-415" dev="sebb" type="fix" due-to="george thomas">
[Site] typo in migration how-to.
</action>
</release>
<release version="3.0.1" date="June 6, 2011" description="
This is a bug-fix release.
">
<action issue="NET-409" dev="sebb" type="fix">
FTPClient truncates file (storeFile method).
Fix bug introduced in release 3.0.
</action>
</release>
<release version="3.0" date="May 16, 2011"
description="
This release fixes many bugs (see below), and adds new functionality:
- basic support for IMAP and IMAPS
- support for SMTPS and POP3S
FTP changes:
- default for lenient future dates is now true, which fixes short date parsing where host clock is ahead of client clock
- no longer parses every response line twice
- OS auto-detection can be overriden by defining the property 'org.apache.commons.net.ftp.systemType';
- or by creating a properties file '/systemType.properties' which provides a mapping from getSystemType() to parser name
See the Javadoc for FTPClient.initiateListParsing(String parserKey, String pathname).
- SASL, PLAIN and CRAM-MD5 authentication added
- added control channel keep-alive for use with misbehaving routers, see FTPClient.setControlKeepAliveTimeout(long controlIdle)
NNTP changes:
- reworked to use long for article numbers
- added streaming equivalents for the array methods
Added TrustManagerUtils and KeyManagerUtils classes to simplify setting up trust and key namagers.
KeyManagerUtils can be used to provide client certificates.
This release is binary-compatible with 2.2, but there are some minor changes to source compatibility:
- telnet.TelnetClient#addOptionHandler(TelnetOptionHandler) now additionally throws IOException
- telnet.TelnetClient#deleteOptionHandler() now additionally throws IOException
- ftp.FTPSClient ctors no longer throw NoSuchAlgorithmException
- Redundant CODE_nnn definitions have been removed from FTPReply, SMTPReply and NNTPReply classes
- Unused String constants KEYSTORE_ALGORITHM, PROVIDER, STORE_TYPE, TRUSTSTORE_ALGORITHM removed from FTPSClient
All users are recommended to upgrade.
">
<action issue="NET-407" dev="sebb" type="update">
Change lenientFutureDates to default to true.
This means short dates will be parsed as the current year when the host clock is up to 1 day ahead of the client clock.
</action>
<action issue="NET-404" dev="sebb" type="fix">
FTPSSocketFactory does not override createSocket(); causes java.net.SocketException: Unconnected sockets not implemented.
</action>
<action issue="NET-399" dev="sebb" type="fix" due-to="Noah Levitt">
ftp data connection does not use connectTimeout.
</action>
<action issue="NET-400" dev="sebb" type="update" due-to="David Kocher">
Option to override SSL negotiation. Make FTPSClient#execAuth() and FTPSClient#sslNegotiation() protected
</action>
<action issue="NET-402" dev="sebb" type="fix">
IMAP, NNTP, POP3 and SMTP classes uses BufferedReader for control channel, which does not follow the standard.
Changed reader to CRLFLineReader.
</action>
<action issue="NET-401" dev="sebb" type="fix">
FTP class uses BufferedReader for control channel, which does not follow the standard.
Changed reader to CRLFLineReader.
</action>
<action issue="NET-331" dev="sebb" type="update">
AS400 file timestamp format is wrong. Workround exists.
</action>
<action issue="NET-269" dev="sebb" type="update">
Remove semi-redundant check in SubnetUtils.calculate().
</action>
<action issue="NET-219" dev="sebb" type="update">
Should Telnet class Exception blocks write to System.err?
Catch blocks removed, and throws clauses added to allow caller to more easily detect and recover.
</action>
<action issue="NET-397" dev="sebb" type="update" due-to="Bogdan Drozdowski"
due-to-email="bogdandr # op . pl">
FTPSClient does not handle AUTH or ADAT and only partially handles PBSZ. FTPSCommand should be deprecated.
</action>
<action issue="NET-268" dev="sebb" type="fix">
Better handling of CIDR/31 and CIDR/32 where isInclusive = false.
Return 0 for address count, and 0.0.0.0 for each of the addresses
</action>