diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index dadf246e..a25ca4a3 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,25 @@ +- commits: + - subject: 'Implement full command testing, beginning with "balena version"' + hash: 4d389bb6ccbfb7774e94d151fc8063a35031aba9 + body: | + This also modifies the core CLI to be fed command programatically, which + is useful for being able to do thing like mock endpoints with tools like + "nock", and provide an easier debugging experience. + The tests utilise a "runCommand" helper that intercepts and captures + stdout/stderr writes and returns them once the command has finished + running. At this point the test implementation can parse the + stdout/stderr logs and assess nock interceptions to determine if the + command ran correctly. + This change also homogenises debug messages to start with `[debug]`, + however this is not strictly enforced by linting rules. + footer: + Change-type: minor + change-type: minor + Signed-off-by: Lucian + signed-off-by: Lucian + author: Lucian + version: 11.8.0 + date: 2019-08-13T08:10:16.602Z - commits: - subject: Fix bug where "env rm" fails silently if an additional arg is present hash: f1d9c29786e1c72394f4a120eece17a20ab2eac7 diff --git a/CHANGELOG.md b/CHANGELOG.md index f5992a99..4d2cbaa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to [Semantic Versioning](http://semver.org/). +## 11.8.0 - 2019-08-13 + +* Implement full command testing, beginning with "balena version" [Lucian] + ## 11.7.10 - 2019-08-12 * Fix bug where "env rm" fails silently if an additional arg is present [Lucian] diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 2c3c8943..61de4e53 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "balena-cli", - "version": "11.7.10", + "version": "11.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index e83783fd..db2eef41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "balena-cli", - "version": "11.7.10", + "version": "11.8.0", "description": "The official balena CLI tool", "main": "./build/actions/index.js", "homepage": "https://github.com/balena-io/balena-cli",