Releases: Hyperfoil/qDup
Release list
0.11.2
0.11.1
Fixes:
- fixed an issue where command line parameters would auto convert to numbers causing
3.10to become3.1and break version number variables - Fixed an issue where
shcommands would always wait 100ms after completion despite faster connection speeds - Fixed an issue where shell exit codes were being checked even when exit code checking was not in use
Other Changes
queue-download,downloadanduploadnow work when observing a command (e.g. in awatch) by deferring any remote shell interaction to after the observed command completes (if it is using the terminal). This allows for relative paths (./) or home folder aliases (~/) to work for all 3 commands.- Add a qDup language server protocol module that can help with writing scripts. readme
- Add the option to build qDup as a native executable. instructions
0.11.0
Breaking Changes
thennow forces input from the "parent" command not the previous command except where required (e.g.repeat-untilandfor-each). See details below
Fixes:
- fixed
--stream-loggingwhich did not work in0.10.8 - fixed issue where data from the remote terminal during prompt detection would cause an invalid index.
Then input/output changes:
qDup passses the output of one command as the input of the next command:
- sh: doSomething.sh
regex: findInOutputThe then keyword is used to interrupt the default flow so that multiple commands can receive the input from the parent command without effecting each other. this is necessary for commands that create output (e.g. json)
- sh: makeJson.sh
then:
- json: $.first.path
then:
- set-state: firstPath
- json: $.second.path
then:
- set-state: secondPathPreviouslly the json: $.second.path would work on the output of json: $.first.path instead of the output from makeJson.sh. Now, the output from makeJson.sh will be passed to both json. This change could potentially break scripts that relied on the default output flow for multipel commands under a then. The fix is to introduce another then so that the previous command becomes the parent command. For example:
- sh: doSomething.sh
then:
- sh: doAnotherThing.sh
- regex: findInAnotherThingwould change to
- sh: doSomething.sh
then:
- sh: doAnotherThing.sh
then:
- regex: findInAnotherThingNOTE: this will also impact commands under an else
0.10.8
Changes
- move
--tracefiles to the same folder asrun.jsonandrun.log - add support for
${{ENV.QDUP_PROMPT}}global variable
This is an early release to facilitate problem determination for some invalid buffer states during some performance tests and to investigate stuck commands.
0.10.7
Changes:
- Users can now override
hostaliases based on yaml load order (same as ascriptandstate). This was previously an error that prevented qDup from running. - Add support to detect
CRinjection due to column width limits (fixes really long commands) - Change to podman for testing (from docker)
- Add error message about unexpected characters when checking shell exit code
- Add support for zsh based remote shell (most commonly encountered when using
LOCALand zsh is the default user shell)
Fixes:
- Set
LOCALconsole width to match the width of remote ssh connections. - fix stream logging including background commands in shell based connections (e.g. getting pwd and exit code)
0.10.6
0.10.6
New artifact names! The core qDup library is now qDup-core and the cli uber jar is once again published as qDup.jar in maven central.
Whats new
- add
-V, --versionto cli - change idle script message to WARN from INFO.
Fixes
- fix missing hosts in run.json hosts section
- fix tracing for remote shell connections
- fix missing console output for yaml parsing errors
0.10.4
0.10.3
0.10.3
Changes
- download paths are now based on host alias, not host names
- run.json profile data is an array rather than a map with keys for each profile
- separate cli and api jars
- use quarkus for cli jar
- improve container creating and management - expect more changes to the host syntax soon
0.9.1
Bug Fixes:
- fix issue where qDup process would not exit after using a local containerized host
Internal Changes:
- change to use new central artifact publishing
0.9.0
Changed behavior
- Download now returns the path to the file in the qDup output folder
- Upload now returns the path to the file created on the remote host
Fixes
- correctly detect wait-for and signal ordering across phases
- add shift in and shift out control sequence detection