All Versions
6
Latest Version
Avg Release Cycle
201 days
Latest Release
1929 days ago
Changelog History
Changelog History
-
v0.3.0 Changes
October 28, 2019https://github.com/bitcrowd/sshkit.ex/compare/v0.2.0...v0.3.0
π This version adds SSH subsystem support.
Shout-out to @bartj3 π
π New features:
- β Add support for initializing subsystems using
SSH.Channel.subsystem
- Subsystems allow applications or functions to use SSH as a protocol. Examples of this are SFTP and NETCONF over SSH.
- β Add support for initializing subsystems using
-
v0.2.0 Changes
October 17, 2019https://github.com/bitcrowd/sshkit.ex/compare/v0.1.0...v0.2.0
- The
SSHKit.download/3
andSSHKit.upload/3
functions are now fully context-aware [#121] - They will respect the
user
,env
,path
β¦ values set in the context
π Fixes:
- π Improve documentation about our release process
- π Fix an Elixir 1.8 deprecation warning (#147)
- The
-
v0.1.0 Changes
September 18, 2018https://github.com/bitcrowd/sshkit.ex/compare/v0.0.3...v0.1.0
- π Require Elixir 1.5+ and drop support for lower versions.
- π Fix Elixir 1.5 String deprecations.
- β‘οΈ Update installation instructions.
- β Introduce Mox for mocking in unit tests.
- π Improve and add unit tests.
Thanks for your contributions:
- @Bugagazavr
- @brienw
- @holetse
Potentially breaking changes:
- β Remove
:dry_run
option: Depending on how you're using SSHKit, "dry-run" could have a number of different meanings- you may want to actually connect to the remote without changing anything or you may not want to establish a connection at all
- some steps in the flow you're dry-running may depend on things like directories created in a previous step which won't be there
- all in all, a "dry-run" feature is likely better handled at an application level which may know the dependencies between commands
- Set
-H
option forsudo
in order to get the expected value forHOME
- π Export context environment variables directly before the supplied command in
SSHKit.Context.build/2
- this could potentially result in different behavior for code that sets environment variables consumed by the other commands in the context
- those cases should be rare though and the new behavior seems closer to what most would expect when using contexts
π New features:
- Split the SCP file upload into a setup and an execution step:
- add
SCP.Upload.new/3
andSCP.Upload.exec/2
SCP.Upload.transfer/4
still works as before
- add
- β Added support for ptty allocation in
SSH.Channel
module [#129]
π Fixes:
- π Fix error handling in
SSHKit.SSH.Channel.send/4
when sending stream data - Context properly handles the case where env is set to an empty map
- π Fix environment variables export in contexts with user, group, umask, path and env
-
v0.0.3 Changes
July 13, 2017https://github.com/bitcrowd/sshkit.ex/compare/v0.0.2...v0.0.3
π New features:
- β Added support for uploading/downloading files via the
SSHKIT
main DSL [#32] - β Added support for options that are shared between hosts [#61]
- π Improved documentation [#67]
- β Added support for passing an anonymous function to
SSH.connect
[#72] - β Add support for passing a
dry_run
flag toSSHKit.SSH.connect
[#79]
π Fixes:
- Properly return
{:error, "No host given."}
when trying to connect to a host which isnil
[#70] - π Improved unit and integration tests [#59] [#75] [#77]
- β Added support for uploading/downloading files via the
-
v0.0.2 Changes
June 23, 2017https://github.com/bitcrowd/sshkit.ex/compare/v0.0.1...v0.0.2
Potentially breaking changes:
- π Renamed response from remotely executed commands from 'normal' to 'stdout' [#34]
- π Renamed
SSHKit.pwd
toSSHKit.path
[#33] Thanks @brienw for the idea
π New features:
- π Support basic SCP up-/downloads
- β Added documentation https://hexdocs.pm/sshkit/SSHKit.html
π Fixes:
- π§ Accept binaries (not only charlists) for configuration. Thanks @svoynow
- π Fixed a bug that prevented
SSHKit.env
from working [#35]
-
v0.0.1 Changes
January 26, 2017π https://github.com/bitcrowd/sshkit.ex/releases/tag/v0.0.1
π Basic support of / wrapping around erlang :ssh.