Skip to content

Commit

Permalink
updating gh-pages repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsin Yuan Yeh authored and Hsin Yuan Yeh committed Oct 27, 2023
1 parent 2b7083e commit 4c7a1df
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion v2/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SSHScript v2.0 Reference Guide
Last Updated on 2023/10/21

## Tutorials
## Learning
* [Getting Started](gettingstarted)
* [Commands Execution and Console](tutorial)
* [Stdout, Stderr and Exitcode](dollarstdouterrexitcode)
Expand All @@ -10,6 +10,8 @@ Last Updated on 2023/10/21
* [Upload and Download Files](tutorial-download)
* [Threading Support](tutorial-threading)

## References
* [Recipes](recipes)

## Releases

Expand Down
11 changes: 10 additions & 1 deletion v2/release-v2.0.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,19 @@ Overall, SSHScript v2.0.2 is a significant improvement over previous versions. I

- `$.thread(target)`, create a new SSHScript-aware thread: The $.thread() function creates a new thread that takes the session as its effective sessions. This can be useful for executing commands in a multithreaded environment. [Details](tutorial-threading)


### Changes
- `$.log()` is removed, please use `$.logger` instead. The reason for this is that $.logger is more easier. For example
```
## in SSHScript v1.0, do logging like this
import logging
$.log(logging.DEBUG, 'message')
## in SSHScript v2.0, do logging like this (no need to import logging)
$.logger.debug('message')
```

## Additional Notes


### Simplifications in the Roadmap of SSHScript v2.0

SSHScript v2.0 will focus on improving its simplicity. The following items are on the schedule and will be implemented in next releases:
Expand Down

0 comments on commit 4c7a1df

Please sign in to comment.