Skip to content

Releases: chipsenkbeil/distant

distant v0.14.0

19 Sep 01:54
c4d1011
Compare
Choose a tag to compare

Highlights

For a full commit list, see 0.13.1 -> 0.14.0.

  • Consolidate encryption & authentication into the singular XChaCha20Poly1305 implementation using the audited crate RustCrypto/chacha20poly1305
  • Add SessionExt trait for friendlier methods
  • Create Mailbox and internal PostOffice to manage responses to requests
  • Refactor Session to use a new SessionChannel underneath
  • Refactor Response to always include an origin_id field instead of being optional
  • Update ProcStdout, ProcStderr, and ProcDone to include origin id
  • Replace verbose option with log-level

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

71d2a8d088f1ea29d477314dfe838b2ca5d9173ba52f8e1d12419b70b11bf10f  distant-linux64-gnu
7995c7e615b7b0f448c0f939deb80e4b6611ef07f98d95f4a86c6f24b1a2a590  distant-linux64-musl
838fb7183b9d5fa3de252a30c219427250fb5e4746b7ee91dd4221b7d2a805f6  distant-macos

distant v0.13.1

09 Sep 07:47
4eb15bf
Compare
Choose a tag to compare

Highlights

Bugs

  • Fix json format for interactive proc run requests

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

bc83ac0d30f1714e3119a702419e90165b47998bf757d295bab5789dbf6a0e53  distant-linux64-gnu
4f05336deda498e2e8c7407fe42b215e3799ca65a95f3406a81102ccb8bb02b1  distant-linux64-musl
a7596a132cd6857f95c4473b70f56b0c7609247902d1c2dc79b0709649c79e66  distant-macos

distant v0.13.0

06 Sep 01:48
9a7463f
Compare
Choose a tag to compare

Highlights

For a full commit list, see 0.12.0 -> 0.13.0.

  • New lsp command now available that translates distant:// scheme to file:// and vice versa for compatibility with editors
  • Split into two crates: distant-core comprised of client & server logic and distant containing CLI implementation
    • Expose variety of library logic through distant-core (previously nothing made accessible)
  • Implement a variety of tests for distant and distant-core

Bugs

  • Fix bug where shutdown task would not execute for servers
  • Session no longer terminates when half of transport closes

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

e0a0c421e8a9862e1f46837ec42bdc3b7b994ff7e2f9ab7607d88a7f0991ab5d  distant-linux64-gnu
6121f65f060851fab53e0d8713083b34f7295b337e2156d9f582a27472310dab  distant-linux64-musl
adcb0f966becb6f8d0619459b7da4cb9db5f67639bbcff2e28bd878f03ec2423  distant-macos

distant v0.12.0

19 Aug 05:52
33abcbb
Compare
Choose a tag to compare

Highlights

  • Add login shell support by default, which means that user's path will be properly set when trying to find distant as well as when running future child processes via proc-run
  • Add --session lsp mode to support acquiring a session over stdin from the initialization params of the first LSP request
  • Update logger to properly shutdown when process exits
  • Some minor refactoring and exposure of net module

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

d3d04ada029987e3039d69067e15f85dda9afb841814363cce1a86e45c475751  distant-linux64-gnu
1c1a5f89d1f10afd316e8d638d7e71e8e2710001686928fb6ee79d823a92bd9c  distant-linux64-musl
a6b75f84bb3e85c538a8277985b8fe4880428a339ef86fbee32050b6491a38ac  distant-macos

distant v0.11.0

15 Aug 21:28
f6e9195
Compare
Choose a tag to compare

Highlights

  • New exists request and response type available to check if a path on a remote machine exists
  • Refactored distant::core::data::ResponseData::Error to wrap distant::core::data::Error, which now includes kind alongside description
  • Refactored kind for errors to now be a defined set of error types found in distant::core::data::ErrorKind rather than an arbitrary string
  • 0.10.1: Exit codes are now returned to better reflect why the distant binary has terminated (changed from returning -1 for all errors). These mirror many of the exit codes defined by FreeBSD's sysexists

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

d3d04ada029987e3039d69067e15f85dda9afb841814363cce1a86e45c475751  distant-linux64-gnu
1c1a5f89d1f10afd316e8d638d7e71e8e2710001686928fb6ee79d823a92bd9c  distant-linux64-musl
a6b75f84bb3e85c538a8277985b8fe4880428a339ef86fbee32050b6491a38ac  distant-macos

distant v0.10.0

10 Aug 22:28
86e4d7f
Compare
Choose a tag to compare

Highlights

  • Refactor to support a payload for request & response with multiple entries that are processed concurrently
    • For the CLI, this is only reflected in the json mode as shell mode still handles input and output in a sequential manner, one request/response at a time

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

2dbe83e99510c6ea8da20cf5d2829772b56d8a20d7603c44c0aa6092c2d7e633  distant-linux64-gnu
a796b8c5d0f5cb0f278586c39a114a3bf52ba9118ecdd6186bcbabf8943403cc  distant-linux64-musl
9df95985252336057d7ccdafa597b34191b5f3ff24e5ff215e80b0d95199f49d  distant-macos

distant v0.9.5

08 Aug 22:16
24d0c3b
Compare
Choose a tag to compare

Highlights

  • Client actions can now be configured with a timeout to exit if no response received, rather than waiting indefinitely
  • Unix sockets are now cleared by default when launching a new session; to provide the old binding error, provide --fail-if-socket-exists
  • Metadata retrieval now supports returning a canonicalized path if requested
  • New aliases are available for a variety of existing actions such as rename supporting alias mv; see the help documentation for a full list
  • DirRead now sorts returned paths by name

Fixes

  • Stdin/stdout/stderr pipes now properly read without waiting on newline charcters. Before this, language server protocol over stdin/stdout was not possible as it does not terminate in a newline

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

502ddbd6ef2ca749c6c86c7c5fa0ce506758fc2df407b323e59283c8bbfb32c5  distant-linux64-gnu
1ac10c188163c330061da6fdc3c1ea63a307ea4a68e0694d855d13e457b9b24b  distant-linux64-musl
446d09cde942b56434422b3fbf6c80f27f87a3a3cd3c80358b3d81867244da3e  distant-macos

distant v0.6.0

05 Aug 04:39
a15a707
Compare
Choose a tag to compare

Highlights

  • Capture errors when listing directory contents and report them as part of the response instead of exiting on first error
  • Refactor DirRead request to support providing a depth (instead of the "all" flag), canonicalizing the paths, and have the choice of returning absolute paths instead of relative
  • Fix forked process for launch not connecting over TCP to server due to tokio runtime being inherited from parent
  • Fix leftover launch process caused by forking w/ the old runtime
  • Fix stdout/stderr of running processes not being reported (when process looping and not returning) by wrapping stdout/stderr in BufReader and sending back one line at a time for each
  • Refactor ProcStdout and ProcStderr responses to send back a line field that is a string instead of a data field that is a byte vec as we are now reading and sending back whole lines, which makes more sense and aligns with output flushing and common stdout/stderr
  • Refactor ProcStdin to use line field that is a string instead of a data field that is a byte vec
  • Fix processes lingering for unix socket proxy when a connection closes

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

f10245003bcdca482f95d2ebeda7446f4613480af503a5a1c04f03001627ab89  distant-linux64-gnu
5a7f37c2ac53089211c7f520f0807b281fa2354ddb36655fcc121ff0f722fff7  distant-linux64-musl
28cd95834c503b5650eb09ab9fde50ea1a704aa1a54477d293a34384f3e7c69c  distant-macos

distant v0.5.0

04 Aug 05:22
d477547
Compare
Choose a tag to compare

Highlights

  • Adds in support for unix sockets and makes that the default
  • Supports configuring the session file or socket used depending on the mode
  • Request/response format now includes a tenant name to route messages properly in a multi-tenant fashion (only used by unix socket proxy right now)

Release Targets

  • linux64-gnu is the x86-64 release on Linux using libc
  • linux64-musl is the x86-64 release on Linux using musl (static binary, no libc dependency)
  • macos is a universal binary for Mac OS that supports x86-64 and aarch64 (arm) platforms

SHA256 Checksums

b1e62034faf27b35f855fe4d2ee971ab55f830f03a2ae777b362bb605fef4135  distant-linux64-gnu
59b768b7a111caf4c4f53270f4f51e771694803e6978ad3817ba3509642738fd  distant-linux64-musl
d212ca8e503e3f7ec03d1580e5921689772c663cae3aec6da8e8ade026d2eabb  distant-macos

distant v0.3.2

02 Aug 03:34
d1e342f
Compare
Choose a tag to compare

This is what I'd call one of the first stable (for pre 1.0) releases that supports the majority of functionality needed to work alongside distant.nvim. I'm attaching a couple of prebuilt binaries on the offchance that someone other than me wanted to try this out.

Releases

  • For M1 Macs: distant-macos-m1
  • For 64-bit x86 Linux: distant-linux-x86_64-gnu
  • For 64-bit x86 Linux (using musl): distant-linux-x86_64-musl