dartssh3 3.0.0 dartssh3: ^3.0.0 copied to clipboard
SSH and SFTP client written in pure Dart, aiming to be feature-rich as well as easy to use.
[3.0.0] - 2024-08-13 #
-
Changed version constraints for package
pinenacl
from^0.5.0
to">=0.5.0 <1.0.0"
to support Dart SDK>= 3.5.0
. See Dart SDK Changelog. -
Bumped SDK constraints from
">=2.17.0 <3.0.0"
up to">=2.17.0 <4.0.0"
-
Bug fix in
SftpFileWriter
for #50, #71, #100:When the input stream contains only one event and that event has fewer bytes than
maxBytesOnTheWire
, then theSftpFileWriter._doneCompleter
never got completed. This happened because the completer got only completed in the_handleLocalData
event handler if the_streamDone
flag was already true, the problem is that if the stream only has one small event, then_handleLocalData
will only be called once with the event and afterward_handleLocalDone
will be called once, which sets_streamDone
to true. At this point the_doneCompleter
cannot be completed anymore because the_handleLocalData
will not get called anymore. This problem causes never endingawait
statements when opening and writing a file.This issue has been fixed by checking if all sent bytes have already been acknowledged in the
_handleLocalDone
event handler and subsequently completing the_doneCompleter
.void _handleLocalDone() { _streamDone = true; if (_bytesSent == _bytesAcked) { _doneCompleter.complete(); } }
-
Added return type
SftpFileOpenMode
to operator|
in classSftpFileOpenMode
. Fix for #80.
[2.9.1-pre] - 2023-04-02 #
- Make the type of
SSHForwardChannel.sink
toStreamSink<List<int>>
to match its super class. - Added
SSHHttpClient
for easy http request forwarding.
[2.9.0-pre] - 2023-03-31 #
- Better handling of channel close.
- Make
SSHForwardChannel
implementSSHSocket
for better interoperability.
[2.8.2] - 2023-03-07 #
- Make
SftpFileWriter
implementFuture<void>
for backward compatibility.
[2.8.1] - 2023-03-07 #
- Export
SftpFileWriter
[2.8.0] - 2023-03-06 #
SftpFile.write
now returns aSftpFileWriter
that can be used to control the writing process.- Support
SftpClient.statvfs
andSftpFile.statvfs
. - Support automatic keepalive.
2.7.3 #
- Update README.md
- Move cli into separate package.
- Properly handle chunk read error during stream read.
2.7.2+3 #
- Update README.md
2.7.2+2 #
- Update README.md
2.7.2+1 #
- Update README.md
2.7.1 #
- Upgrade rsa authentication algorithm to rsa-sha2-256.
2.7.0 #
- Support encrypted RSA format private key
2.6.0 #
- Allow ignoring stdout or stderr in
SSHClient.run
. - Add
SSHAuthFailError
andSSHAuthAbortError
. - Fix file type detection.
- Fix empty identity handling #21
- Add connection reset handing.
- Add more tests
2.4.4 #
- Fix lint errors
2.4.3 #
- Remove unused dependencies
- Fix lint errors
2.4.1 #
- More examples in README.md
- Limit the maximum size of channel packets
2.4.0 #
- Support session stdin streaming and EOF
2.3.1-pre #
- Add remoteVersion field to SSHClient
2.3.0-pre #
- Add description field in SSHChannelOpenError
2.2.0 #
- Update README.md
- Support export keypair to PEM
2.1.0-pre #
- Update README.md
- Support loading OpenSSH encrypted pem files.
2.0.0-pre #
- Implements local port forwarding
- Implements remote port forwarding
- Implements SFTP client
- More supported algorithms
- Added
dartsftp
command
1.2.0-pre #
- Rework login logic.
dartssh
command now supports login with public key.
1.1.4-pre #
dartssh
command now supports terminal window resize.
1.1.3-pre #
- Add
--verbose
option indartssh
command.
1.1.2-pre #
- Fix typos.
1.1.1-pre #
- Organize exports.
1.1.0-pre #
1.0.4+4 #
- Increase test coverage and documentation.
1.0.3+3 #
- Fix tunneled WebSocket issue.
1.0.2+2 #
- Add example/README.md
1.0.1+1 #
- Add SSHTunneledSocketImpl, SSHTunneledWebSocketImpl, and SSHTunneledBaseClient.
1.0.0+0 #
- Initial release.