Skip to content

distant v0.20.0-alpha.13

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Jul 21:07
8972013

Release Notes

Added

  • Support for --shell with optional path to an explicit shell as an option
    when executing distant spawn in order to run the command within a shell
    rather than directly
  • semver crate to be used for version information in protocol and manager
  • is_compatible_with function to root of distant-protocol crate that checks
    if a provided version is compatible with the protocol

Changed

  • distant_protocol::PROTOCOL_VERSION now uses the crate's major, minor, and
    patch version at compile-time (parsed via const-str crate) to streamline
    version handling between crate and protocol
  • Protocol and manager now supply a version request instead of capabilities and
    the capabilities of protocol are now a Vec<String> to contain a set of more
    broad capabilities instead of every possible request type

Fixed

  • CLI commands like distant manager select will now output errors in a JSON
    format when configured to communicate using JSON
  • distant-ssh2 no longer caches the remote family globally, but instead
    caches it per Ssh instance

Removed

  • Cmd::program and Cmd::arguments functions as they were misleading (didn't
    do what distant-local or distant-ssh2 do)
  • Removed Capability and Capabilities from protocol and manager