Skip to content

Commit bf9e1f7

Browse files
committed
Bump version number up to 2.21.0 and update change log
1 parent 9b16b81 commit bf9e1f7

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

asyncssh/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626

2727
__url__ = 'http://asyncssh.timeheart.net'
2828

29-
__version__ = '2.20.0'
29+
__version__ = '2.21.0'

docs/changes.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,44 @@
33
Change Log
44
==========
55

6+
Release 2.21.0 (2 May 2025)
7+
---------------------------
8+
9+
* Added sparse file support for SFTP, allowing file copying which
10+
automatically skips over any "holes" in a source file, transferring
11+
only the data ranges which are actually present.
12+
13+
* Added support for applications to request that session, connection,
14+
or TUN/TAP requests arriving on an SSHServerConnection be forwarded
15+
out some other established SSHClientConnection. Callback methods on
16+
SSHServer which decide how to handle these requests can now return
17+
an SSHClientConnection to set up this tunneling, instead of having
18+
to accept the request and implement their own forwarding logic.
19+
20+
* Further hardened the SSH key exchange process to make AsyncSSH
21+
more strict when accepting messages during key exchange. Thanks
22+
go to Fabian Bäumer and Marcus Brinkmann for identifying potential
23+
issues here.
24+
25+
* Added support for the auth_completed callback in SSHServer to
26+
be either a callable or a coroutine, allowing async operations
27+
to be performed when user authentication completes successfully,
28+
prior to accepting session requests.
29+
30+
* Added support for the sftp_factory config argument be either a
31+
callable or a coroutine, allowing async operations to be performed
32+
when starting up a new SFTP server session.
33+
34+
* Fixed a bug where the exit() method of SFTPServer didn't handle
35+
being declared as a coroutine. Thanks go to C. R. Oldham for
36+
reporting this issue.
37+
38+
* Improved handling of exceptions in connection_lost() callbacks.
39+
Exceptions in connection_lost() will now be reported in the
40+
debug log, but other cleanup code in AsyncSSH will continue,
41+
ignoring those exceptions. Thanks go to Danil Slinchuk for
42+
reporting this issue.
43+
644
Release 2.20.0 (17 Feb 2025)
745
----------------------------
846

0 commit comments

Comments
 (0)