Changeset 1942:fa10c2270a5e


Ignore:
Timestamp:
May 31, 2020, 7:30:56 PM (16 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
Message:
Update announcements for 4.0.0-beta
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/announcements.txt

    r1864 r1942  
    11ftputil 4.0.0-beta is now available from
    2 http://ftputil.sschwarzer.net/download .
     2https://ftputil.sschwarzer.net/download .
     3
    34
    45Changes since the last stable release 3.4
     
    1314- Python 2 is no longer supported.
    1415
    15 - The minimal supported Python 3 version is 3.6.
    16 
    17 - The flag `use_list_a_option` of `FTPHost` instances will be set to
     16- The minimal supported Python 3 version is 3.5.
     17
     18- The flag `use_list_a_option` of `FTPHost` instances is now set to
    1819  `False` by default. This option was intended to make life easier for
    1920  users, but turned out to be problematic [1].
    2021
    21 If you need to use Python versions lower than 3.6, please use the
    22 previous stable ftputil version 3.4.
     22- By default, time stamps in directory listings coming from the server
     23  are now assumed to be in UTC. Previously, listings were assumed to
     24  use the local time of the client. [2]
     25
     26  Correspondingly, the definition of "time shift" has changed. The
     27  time shift is now defined as the time zone used in server listings
     28  (say, UTC+02:00) and UTC, in other words, the time shift now is the
     29  time zone offset applied in the server listings. In earlier ftputil
     30  versions, the time shift was defined as "time used in server
     31  listings" minus "local client time."
     32
     33If you need to use Python versions before 3.5, please use the previous
     34stable ftputil version 3.4.
    2335
    2436
     
    2739
    2840- Functions and methods which used to accept only `str` or `bytes`
    29   paths now _also_ accept `PathLike` objects [2, 3].
    30 
    31 - ftputil now officially follows semantic versioning (SemVer) [4].
     41  paths now _also_ accept `PathLike` objects [3, 4].
     42
     43- `FTPHost.makedirs` correctly handles `exist_ok`. [5]
     44
     45- Clear the stat cache when setting a new time shift value. [6]
     46
     47- ftputil now officially follows semantic versioning (SemVer) [7].
    3248  Actually ftputil has been following semantic versioning since a long
    3349  time (probably since version 2.0 in 2004), but it was never
    3450  explicitly guaranteed and new major versions were named x.0 instead
    35   of x.0.0.
     51  of x.0.0 and new minor versions x.y instead of x.y.0.
     52
     53- Internal changes: The tests were moved to pytest. The old mocking
     54  approach was replaced by a "scripted session" approach.
    3655
    3756
     
    4867
    4968See the documentation for details:
    50 http://ftputil.sschwarzer.net/trac/wiki/Documentation
     69http://ftputil.sschwarzer.net/trac/wiki/PreReleaseDocumentation
    5170
    5271
     
    5978
    6079[1] https://ftputil.sschwarzer.net/trac/ticket/110
    61 [2] https://docs.python.org/3/library/os.html#os.PathLike
    62 [3] https://ftputil.sschwarzer.net/trac/ticket/119
    63 [4] https://semver.org/
     80[2] https://ftputil.sschwarzer.net/trac/ticket/134
     81[3] https://docs.python.org/3/library/os.html#os.PathLike
     82[4] https://ftputil.sschwarzer.net/trac/ticket/119
     83[5] https://ftputil.sschwarzer.net/trac/ticket/117
     84[6] https://ftputil.sschwarzer.net/trac/ticket/136
     85[7] https://semver.org/
    6486
    6587
Note: See TracChangeset for help on using the changeset viewer.