From 286c74b41b1185f0d50f894b0a2ed7f56dc1c7fb Mon Sep 17 00:00:00 2001 From: balenaCI Date: Fri, 27 Jan 2023 11:36:34 +0000 Subject: [PATCH] v1.15.0 --- .versionbot/CHANGELOG.yml | 30 ++++++++++++++++++++++++++++++ CHANGELOG.md | 5 +++++ package-lock.json | 2 +- package.json | 4 ++-- 4 files changed, 38 insertions(+), 3 deletions(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index d34812cf..3c6230f2 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,33 @@ +- commits: + - subject: Add support for Node 18 + hash: 887ec42847acbd4a935b4e9ed6abb2b8d87058ce + body: > + The Electron version we’re 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 we’re 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. We’re not currently using the “assume role” functionality (AFAIU) of aws4-axios and we don’t care that it’s 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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 15282ce4..d7ad7fc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package-lock.json b/package-lock.json index 8e396f1a..26b31a1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "balena-etcher", - "version": "1.14.3", + "version": "1.15.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 9f5f2e57..93b936a9 100644 --- a/package.json +++ b/package.json @@ -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" } }