Merge pull request #2635 from balena-io/release-v1.5.0

Release v1.5.0
This commit is contained in:
Lorenzo Alberto Maria Ambrosi 2019-02-21 17:13:26 +01:00 committed by GitHub
commit d70b189cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 9 deletions

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## v1.5.0 - 2019-02-16
### Misc
- Reworked flashing logic with etcher-sdk
- Upgrade to Electron v3.
- Upgrade to NPM 6.7.0
- Fix incorrect drives list on Linux
- Changed “Drive Contains Image” to “Drive Mountpoint Contains Image”
- Removed etcher-cli
## v1.4.9 - 2018-12-19
### Fixes

View File

@ -16,6 +16,7 @@
'use strict'
const Bluebird = require('bluebird')
const _ = require('lodash')
const ipc = require('node-ipc')
const sdk = require('etcher-sdk')
@ -37,6 +38,7 @@ ipc.config.silent = true
// process is closed, so we can kill this process as well.
ipc.config.stopRetrying = 0
const DISCONNECT_DELAY = 100
const IPC_SERVER_ID = process.env.IPC_SERVER_ID
/**
@ -82,7 +84,10 @@ const terminate = (code) => {
*/
const handleError = (error) => {
ipc.of[IPC_SERVER_ID].emit('error', errors.toJSON(error))
terminate(EXIT_CODES.GENERAL_ERROR)
Bluebird.delay(DISCONNECT_DELAY)
.then(() => {
terminate(EXIT_CODES.GENERAL_ERROR)
})
}
/**
@ -179,7 +184,10 @@ ipc.connectTo(IPC_SERVER_ID, () => {
return errors.toJSON(error)
})
ipc.of[IPC_SERVER_ID].emit('done', { results })
terminate(exitCode)
Bluebird.delay(DISCONNECT_DELAY)
.then(() => {
terminate(exitCode)
})
}
/**
@ -190,7 +198,10 @@ ipc.connectTo(IPC_SERVER_ID, () => {
const onAbort = () => {
log('Abort')
ipc.of[IPC_SERVER_ID].emit('abort')
terminate(exitCode)
Bluebird.delay(DISCONNECT_DELAY)
.then(() => {
terminate(exitCode)
})
}
ipc.of[IPC_SERVER_ID].on('cancel', onAbort)

40
npm-shrinkwrap.json generated
View File

@ -1,6 +1,6 @@
{
"name": "balena-etcher",
"version": "1.4.9",
"version": "1.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -4530,14 +4530,44 @@
"dev": true
},
"drivelist": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/drivelist/-/drivelist-7.0.1.tgz",
"integrity": "sha512-p5f4sLknSMpg923Vj1xBlxj3uzaKTAOFy7ywkGXFD5+yp8aWd0aAPgTSD7ns/EPUCjTMEGKsdqw34/fjwwT0oQ==",
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/drivelist/-/drivelist-7.0.3.tgz",
"integrity": "sha512-Ocre4NNHZTEK5T6HsTq/BphnJRWBK9w8IJyQVR2JWV2cb/lFppWsmoNHTQeUcPnNjlTmPJ/eFurCECuHU91nOQ==",
"requires": {
"bindings": "^1.3.0",
"debug": "^3.1.0",
"nan": "^2.10.0",
"prebuild-install": "^4.0.0"
"prebuild-install": "^5.2.4"
},
"dependencies": {
"expand-template": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz",
"integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg=="
},
"prebuild-install": {
"version": "5.2.4",
"resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.2.4.tgz",
"integrity": "sha512-CG3JnpTZXdmr92GW4zbcba4jkDha6uHraJ7hW4Fn8j0mExxwOKK20hqho8ZuBDCKYCHYIkFM1P2jhtG+KpP4fg==",
"requires": {
"detect-libc": "^1.0.3",
"expand-template": "^2.0.3",
"github-from-package": "0.0.0",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"napi-build-utils": "^1.0.1",
"node-abi": "^2.7.0",
"noop-logger": "^0.1.1",
"npmlog": "^4.0.1",
"os-homedir": "^1.0.1",
"pump": "^2.0.1",
"rc": "^1.2.7",
"simple-get": "^2.7.0",
"tar-fs": "^1.13.0",
"tunnel-agent": "^0.6.0",
"which-pm-runs": "^1.0.0"
}
}
}
},
"duplexer3": {

View File

@ -2,7 +2,7 @@
"name": "balena-etcher",
"private": true,
"displayName": "balenaEtcher",
"version": "1.4.9",
"version": "1.5.0",
"packageType": "local",
"updates": {
"enabled": true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 KiB

After

Width:  |  Height:  |  Size: 330 KiB