diff --git a/CHANGELOG.md b/CHANGELOG.md index 23a56b4..2a2560a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,11 @@ # Changelog -[2.9.1-alpha.2] - 2022-08-17 - -### Changed -- The error `No device found` coming from the `arduino-create-agent` is now treated as an error. - -[2.9.1-alpha.1] - 2022-07-28 +All notable changes to this project will be documented in this file. +## [2.9.1] - 2022-09-06 ### Added -- Added support for ESP boards (experimental) +- Added support for ESP32 boards -[2.9.0] - 2022-06-06 +## [2.9.0] - 2022-06-06 ### Added - Added support for "Arduino RP2040 Connect" board ### Changed @@ -17,8 +13,7 @@ - Simplified the communication with the Web Serial API via a messaging system which simulates the [postMessage](https://developer.chrome.com/docs/extensions/reference/runtime/#method-Port-postMessage) function available in the Chrome App Daemon (see `chrome-app-daemon.js`). - -[2.8.0] - 2022-03-21 +## [2.8.0] - 2022-03-21 ### Added - Added support (still in Beta) for Chrome's Web Serial API on ChromeOS. Other operating systems should not be affected. diff --git a/LICENSE.txt b/LICENSE.txt index dab1f24..2a9bcda 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,7 +1,7 @@ This file includes licensing information for arduino-create-agent-js-client. Copyright (c) 2018 -Authors: Alberto Iannaccone, Stefania Mellai, Gabriele Destefanis +Authors: Alberto Iannaccone, Stefania Mellai, Gabriele Destefanis, Christian Sarnataro The software is released under the GNU General Public License, which covers the main body of the arduino-create-agent-js-client code. The terms of this license can be found at: diff --git a/README.md b/README.md index 6918c10..0694481 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ # arduino-create-agent-js-client JS module providing discovery of the [Arduino Create Agent](https://github.com/arduino/arduino-create-agent) and communication with it - ## Changelog See [CHANGELOG.MD](CHANGELOG.MD) for more details. diff --git a/package.json b/package.json index 3f0619f..bb40417 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "arduino-create-agent-js-client", - "version": "2.9.1-alpha.2", + "version": "2.9.1", "description": "JS module providing discovery of the Arduino Create Plugin and communication with it", "main": "lib/index.js", "module": "es/index.js", diff --git a/src/socket-daemon.js b/src/socket-daemon.js index 13a9a1a..fbfd83d 100644 --- a/src/socket-daemon.js +++ b/src/socket-daemon.js @@ -392,12 +392,7 @@ export default class SocketDaemon extends Daemon { this.uploading.next({ status: this.UPLOAD_IN_PROGRESS, msg: `Programming with: ${message.Cmd}` }); break; case 'Busy': - if (message.Msg && message.Msg.indexOf('No device found') === 0) { - this.uploading.next({ status: this.UPLOAD_ERROR, err: message.Msg }); - } - else { - this.uploading.next({ status: this.UPLOAD_IN_PROGRESS, msg: message.Msg }); - } + this.uploading.next({ status: this.UPLOAD_IN_PROGRESS, msg: message.Msg }); break; case 'Error': this.uploading.next({ status: this.UPLOAD_ERROR, err: message.Msg }); diff --git a/src/web-serial-daemon.js b/src/web-serial-daemon.js index d42d8ea..0fa2b8c 100644 --- a/src/web-serial-daemon.js +++ b/src/web-serial-daemon.js @@ -1,3 +1,23 @@ +/* +* Copyright 2022 ARDUINO SA (http://www.arduino.cc/) +* This file is part of arduino-create-agent-js-client. +* Copyright (c) 2018 +* Authors: Alberto Iannaccone, Stefania Mellai, Gabriele Destefanis +* +* This software is released under: +* The GNU General Public License, which covers the main part of +* arduino-create-agent-js-client +* The terms of this license can be found at: +* https://www.gnu.org/licenses/gpl-3.0.en.html +* +* You can be released from the requirements of the above licenses by purchasing +* a commercial license. Buying such a license is mandatory if you want to modify or +* otherwise use the software for commercial activities involving the Arduino +* software without disclosing the source code of your own applications. To purchase +* a commercial license, send an email to license@arduino.cc. +* +*/ + import { distinctUntilChanged, filter, takeUntil } from 'rxjs/operators';