This commit is contained in:
balenaCI 2023-01-27 11:36:34 +00:00
parent 8a0711e2a6
commit 286c74b41b
No known key found for this signature in database
GPG Key ID: AD4B2FDC8EB83069
4 changed files with 38 additions and 3 deletions

View File

@ -1,3 +1,33 @@
- commits:
- subject: Add support for Node 18
hash: 887ec42847acbd4a935b4e9ed6abb2b8d87058ce
body: >
The Electron version were currently using is on Node 14 but this is a
step forward to upgrading to a newer Electron and Node version.
Updates etcher-sdk and switches the redundant aws4-axios dependency to just axios.
Also changed bundler to stop trying to bundle wasm files — they must be included inline with JS code as data — and removed some now redundant code.
The crucial changes that enable support are:
1. The update to etcher-sdk@8 where some dependency fixes and updates took place
2. The downgrade and pinning of "electron-rebuild" to v3.2.3 until were able to update to Electron >= 14.2. The patch we need to avoid is https://github.com/electron/rebuild/pull/907. Also see: https://github.com/nodejs/node-gyp/issues/2673 and https://github.com/electron/rebuild/issues/913
3. A rule in webpack.config to ignore `aws-crt` which is a dependency of (ultimately) `aws4-axios` which is used by etcher-sdk and does a runtime check to its availability. Were not currently using the “assume role” functionality (AFAIU) of aws4-axios and we dont care that its not found, so force webpack to ignore the import. See https://github.com/aws/aws-sdk-js-v3/issues/3025
footer:
Change-type: minor
change-type: minor
author: Akis Kesoglou
nested: []
version: 1.15.0
title: ""
date: 2023-01-27T11:36:32.980Z
- commits:
- subject: "patch: fixed mac sudo on other languages"
hash: 19d1e093fc2b1588492c9868f7604ee15ab3fd5b

View File

@ -3,6 +3,11 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
# v1.15.0
## (2023-01-27)
* Add support for Node 18 [Akis Kesoglou]
# v1.14.3
## (2023-01-19)

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "balena-etcher",
"version": "1.14.3",
"version": "1.15.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -2,7 +2,7 @@
"name": "balena-etcher",
"private": true,
"displayName": "balenaEtcher",
"version": "1.14.3",
"version": "1.15.0",
"packageType": "local",
"main": "generated/etcher.js",
"description": "Flash OS images to SD cards and USB drives, safely and easily.",
@ -127,6 +127,6 @@
"node": ">=14"
},
"versionist": {
"publishedAt": "2023-01-19T12:21:03.371Z"
"publishedAt": "2023-01-27T11:36:33.661Z"
}
}