What's Changed
- Fixed deadlock exception when a ping sequence initiates a successful login sequence, followed by a second ping failing with the same error. Now, it stops with a specific message: "Received MsgLogin after a valid login sequence. Check the login parameters."
- Fixed when condition: if it starts with blank chars, the prefix
js: or$varwere not detected. - Fixed js code parsing: identifier used with unary operator were not detected. E.g.: "js: ++login_retry" was causing an error "undefined identifier".
- Added: follow_redirection [bool] attribute in query action, to enable(default)/disable the behavior of the client when it receives a 3xx status code.
- Added: import goja module URL to manipulate urls: port from ECMAScript default URL object.
- Added: now set request header User-Agent to <exporter_name>/<exporter_version>.
- Fixed: actions parsing and return error when
- url is not defined in query
- msg is not defined in debug
- unknown fields are used
- Fixed: set_fact : delete simple var by setting to empty now remove var
- Upgraded: go and modules version
- Full Changelog: v0.4.9...v0.4.10