Releases: hosh-shell/hosh
Releases · hosh-shell/hosh
0.2.0
v0.1.4
🥇 New docker image deployed on ghcr.io:
docker run -it --rm ghcr.io/hosh-shell/hosh:0.1.4
- bumped jline to 3.20
- skipping autocomplete of commands when current line is not empty
- improving Dockerfile
- build from source in a consistent environment
- fetch dependencies in a separate step (for caching!)
- use multi-stage builds to remove build dependencies
v0.1.3
[v0.1.3] - 2020-11-03
Added
waitSuccess
: runs nested command until first success
inspired by https://medium.com/@marko.luksa/bash-trick-repeat-last-command-until-success-750a61c43c8awithTimeout
: runs nested command with a timeout
inspired by https://www.cyberciti.biz/faq/linux-run-a-command-with-a-time-limit/- new infrastructure for
cmd { ... }
- JDK 15 compatibility
Changed
- bumped jline to 3.17.1
sleep
: removed 2 args overload
now it is possible to specify duration with both ISO8601 format and with our custom format (just dropping PT prefix)
sleep PT1s
,sleep 1s
andsleep 1S
are equivalent.
Fixed
http
: improving error handling- always destroy underlying native process on
InterruptedException
v0.1.2
Added
- (preview feature) hosh interprets the command line as it is typed and uses syntax highlighting to provide feedback to the user.
Potential errors, that are marked in bold red, include:- any syntax error
- invalid commands (both built-in as well as external)
path
: new command to avoid text-based manipulation of PATH variablepath show
to show all elements of current PATHpath clear
to remove all elements of current PATHpath append /usr/local/bin
to add/usr/local/bin
as last element of current PATHpath prepend /usr/local/bin
to add/usr/local/bin
as first element of current PATH
Changed
- bumped jline to 3.16.0
Fixed
- fixed regression in
ls | sum size
v0.1.1
Added
- #265: raspberry pi 4 support
freq
: new command to replace pattern 'sort | uniq -c | sort -rn'
(see example examples/visitors.hosh)last
: new command similar to 'tail -n'max
,min
: calculate max and min value, works for any value (e.g. timestamp, numeric, strings)sum
: supports size and numeric valuesconfirm
: ask a question and wait for user confirmationls
: adding creation, modification and last access timels
: removing ANSI coloring (to be reimplemented later)walk
:- follow symlinks by default
- revert 'fail fast' error handling
Changed
- changed
groupId
in maven
dfa1
->hosh
http
: integration tests (https://postman-echo.com)sort
: consistent order of argumentskey
is mandatory and always in first positionasc
,desc
are optional and always in second position
table
: merged as "autotable" in interactive mode
Fixed
probe
: fix exit status when content type cannot be determined- minor fixes
- ignoring UAC errors in test on windows
- stability of integration tests
Version 0.1.0
Added
- sign jar file with GPG when deploy on github
Changed
- introducing Java modules
walk
: 'fail fast' error handling- removing automatic semicolon insertion
Fixed
- improved error handling of lambda
- fix race condition in
PipelineChannel