From 68f2836332631a11d3de0c9d3a1b0ff15223a423 Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Wed, 15 Nov 2023 10:20:37 +0000 Subject: [PATCH] :tada: Release of add-on Node-RED 16.0.0 --- README.md | 6 +++--- node-red/CHANGELOG.md | 10 +++++++++- node-red/DOCS.md | 10 +++------- node-red/README.md | 4 ++-- node-red/config.yaml | 8 ++++---- 5 files changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 192c5ad0..e15fe719 100644 --- a/README.md +++ b/README.md @@ -867,10 +867,10 @@ SOFTWARE. [nginxproxymanager-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [nginxproxymanager-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [nginxproxymanager-i386-shield]: https://img.shields.io/badge/i386-yes-green.svg -[addon-node-red]: https://github.com/hassio-addons/addon-node-red/tree/v15.1.1 -[addon-doc-node-red]: https://github.com/hassio-addons/addon-node-red/blob/v15.1.1/README.md +[addon-node-red]: https://github.com/hassio-addons/addon-node-red/tree/v16.0.0 +[addon-doc-node-red]: https://github.com/hassio-addons/addon-node-red/blob/v16.0.0/README.md [node-red-issue]: https://github.com/hassio-addons/addon-node-red/issues -[node-red-version-shield]: https://img.shields.io/badge/version-v15.1.1-blue.svg +[node-red-version-shield]: https://img.shields.io/badge/version-v16.0.0-blue.svg [node-red-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [node-red-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [node-red-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg diff --git a/node-red/CHANGELOG.md b/node-red/CHANGELOG.md index 427436c0..67a80047 100644 --- a/node-red/CHANGELOG.md +++ b/node-red/CHANGELOG.md @@ -1,5 +1,13 @@ ## What’s changed +⚠️ With this release, the `nodered` data folder will migrate/move out of the Home Assistant configuration folder into a dedicated folder for this add-on. You can access add-on configuration folders using SSH, Samba, VSCode, and similar add-ons by accessing the `addon_configs` folder/share. + +## 🚨 Breaking changes + +- Migrate Node-RED config out of Home Assistant config folder @frenck ([#1729](https://github.com/hassio-addons/addon-node-red/pull/1729)) +- Make credentials secret optional @frenck ([#1730](https://github.com/hassio-addons/addon-node-red/pull/1730)) + ## ⬆️ Dependency updates -- ⬆️ Update node-red-contrib-home-assistant-websocket to v0.58.2 @renovate ([#1728](https://github.com/hassio-addons/addon-node-red/pull/1728)) +- ⬆️ Update ghcr.io/hassio-addons/base Docker tag to v14.3.2 @renovate ([#1732](https://github.com/hassio-addons/addon-node-red/pull/1732)) +- ⬆️ Update node-red-contrib-home-assistant-websocket to v0.59.0 @renovate ([#1731](https://github.com/hassio-addons/addon-node-red/pull/1731)) diff --git a/node-red/DOCS.md b/node-red/DOCS.md index ebd7079e..520269e0 100644 --- a/node-red/DOCS.md +++ b/node-red/DOCS.md @@ -18,8 +18,6 @@ comparison to installing any other Home Assistant add-on. [![Open this add-on in your Home Assistant instance.][addon-badge]][addon] 1. Click the "Install" button to install the add-on. -1. Set a `credential_secret`, which is used to encrypt sensitive data. - This is just a "password", which you should save in a secondary location. 1. Start the "Node-RED" add-on. 1. Check the logs of "Node-RED" to see if everything went well. 1. Click on the "OPEN WEB UI" button to jump into Node-RED. @@ -36,7 +34,6 @@ Example add-on configuration: ```yaml log_level: info -credential_secret: KJHhfdhiFRENCKfsdfdsDHFHDJS http_node: username: MarryPoppins password: Supercalifragilisticexpialidocious @@ -207,15 +204,14 @@ on garbage collection in an effort to free unused memory. ## Configuration folder -The addon will store most of its configuration in the `config/node-red` folder, -including the `flows.json`. Please ensure this is included in your backup. It is -also important to note that this will not be removed on uninstalling the addon. +The addon will store most of its configuration in the Node-RED add-on +configuration folder, including the `flows.json`. ## Time zone configuration The addon will use the configured time zone of the underlying operating system. If this is incorrect (for example with the Home Assistant Operating System it -will be UTC), this can be configured in the `/config/node-red/settings.js` file. +will be UTC), this can be configured in the `settings.js` file. To do so, open the file with a text editor and add the following above the `module.exports = {` line. diff --git a/node-red/README.md b/node-red/README.md index 390cc214..5ffa548e 100644 --- a/node-red/README.md +++ b/node-red/README.md @@ -48,6 +48,6 @@ If you are more interested in stable releases of our add-ons: [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-production%20ready-brightgreen.svg -[release-shield]: https://img.shields.io/badge/version-v15.1.1-blue.svg -[release]: https://github.com/hassio-addons/addon-node-red/tree/v15.1.1 +[release-shield]: https://img.shields.io/badge/version-v16.0.0-blue.svg +[release]: https://github.com/hassio-addons/addon-node-red/tree/v16.0.0 [screenshot]: https://github.com/hassio-addons/addon-node-red/raw/main/images/screenshot.png \ No newline at end of file diff --git a/node-red/config.yaml b/node-red/config.yaml index b947ccb2..a5e61ffe 100644 --- a/node-red/config.yaml +++ b/node-red/config.yaml @@ -1,5 +1,5 @@ name: Node-RED -version: 15.1.1 +version: 16.0.0 slug: nodered description: Flow-based programming for the Internet of Things url: https://github.com/hassio-addons/addon-node-red @@ -25,12 +25,12 @@ host_network: true auth_api: true uart: true map: -- config:rw +- addon_config:rw +- homeassistant_config:rw - media:rw - share:rw - ssl options: - credential_secret: '' theme: default http_node: username: '' @@ -46,7 +46,7 @@ options: init_commands: [] schema: log_level: list(trace|debug|info|notice|warning|error|fatal)? - credential_secret: password + credential_secret: password? theme: list(default|aurora|cobalt2|dark|dracula|espresso-libre|github-dark|github-dark-default|github-dark-dimmed|midnight-red|monoindustrial|monokai|monokai-dimmed|noctis|oceanic-next|oled|one-dark-pro|one-dark-pro-darker|solarized-dark|solarized-light|tokyo-night|tokyo-night-light|tokyo-night-storm|totallyinformation|zenburn)? http_node: username: str