Blame Changes

Packit bd23c0
Revision history for Perl distribution libnet
Packit bd23c0
Packit bd23c0
3.11 2017-11-14
Packit bd23c0
Packit bd23c0
    - Treat FTP MLSD commands case-insensitively.  [Brian M. Carlson, PR#32]
Packit bd23c0
Packit bd23c0
3.10 2016-08-01
Packit bd23c0
Packit bd23c0
    - Removed . from @INC when loading optional modules.  [Tony Cook, Perl
Packit bd23c0
      RT#127834, CVE-2016-1238]
Packit bd23c0
Packit bd23c0
    - Removed the default Net::Cmd::timeout() since it inadvertently overrode
Packit bd23c0
      the timeout() method in whatever IO::Socket::INET-like class sub-classes
Packit bd23c0
      of Net::Cmd also derive from (at least in cases where Net::Cmd takes
Packit bd23c0
      precedence in the method resolution, which it should do so that
Packit bd23c0
      Net::Cmd::getline() overrides IO::Handle::getline()).
Packit bd23c0
Packit bd23c0
      This does cause problems for any Net::Cmd sub-classes that don't provide
Packit bd23c0
      (by whatever means) the necessary parts of the interface of
Packit bd23c0
      IO::Socket::INET, but since they mostly seem to anyway (apart from the one
Packit bd23c0
      that led to the CPAN RT#110978 report!) this is now simply a documented
Packit bd23c0
      requirement.
Packit bd23c0
Packit bd23c0
      [CPAN RT#116345]
Packit bd23c0
Packit bd23c0
3.09 2016-07-19
Packit bd23c0
Packit bd23c0
    - Provided (and documented) a default Net::Cmd::timeout().  [CPAN RT#110978]
Packit bd23c0
Packit bd23c0
    - Increased minimum required version of IO::Socket::IP to 0.25 to hopefully
Packit bd23c0
      stop t/pop3_ipv6.t hanging.  [CPAN RT#104545]
Packit bd23c0
Packit bd23c0
    - Debug output now includes decoded (from base64) negotiation for SASL.
Packit bd23c0
      [Philip Prindeville, PR#27]
Packit bd23c0
Packit bd23c0
    - Adapted tests to Test2 revision of Test::More::note()  [James E. Keenan,
Packit bd23c0
      PR#28]
Packit bd23c0
Packit bd23c0
3.08 2016-01-05
Packit bd23c0
Packit bd23c0
    - Fixed a bug introduced in version 1.28 whereby a short write in Net::Cmd
Packit bd23c0
      would be treated as an error instead of looping.  [David Golden, PR#24]
Packit bd23c0
Packit bd23c0
    - Documented the fact that Net::SMTP::auth() can accept an Authen::SASL
Packit bd23c0
      object instead of a username and password.  [Jan Viktorin, CPAN RT#106183]
Packit bd23c0
Packit bd23c0
    - Simplified specification of INSTALLDIRS: We do not need to check the lower
Packit bd23c0
      bound since we only support Perl 5.8.1 and higher anyway.
Packit bd23c0
Packit bd23c0
3.07 2015-07-17
Packit bd23c0
Packit bd23c0
    - Net::FTP::rmdir() has been made more robust by making use of the MLSD
Packit bd23c0
      command in addition to the NLST command since the latter is known not to
Packit bd23c0
      be processed correctly by some FTP servers.  [Chris Lindee, CPAN
Packit bd23c0
      RT#100694]
Packit bd23c0
Packit bd23c0
    - Net::FTP, Net::NNTP, Net::POP3 and Net::SMTP can now restrict domain to
Packit bd23c0
      IPv4 even if IPv6 is available by using the new Domain or Family argument.
Packit bd23c0
Packit bd23c0
      Net::NNTP now supports the LocalPort argument in addition to LocalAddr.
Packit bd23c0
Packit bd23c0
      Net::POP3 now supports the LocalAddr and LocalPort arguments in addition
Packit bd23c0
      to ResvPort (which is retained for backwards compatibility).
Packit bd23c0
Packit bd23c0
      [Steffen Ullrich, PR#18]
Packit bd23c0
Packit bd23c0
    - Fixed a bug in Net::Cmd::datasend() which caused octets in [\x80-\xFF]
Packit bd23c0
      stored in a "binary string" to be replaced with their UTF-8 encodings if
Packit bd23c0
      the string happened to be stored internally in an "upgraded" state (i.e.
Packit bd23c0
      with the UTF-8 flag on).  (As noted below, strings passed to datasend()
Packit bd23c0
      should always be encoded first, and therefore not stored in such a state
Packit bd23c0
      anyway, but it is all too easy for perl to change this internal state
Packit bd23c0
      unless the encodeing is done at the very last minute before calling
Packit bd23c0
      datasend(), so it helps if datasend() plays more nicely in this case.  In
Packit bd23c0
      particular, it was wrong of datasend() to treat upgraded and downgraded
Packit bd23c0
      strings differently when their contents were identical at the Perl level.)
Packit bd23c0
Packit bd23c0
      This bugfix results in a breaking change to the case of a "text string"
Packit bd23c0
      with characters in U+0080..U+00FF stored internally in an upgraded state
Packit bd23c0
      since those characters are likewise no longer encoded to UTF-8 by
Packit bd23c0
      datasend(), but callers of datasend() should not have been relying on this
Packit bd23c0
      behaviour anyway: In general, datasend() has no idea what encoding is
Packit bd23c0
      required for output so callers should always encode the data to be output
Packit bd23c0
      to whatever encoding is required first.  This has now been clarified in
Packit bd23c0
      the documentation.
Packit bd23c0
Packit bd23c0
      Finally, a text string with characters >= U+0100 will now cause a "Wide
Packit bd23c0
      character in print" warning from datasend() since such characters cannot
Packit bd23c0
      be output as bytes and datasend() no longer encodes to UTF-8.  In this
Packit bd23c0
      case, UTF-8 bytes will still be output as before since that happens to be
Packit bd23c0
      the internal representation of such characters, but the warning is new.
Packit bd23c0
      Callers should heed this warning and encode such strings to whatever
Packit bd23c0
      encoding is required before calling datasend(), as noted above.
Packit bd23c0
Packit bd23c0
      [Ricardo Signes, CPAN RT#104433]
Packit bd23c0
Packit bd23c0
3.06 2015-04-01
Packit bd23c0
Packit bd23c0
    - Fixed INSTALLDIRS to account for the @INC reordering change in Perl 5.12.
Packit bd23c0
      See Perl RT#116479 for details.  (libnet entered the perl core in Perl
Packit bd23c0
      5.7.2 so that's what the lower bound of the check should strictly be, but
Packit bd23c0
      since we only support Perl 5.8.1 and higher anyway it suffices to check
Packit bd23c0
      for Perl 5.8.  The upper bound is correctly Perl 5.11.0 since the @INC
Packit bd23c0
      reordering change in question (Perl core commit #b9ba2fadb1) first
Packit bd23c0
      appeared in Perl 5.11.0.)  [CPAN RT#103238]
Packit bd23c0
Packit bd23c0
    - Fixed Net::FTP authorize() method, which incorrectly interpreted the
Packit bd23c0
      return value of the _RESP() method and falsely reported a failure.  [Troy
Packit bd23c0
      Loveday, CPAN RT#48532]
Packit bd23c0
Packit bd23c0
    - Added optional SendHello argument to Net::SMTP->new() to allow preventing
Packit bd23c0
      the EHLO/HELO command from being automatically sent by the constructor.
Packit bd23c0
      [Danil Onishchenko, PR#13]
Packit bd23c0
Packit bd23c0
3.05 2015-01-12
Packit bd23c0
Packit bd23c0
    - Fixed infinite loop in Net::SMTP::auth().  [CPAN RT#100235]
Packit bd23c0
Packit bd23c0
3.04 2014-11-29
Packit bd23c0
Packit bd23c0
    - SNI is now only used for SSL connections if it is supported by
Packit bd23c0
      IO::Socket::SSL (i.e. OpenSSL version >= 1).  (The previous release
Packit bd23c0
      switched to using SNI by default, which caused some CPAN Testers
Packit bd23c0
      failures.)  [Steffen Ullrich, PR#10]
Packit bd23c0
Packit bd23c0
3.03 2014-11-28
Packit bd23c0
Packit bd23c0
    - Remodelled SSL support in Net::NNTP in the manner of Net::POP3 and
Packit bd23c0
      Net::SMTP.  [Steffen Ullrich, PR#9]
Packit bd23c0
Packit bd23c0
    - Increased minimum requred IO::Socket::SSL version from 1.999 to 2.007 to
Packit bd23c0
      fix data connection problems in Net::FTP.  [Steffen Ullrich, CPAN
Packit bd23c0
      RT#100529]
Packit bd23c0
Packit bd23c0
    - Fixed a broken port() call in pasv_xfer()/pasv_xfer_unique() in Net::FTP.
Packit bd23c0
      [Mario Preksavec, PR#8]
Packit bd23c0
Packit bd23c0
    - Increased minimum required Socket version from 1.3 to 2.016.  This may be
Packit bd23c0
      required when those modules that can support IPv6 load IO::Socket::IP (on
Packit bd23c0
      some OSes, at least).  It does not appear to be necessary if they load
Packit bd23c0
      IO::Socket::INET6 or IO::Socket::INET instead, but this is not easy for
Packit bd23c0
      the end-user to control so it is simpler to always insist on Socket 2.016
Packit bd23c0
      or higher.  [CPAN RT#100020]
Packit bd23c0
Packit bd23c0
    - Fixed "Argument ... isn't numeric in subroutine entry" warnings when using
Packit bd23c0
      older versions of Perl.  [CPAN RT#100020]
Packit bd23c0
Packit bd23c0
    - Added optional Changes testing (skipped unless AUTHOR_TESTING).
Packit bd23c0
Packit bd23c0
    - Reformatted Changes file as per CPAN::Changes::Spec.
Packit bd23c0
Packit bd23c0
3.02 2014-10-10
Packit bd23c0
Packit bd23c0
    - Don't run interactive prompt() in Makefile.PL when in PERL_CORE.
Packit bd23c0
Packit bd23c0
    - Fix $smtp->auth($sasl) to try the AUTH mechanism (if present) in the
Packit bd23c0
      Authen::SASL object before falling back on other mechanisms.  [CPAN
Packit bd23c0
      RT#99415]
Packit bd23c0
Packit bd23c0
3.01 2014-10-09
Packit bd23c0
Packit bd23c0
    - Require IO::Socket::SSL >= 1.999 to protect against a bad version (0.30)
Packit bd23c0
      of IO::Socket::IP and hopefully fix another bunch of CPAN Testers
Packit bd23c0
      failures.
Packit bd23c0
Packit bd23c0
3.00 2014-10-09
Packit bd23c0
Packit bd23c0
    - Skip Perl Critic, Pod and Pod Coverage tests unless AUTHOR_TESTING.  [CPAN
Packit bd23c0
      RT#99399]
Packit bd23c0
Packit bd23c0
    - Synchronize all $VERSIONs to the distribution's version number, bumping
Packit bd23c0
      that to 3.00 so that no $VERSIONs end up going backwards.
Packit bd23c0
Packit bd23c0
1.30 2014-10-08
Packit bd23c0
Packit bd23c0
    - Sigh. Fix PAUSE indexing problem again. Net::SMTP::SSL is already used by
Packit bd23c0
      Net-SMTP-SSL.
Packit bd23c0
Packit bd23c0
1.29 2014-10-08
Packit bd23c0
Packit bd23c0
    - Fix PAUSE indexing problem. Net::POP3::_SSLified and Net::SMTP::_SSLified
Packit bd23c0
      are already used by Net-SSLGlue.
Packit bd23c0
Packit bd23c0
1.28 2014-10-08
Packit bd23c0
Packit bd23c0
    - Improve code()/message() initialization and error handling in Net::Cmd.
Packit bd23c0
      [Tom Metro, CPAN RT#14875]
Packit bd23c0
Packit bd23c0
    - Don't use the ALLO command on FTP servers that don't support it.  [CPAN
Packit bd23c0
      RT#95717]
Packit bd23c0
Packit bd23c0
    - Stop Makefile.PL from requiring interactive configuration when running via
Packit bd23c0
      cpan, cpanp or cpanm: just accept all defaults in these cases, as when
Packit bd23c0
      running non-interactively.  [CPAN RT#48966]
Packit bd23c0
Packit bd23c0
    - Add optional POD coverage testing.
Packit bd23c0
Packit bd23c0
    - Add optional POD testing.
Packit bd23c0
Packit bd23c0
    - Add optional Perl::Critic testing.
Packit bd23c0
Packit bd23c0
    - Make code Perl::Critic clean.
Packit bd23c0
Packit bd23c0
    - Move Net/*.pm into lib/Net/ sub-directory within distribution.  This is
Packit bd23c0
      the usual layout style these days.
Packit bd23c0
Packit bd23c0
    - Change Net::SMTP::auth() so that it now falls back to another supported
Packit bd23c0
      AUTH method if a given AUTH method fails.  [Ivan Baktsheev, PR#3]
Packit bd23c0
Packit bd23c0
    - Change Net::SMTP::auth() so that it uses the SMTP AUTH mechanism(s)
Packit bd23c0
      specified in the Authen::SASL object if one is provided instead of a
Packit bd23c0
      username.   If a plain text username is specified then use the first
Packit bd23c0
      reported SMTP AUTH method supported, as usual.  [Ewen McNeill, CPAN
Packit bd23c0
      RT#58002]
Packit bd23c0
Packit bd23c0
    - Add support for IPv6 and SSL to Net::FTP, Net::NNTP, Net::POP3 and
Packit bd23c0
      Net::SMTP.  These features are only available if the user has:
Packit bd23c0
Packit bd23c0
      * a recent IO::Socket::SSL for SSL support;
Packit bd23c0
Packit bd23c0
      * a recent IO::Socket::IP or an older IO::Socket::INET6 for IPv6 support.
Packit bd23c0
Packit bd23c0
      If no SSL module is available it will work as before, but attempts to use
Packit bd23c0
      the SSL functionality will result in an error message.  If no IPv6 modules
Packit bd23c0
      are available it will just use IPv4 as before.  With IPv6 modules
Packit bd23c0
      installed one can of course still access IPv4 hosts.
Packit bd23c0
Packit bd23c0
      [Steffen Ullrich, CPAN RT#93823]
Packit bd23c0
Packit bd23c0
1.27 2014-05-30
Packit bd23c0
Packit bd23c0
    - Simplified Makefile.PL requirements.
Packit bd23c0
Packit bd23c0
1.26 2014-05-30
Packit bd23c0
Packit bd23c0
    - Set minimum required ExtUtils::MakeMaker version to 6.64 to ensure that
Packit bd23c0
      all parameters used are supported, to save jumping through hoops to
Packit bd23c0
      support earlier versions.  (This should not be a problem since
Packit bd23c0
      ExtUtils::MakeMaker 6.64 is easily installed into Perl 5.8.1 and above,
Packit bd23c0
      that being the whole point of the new choice of minimum supported Perl
Packit bd23c0
      version.)
Packit bd23c0
Packit bd23c0
    - Set minimum required Perl version to 5.8.1.  This is in line with the
Packit bd23c0
      minimum requirement of the "Perl Toolchain".
Packit bd23c0
Packit bd23c0
1.25 2014-02-04
Packit bd23c0
Packit bd23c0
    - Fix Net::FTP::pasv_wait() not handling errors from Net::Cmd::reponse().
Packit bd23c0
      [bergner@cs.umu.se, CPAN RT#50420]
Packit bd23c0
Packit bd23c0
    - Make inheritance from Net::Cmd clearer in the documentation.  [CPAN
Packit bd23c0
      RT#72889]
Packit bd23c0
Packit bd23c0
    - Set timeout for data connection creation in Net::FTP.  [Oleg G, CPAN
Packit bd23c0
      RT#78926]
Packit bd23c0
Packit bd23c0
    - Stop Net::Domain::domainname() from giving out warnings in Android.
Packit bd23c0
      [Brian Fraser]
Packit bd23c0
Packit bd23c0
1.24 2014-01-06
Packit bd23c0
Packit Service 34b12f
    - Fix incorrect handling of CRLF in Net::FTP.  [Willem Monsuwé, CPAN
Packit bd23c0
      RT#41642/62029]
Packit bd23c0
Packit bd23c0
    - POD fixes.  [Dominic Hargreaves, CPAN RT#91761]
Packit bd23c0
Packit bd23c0
1.23 2013-08-12
Packit bd23c0
Packit bd23c0
    - Typo fixes.  [David Steinbrunner, CPAN RT#87681]
Packit bd23c0
Packit bd23c0
1.22_02 2013-08-08
Packit bd23c0
Packit bd23c0
    - Make Net::FTP::dataconn::close() more robust.  [Together with changes to
Packit bd23c0
      Net::FTP already made in 1.22_01, this resolves CPAN RT#37700.]
Packit bd23c0
Packit bd23c0
    - Document scalar/list context return values from Net::Cmd::message().
Packit bd23c0
Packit bd23c0
    - Fix broken URL.  [CPAN RT#68749]
Packit bd23c0
Packit bd23c0
    - Fix documentation typo in Net::Netrc.
Packit bd23c0
Packit bd23c0
    - Fix broken POD in Net::POP3.
Packit bd23c0
Packit bd23c0
    - Improve Net::SMTP documentation of new(), auth() and message().  [CPAN
Packit bd23c0
      RT#36038]
Packit bd23c0
Packit bd23c0
    - Add proper skips to skipped tests in ftp.t.
Packit bd23c0
Packit bd23c0
    - Import hostname.t fix from Perl core commit #adeb94125a.
Packit bd23c0
Packit bd23c0
    - Add time.t, imported from Perl core commit #c85707204c.
Packit bd23c0
Packit bd23c0
    - Add new maintainer information, with updated CPAN and GitHub links.
Packit bd23c0
Packit bd23c0
1.22_01 2010-05-31 09:40:25-05:00
Packit bd23c0
Packit bd23c0
    - Do not create/pass a remote name if one is not given to put_unique.
Packit bd23c0
Packit bd23c0
    - Add ->passive() method to switch between PORT/PASV connections.
Packit bd23c0
Packit bd23c0
    - Accept - in command parsed from SMTP HELO response.
Packit bd23c0
Packit bd23c0
    - Allow group to set to a group named "0".
Packit bd23c0
Packit bd23c0
    - Set $@ when ->new() returns undef.
Packit bd23c0
Packit bd23c0
    - Add support for LocalAddr to be passed to ->new().
Packit bd23c0
Packit bd23c0
    - Document that timeout is in seconds.
Packit bd23c0
Packit bd23c0
    - Fix leading . encoding in datasend().
Packit bd23c0
Packit bd23c0
    - Make ->supported() check ->feature().
Packit bd23c0
Packit bd23c0
    - Allow words other than FILE to prefix the unique name returned in info
Packit bd23c0
      message from stou.
Packit bd23c0
Packit bd23c0
    - Send ALLO command just before the store command.
Packit bd23c0
Packit bd23c0
    - Avoid warnings when server do not prefix messages with codes.
Packit bd23c0
Packit bd23c0
    - Use uppercase characters for xtext encoding.
Packit bd23c0
Packit bd23c0
    - Catch timeout condition while doing an abort.
Packit bd23c0
Packit bd23c0
    - Ensure REST is sent directly before command being restarted.
Packit bd23c0
Packit bd23c0
    - Fix URL.  [Leon Brocard, CPAN RT#49920]
Packit bd23c0
Packit bd23c0
    - Avoid long hang on Mac OS X when hostname is *.local by not calling
Packit bd23c0
      gethostbyname().  [Father Chrysostomos]
Packit bd23c0
Packit bd23c0
    - Avoid infinite recursion in rmdir().
Packit bd23c0
Packit bd23c0
    - Allow finding _netrc on machines that do not support .netrc.  [Ben Bimber]
Packit bd23c0
Packit bd23c0
1.22 2007-08-26 07:13:18-05:00
Packit bd23c0
Packit bd23c0
[Bug Fixes]
Packit bd23c0
Packit bd23c0
    - Fix a bug in Net::Cmd that is_utf8() does not exist prior to Perl 5.8.1.
Packit bd23c0
Packit bd23c0
1.21 2007-05-19 08:53:09-05:00
Packit bd23c0
Packit bd23c0
[Bug Fixes]
Packit bd23c0
Packit bd23c0
    - Fix bug causing utf8 encoding of 8-bit strings in Net::Cmd.
Packit bd23c0
Packit bd23c0
    - Fix precedence issue in Net::NNTP.  [Brendan O'Dea]
Packit bd23c0
Packit bd23c0
    - Fixed bug causing removal of last character on the line when doing ASCII
Packit bd23c0
      FTP transfers.
Packit bd23c0
Packit bd23c0
[Enhancements]
Packit bd23c0
Packit bd23c0
    - Add support for ENVID and AUTH to Net::SMTP.  [Mark Martinec]
Packit bd23c0
Packit bd23c0
    - Changed default for FTP transfers to be passive.
Packit bd23c0
Packit bd23c0
    - Added support for FTP FEAT command.
Packit bd23c0
Packit bd23c0
1.20 2007-02-02 19:42:51-06:00
Packit bd23c0
Packit bd23c0
[Bug Fixes]
Packit bd23c0
Packit bd23c0
    - Fixed incorrect handling of CRLF that straddled two blocks.
Packit bd23c0
Packit bd23c0
    - Fix bug in response() which was too liberal in what it thought was a
Packit bd23c0
      response line.
Packit bd23c0
Packit bd23c0
    - Silence uninitialized value warnings in Net::Cmd during testing on Win32.
Packit bd23c0
Packit bd23c0
    - Documentation typos and updates.
Packit bd23c0
Packit bd23c0
[Enhancements]
Packit bd23c0
Packit bd23c0
    - Added support for ORCPT into Net::SMTP.
Packit bd23c0
Packit bd23c0
    - Support for servers that expect the USER command in upper or lower case.
Packit bd23c0
      Try USER first then try user if that fails.
Packit bd23c0
Packit bd23c0
1.19 2004-06-30 14:53:48+01:00
Packit bd23c0
Packit bd23c0
[Bug Fixes]
Packit bd23c0
Packit bd23c0
    - Fixed datasend() test to work on Win32 platform.
Packit bd23c0
Packit bd23c0
    - Fixed Authen::SASL checking in Net::SMTP and Net::POP3.
Packit bd23c0
Packit bd23c0
    - Fixed bug that a restarted get with Net::FTP did not append to local file.
Packit bd23c0
Packit bd23c0
1.18 2004-03-22 16:19:01Z
Packit bd23c0
Packit bd23c0
[Bug Fixes]
Packit bd23c0
Packit bd23c0
    - Fixed bug in CRLF translation in Net::Cmd datasend()/dataend() methods.
Packit bd23c0
Packit bd23c0
    - Fixed bug in converting numbers returned by PASV command into a packed IP
Packit bd23c0
      address.
Packit bd23c0
Packit bd23c0
    - Fixed bug that caused Net::FTP->get() to truncate the local file after the
Packit bd23c0
      restart method had been called.
Packit bd23c0
Packit bd23c0
    - Fixed bug in Net::FTP->rmdir() when the server returned . and .. in the
Packit bd23c0
      contents of a directory.
Packit bd23c0
Packit bd23c0
    - Fixed bug in Net::POP3 that was sending unnecessary RSETs.
Packit bd23c0
Packit bd23c0
[Enhancements]
Packit bd23c0
Packit bd23c0
    - Added support for POP3 CAPA command.
Packit bd23c0
Packit bd23c0
    - Added support for XVERP to Net::SMTP.
Packit bd23c0
Packit bd23c0
    - Added Net::POP3->banner() method to return the banner received from the
Packit bd23c0
      server during connect.
Packit bd23c0
Packit bd23c0
    - Added Net::POP3->auth() method for performing authentication using SASL;
Packit bd23c0
      requires Authen::SASL.
Packit bd23c0
Packit bd23c0
    - Added Host option to ->new() constructor of FTP, NNTP, SMTP and POP3,
Packit bd23c0
      which can be used instead of passing the host as the first argument.
Packit bd23c0
Packit bd23c0
    - Added ->host() method to FTP, NNTP, SMTP and POP3 to return the host
Packit bd23c0
      string used for the connect.  This is useful to determine which host was
Packit bd23c0
      connected to when multiple hosts are specified.
Packit bd23c0
Packit bd23c0
    - Added support for more non-standard responses to Net::FTP->size().
Packit bd23c0
Packit bd23c0
    - Updated POD for Net::SMTP with respect to not passing a Hello parameter to
Packit bd23c0
      the constructor.  [Jeff Macdonald]
Packit bd23c0
Packit bd23c0
ChangeLogs for releases prior to 1.18 may be found at:
Packit bd23c0
https://github.com/steve-m-hay/perl-libnet/blob/v1.17/ChangeLog