Skip to content

Bump SSH.NET from 2024.2.0 to 2025.1.0#31

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/SshNet.Keygen.Sample/SSH.NET-2025.1.0
Closed

Bump SSH.NET from 2024.2.0 to 2025.1.0#31
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/SshNet.Keygen.Sample/SSH.NET-2025.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 14, 2026

Copy link
Copy Markdown
Contributor

Updated SSH.NET from 2024.2.0 to 2025.1.0.

Release notes

Sourced from SSH.NET's releases.

2025.1.0

Highlights

  • Add DownloadFileAsync and UploadFileAsync to SftpClient (#​1634)
  • Much improved performance of SftpFileStream in consecutive read (e.g. SftpFileStream.CopyTo) scenarios (#​1705)

Breaking changes:

  • SftpFileStream previously had some incomplete synchronisation for multi-threaded access, but was not advertised nor fully functioning as thread safe. This synchronisation was removed in #​1705. When accessing an SftpFileStream instance from multiple threads simultaneously, ensure there exists appropriate synchronisation.
  • SftpClient.CreateText and WriteAll{Bytes/Text/Lines} were changed in #​1686 to truncate the file before writing if it exists, to align with the equivalent methods on System.IO.File. Given that the prior behaviour was 14 years old, the change treads the line between breaking change and bug fix.
  • IEnumerable<string> ReadLines on SftpClient was updated in #​1681 to download and yield lines during enumeration rather than reading them all up front and returning the result. This means that the connection must be active during enumeration. When storing the result of ReadLines for later use, consider using string[] ReadAllLines instead.

What's Changed

2025.0.0

Highlights

  • Add support for post-quantum key exchange methods sntrup761x25519-sha512 and mlkem768x25519-sha256
  • Add support for PuTTY private key files
  • Add logging capability via Microsoft.Extensions.Logging

Breaking changes

  • Support for DSA was dropped in #​1558
  • CipherPadding was deleted in #​1546 and uses replaced with Org.BouncyCastle.Crypto.Paddings.IBlockCipherPadding
  • See the full API diff at the end

What's Changed

Commits viewable in compare view.

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jul 14, 2026
---
updated-dependencies:
- dependency-name: SSH.NET
  dependency-version: 2025.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/SshNet.Keygen.Sample/SSH.NET-2025.1.0 branch from 2266ec7 to 0fd52be Compare July 14, 2026 12:57
@darinkes

Copy link
Copy Markdown
Owner

Closing — this raises the library's SSH.NET floor to 2025.1.0, but the range already in place ([2024.2.0,2026.0)) permits 2025.1.0, so consumers who want it already get it. Raising the floor only drops 2024.2.0–2025.0.x support with no benefit, and it's what caused the NU1605 downgrade (the sample still pins 2024.2.0). Leaving the capped range as-is.

@darinkes darinkes closed this Jul 14, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/nuget/SshNet.Keygen.Sample/SSH.NET-2025.1.0 branch July 14, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant