- Update dependencies.
- Tweak mixing implementation.
- Add schema tools.
- Support
SSH_AUTH_SOCK
for agent integration.
- Add version string to XAPI instance.
- Fix duplicate feedback emission using WebSockets.
- Fix TSH response parsing (#56)
- Add more debug logging to ws backend
- Fix browser field in package.json
- New proxy-based API
- Codebase migrated to TypeScript
- Bundled browser-bundle for static pages using WebSockets.
- Fix browser support (using WebSockets)
- Fix connecting using WebSocket
- Expose feedback registration promise (#33)
- Update dependencies
- Clean up accidental artifacts from 4.3.0
- Improve error propagation for
config.set
- Fix utf8 body length issues in
tsh
backend - Pass the
xapi
instance when invoking theready
event handler
- Change array dispatching to only dispatch once per array element
- Update dependencies
- Properly report uknown error types (previously reported as "Reason for XAPIError must be a string"
- Fix bug where ssh not always reports closing events
- Avoid circular dependencies in imports
- Support boolean and number as command/config parameter values
- Fix issue with setting log level in the cli
- Support multiple call signatures for
connect
- Properly handle SSH "close" events
- Initial public version.
- Fix quoting issue in TSH backend
- Better feedback detection of messages
- Fix issue with TSH initialization
- Updates to dependency chain, npm-shrinkwrap.json
- Update logging library to resolve debugging issues on Node.
- Add option to specify log level in
connect
.
- Add API to allow clients to intercept feedback.
- Assert that parameters do not include newline characters.
- More graceful handling of intermittent non-JSON output from TSH.
- Fix issue with Buffer encoding in json parser
- Fix WebSocket backend so that it doesn't emit error on error responses.
- Add API changes supposed to go in v3.0.0.
- Improve the feedback and feedback group concept. See docs.
- Remove direct support for internal mode.
- Add support for running remote command for users without
tsh
login shell.
- Return
undefined
instead of error for responses without proper object path.
- Fix feedback path registration with indexes.
- Fix
createCommandResponse
so that it handles "Error" errors.
From v1.4.0:
- Add support for multiple values for same parameter name (arrays).
xapi.command('UserManagement User Add', {
Username: 'foo',
Role: ['Admin', 'User'],
});
- New API structure:
// Commands should remain the same.
xapi.command('...', { ... });
// Events has only feedback.
xapi.event.on('...', handler);
// Statuses has feedback and retrieval.
xapi.status.on('...', handler);
xapi.status.get('...').then(v => { ... });
// Config has feedback, retrieval and can be updated.
xapi.config.on('...', handler);
xapi.config.get('...').then(v => { ... });
xapi.config.set('...', value);
- Add
.close()
to StreamTransport.
- Throw custom errors for better error reporting.
- Add WebSocket backend.
- Pass feedback root payload to all event listeners as second argument.
- Do not exclude lower-case attributes in feedback and command responses.
- Improve error handling in backend base class.
- Pass
connect
options down through the stack.
- Allow registering feedback to list/arrays.
- Handle ghost feedback.
- Do not emit feedback for lower case properties.
- Fix issues with broken .once().
- Fix issues with running the cli.
- Add -V, --version to command line opts.
- Support evaluation of script files in command line interface.
- Deprecate .toXML().
- Add space after length specifier in tsh multi-line format.
- Initial release.