Skip to content

Release 0.5.0 #311

Closed
Closed

Description

@kruton

Release version

0.5.0

Next version

0.5.1-SNAPSHOT

Target branch

main

Release notes

Changes for library users since 0.4.2.

Added

  • Added support for reading OpenSSH private keys encrypted with
    aes128-gcm@openssh.com and aes256-gcm@openssh.com.
  • Added SshClientConfig.sessionWindowSize and SshClientConfig.sftpWindowSize
    to configure receive windows for session channels and channels opened by
    SshClient.openSftp independently.

Changed

  • Increased default receive windows from 64 KiB to 2 MiB for session channels
    and 8 MiB for SFTP channels to improve throughput on higher-latency connections.
  • Improved SSH and SFTP transfer performance by batching channel writes and
    receive-window updates, pipelining SFTP frames, and reducing buffer copies
    and allocations.
  • Serialized protocol decisions independently of transport writes, keeping
    incoming packet processing and shutdown responsive under backpressure.

Fixed

  • Prevented valid packets arriving during suspended writes from causing
    spurious disconnects by serializing complete connection state transitions.
  • Preserved reply ordering when requests are cancelled after being admitted
    for transmission.
  • Released SFTP lifecycle locks before waiting for writes to prevent deadlocks
    under transport or channel-window backpressure.
  • Cancelled pending remote forwarding handlers and released sockets and
    selector resources when forwarding ends or fails.
  • Improved Android key compatibility by falling back to JVM Base64 operations
    when Android calls fail and accepting Ed25519 private keys with PKCS#8
    encodings regardless of their implementation class name.

Activity

  1. added and removed on Sep 29, 2026
  2. connectbot-release-manager commented on Sep 29, 2026

    @connectbot-release-manager

    Prepared v0.5.0 for main in PR #313.

    Next steps:

    1. Open chore(release): 0.5.0 #313 and submit an Approve review (Files changed → Review changes → Approve).
    2. Wait for all required CI checks to pass.
    3. Add release:publish to this issue.

    Leave the PR open and in draft. Do not merge it or mark it ready for review. The publish action will tag the release and advance the target branch.

  3. connectbot-release-manager commented on Sep 29, 2026

    @connectbot-release-manager

    Published tag v0.5.0 and advanced main to 0.5.1-SNAPSHOT.

    Next: check the repository's Actions tab for the tag-triggered artifact publishing run. This action does not upload artifacts. Once publishing succeeds, close this release issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release:preparePrepare to create a release.release:publishPublish the release that has been prepared.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions