diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e77657c8..6ab22448f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,77 @@ +#### 4.1.0-beta.1: Beta Release + +Editor + + - Add update notification (#5117) @knolleary + - Add a node annotation if the info property is set (#4955) @knolleary + - Add node suggestion api to editor and apply to typeSearch (#5135) @knolleary + - Node filter support for typedInput's builtin node (#5154) @GogoVega + - Import `got` module only once when sending metrics (#5152) @GogoVega + - Trigger button action of the selected nodes with new Hotkey (#4924) @GogoVega + - Handle deleting of subflow context entries (#5071) @knolleary + - Add the `changed` badge to the config node (#5062) @GogoVega + - Default Palette Search: Sort by Downloads (#5108) @joepavitt + - Show deprecated message if module flagged (#5134) @knolleary + - Add link icon to node docs and warn for major update (#5143) @GogoVega + - Support for a module with nodes and plugins in the palette (#4945) @GogoVega + - Include module list in global-config node when importing/exporting flows (#4599) @knolleary + - Add `Install all` button to the module list feature (#5123) @GogoVega + - Fix node tab filtering (#5119) @knolleary + - Cleanup global Palette Manager variables (#4958) @GogoVega + - Add a new `update available` widget to statusBar (#4948) @knolleary + - Add a queue while installing or removing a module from the Palette Manager (#4937) @GogoVega + - Ignore state of disabled nodes/flows during deployment (#5054) @GogoVega + - Exclude internal properties from node definition (#5144) @GogoVega + - Refresh config node sidebar when changing lock state of a flow (#5072) @knolleary + - Add a border to better distinguish typedInput type/option dropdowns (#5078) @knolleary + - Fix undo of subflow color change not applying to instances (#5012) @GogoVega + - Properly handle scale factor in getLinksAtPoint for firefox (#5087) @knolleary + - Update markdown drop-target appearance (#5059) @knolleary + - Support for disabled flows in Sidebar Config (#5061) @GogoVega + - Support text drag & drop into markdown editor (#5056) @gorenje + - Truncate long messages from the Debug Sidebar (#4944) @GogoVega + - Handle link nodes with show/hide label action (#5106) @knolleary + - Update the Node-RED logo to use the hex variant (#5103) @joepavitt + - Add the vertical marker to the palette hand (#4954) @GogoVega + - Monaco Latest (0.52.0) (#4930) @Steve-Mcl + - Updates monaco to 0.52.0 for action widget sizing fix (#5110) @Steve-Mcl + - Bump Multer to 2.0.1 (#5151) @hardillb + - Upgrade multer to 2.0.0 (#5148) @hardillb + - Update dompurify (#5120) @knolleary + - Colourise the Node-RED logs (#5109) @hardillb + - Only apply colours for non-default log lines (#5129) @knolleary + - feat: import default export if plugin is a transpiled es module (#5137) @dschmidt + - Add an additional git_auth_failed condition (#5145) @sonnyp + - Fix Sass deprecation warnings (#4922) @bonanitech + - chore(editor)!: remove Internet Explorer polyfill (#5070) @Rotzbua + - Remove Internet Explorer CSS hacks (#5142) @bonanitech + +Runtime + + - fix: set label in themeSettings.deployButton despite type attribute (#5053) @matiseni51 + - fix(html): correct buggy html (#4768) @Rotzbua + - Update dev (#4836) @knolleary + - Update dependencies (#5107) @knolleary + - Bump i18next to 24.x and auto-migrate message catalog format (#5088) @knolleary + - chore(editor): update `DOMPurify` flag (#5073) @Rotzbua + - Add .editorconfig to .gitignore (#5060) @gorenje + +Nodes + + - Complete/Status: Fix complete node to not feedback immediately connected nodes (#5114) @dceejay + - Function: Add URL/URLSearchParams to Function sandbox (#5159) @knolleary + - Function: Add support for node: prefixed modules in function node (#5067) @knolleary + - Function: Add globalFunctionTimeout (#4985) @vasuvanka + - Exec: Make encoding handling consistent between stdout and err (#5158) @knolleary + - Split: Let split node send original msg to complete node (#5113) @dceejay + - Split: Rename Split The field (#5130) @dceejay + - MQTT: Ensure generated mqtt clientId uses only valid chars (#5156) @knolleary + - HTTP Request: Fix the capitisation for ALPN settings in http-request (#5105) @hardillb + - HTTP Request: (docs) Recommend HTTPS over HTTP (#5141) @ZJvandeWeg + - HTTP Request: Include URL query params in HTTP Digest (#5166) @hardillb + - Catch: Add code to error object sent by Catch node (#5081) @knolleary + - Debug: Improve debug display of error objects (#5079) @knolleary + #### 4.0.9: Maintenance Release Editor diff --git a/package.json b/package.json index df423ad0f..2a132cd9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "description": "Low-code programming for event-driven applications", "homepage": "https://nodered.org", "license": "Apache-2.0", @@ -26,7 +26,7 @@ } ], "dependencies": { - "acorn": "8.14.1", + "acorn": "8.15.0", "acorn-walk": "8.3.4", "ajv": "8.17.1", "async-mutex": "0.5.0", @@ -65,7 +65,7 @@ "mqtt": "5.11.0", "multer": "2.0.1", "mustache": "4.2.0", - "node-red-admin": "^4.0.2", + "node-red-admin": "^4.1.0", "node-watch": "0.7.4", "nopt": "5.0.0", "oauth2orize": "1.12.0", diff --git a/packages/node_modules/@node-red/editor-api/package.json b/packages/node_modules/@node-red/editor-api/package.json index 4ed4e3f4a..a9f91fa3c 100644 --- a/packages/node_modules/@node-red/editor-api/package.json +++ b/packages/node_modules/@node-red/editor-api/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/editor-api", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "license": "Apache-2.0", "main": "./lib/index.js", "repository": { @@ -16,8 +16,8 @@ } ], "dependencies": { - "@node-red/util": "4.1.0-beta.0", - "@node-red/editor-client": "4.1.0-beta.0", + "@node-red/util": "4.1.0-beta.1", + "@node-red/editor-client": "4.1.0-beta.1", "bcryptjs": "3.0.2", "body-parser": "1.20.3", "clone": "2.1.2", diff --git a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json index bade10e6f..1aa92c370 100644 --- a/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/en-US/editor.json @@ -1290,7 +1290,7 @@ "label": "Update Notifications", "settingsTitle": "Enable Update Notifications", "settingsDescription": "

Node-RED can notify you when there is a new version available. This ensures you keep up to date with the latest features and fixes.

This requires sending anonymised data back to the Node-RED team. It does not include any details of your flows or users.

For full information on what information is collected and how it is used, please see the documentation.

", - "settingsDescription2": "

You can change this setting at any time in the editor settings.

", + "settingsDescription2": "

You can change this setting at any time in the User Settings.

", "enableLabel": "Yes, enable notifications", "disableLabel": "No, do not enable notifications", "updateAvailable": "Update available", diff --git a/packages/node_modules/@node-red/editor-client/locales/fr/editor.json b/packages/node_modules/@node-red/editor-client/locales/fr/editor.json index ddc464650..8d12615b7 100644 --- a/packages/node_modules/@node-red/editor-client/locales/fr/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/fr/editor.json @@ -111,6 +111,7 @@ "userSettings": "Paramètres de l'utilisateur", "nodes": "Noeuds", "displayStatus": "Afficher l'état du noeud", + "displayInfoIcon": "Afficher l'icône d'information sur le noeud", "displayConfig": "Noeuds de configuration", "import": "Importer", "importExample": "Importer un exemple de flux", @@ -264,6 +265,8 @@ "download": "Télécharger", "importUnrecognised": "Importation d'un type inconnu :", "importUnrecognised_plural": "Importation de plusieurs types inconnus :", + "importWithModuleInfo": "Modules requis manquants", + "importWithModuleInfoDesc": "Ces noeuds ne sont pas actuellement installés dans votre palette et sont requis pour le flux importé :", "importDuplicate": "Noeud en double importé :", "importDuplicate_plural": "Noeuds en double importés :", "nodesExported": "Noeuds exportés vers le presse-papiers", @@ -623,12 +626,15 @@ "yearsMonthsV": "il y a __y__ ans, __count__ mois", "yearsMonthsV_plural": "il y a __y__ ans, __count__ mois" }, + "manageModules": "Gérer les modules", "nodeCount": "__label__ noeud", "nodeCount_plural": "__label__ noeuds", "pluginCount": "__count__ plugin", "pluginCount_plural": "__count__ plugins", "moduleCount": "__count__ module disponible", "moduleCount_plural": "__count__ modules disponibles", + "updateCount": "__count__ mise à jour disponible", + "updateCount_plural": "__count__ mises à jour disponibles", "inuse": "En cours d'utilisation", "enableall": "Activer tout", "disableall": "Désactiver tout", @@ -638,9 +644,12 @@ "update": "Mettre à jour vers __version__", "updated": "Mis à jour", "install": "Installer", + "installAll": "Installer tout", "installed": "Installé", + "installing": "Installation du module en cours : __module__", "conflict": "Conflit", "conflictTip": "

Ce module ne peut pas être installé car il inclut un
type de noeud qui a déjà été installé

Conflits avec __module__

", + "majorVersion": "

Il s'agit d'une mise à jour majeure du noeud. Consulter la documentation pour plus de détails sur la mise à jour.

", "loading": "Chargement des catalogues...", "tab-nodes": "Noeuds", "tab-install": "Installer", @@ -648,9 +657,12 @@ "sortRelevance": "Pertinence", "sortAZ": "A-Z", "sortRecent": "Récent", + "successfulInstall": "Modules installés avec succès", "more": "+ __count__ en plus", "upload": "Charger le fichier .tgz du module", "refresh": "Actualiser la liste des modules", + "deprecated": "Obsolète", + "deprecatedTip": "Ce module est obsolète", "errors": { "catalogLoadFailed": "

Échec du chargement du catalogue de noeuds.

Vérifier la console du navigateur pour plus d'informations

", "installFailed": "

Échec lors de l'installation : __module__

__message__

Consulter le journal pour plus d'informations

", @@ -1262,6 +1274,16 @@ "header": "Variables d'environnement globales", "revert": "Rétablir" }, + "telemetry": { + "label": "Notifications de mise à jour", + "settingsTitle": "Activer les notifications de mise à jour", + "settingsDescription": "

Node-RED peut vous avertir de la disponibilité d'une nouvelle version. Vous êtes ainsi informé des dernières fonctionnalités et correctifs.

Cela nécessite d'envoyer des données anonymes à l'équipe Node-RED. Elles n'incluent aucun détail sur vos flux ou vos utilisateurs.

Pour plus d'informations sur les informations collectées et leur utilisation, veuillez consulter la documentation.

", + "settingsDescription2": "

Vous pouvez modifier ce paramètre à tout moment dans les paramètres de l'éditeur.

", + "enableLabel": "Oui, activer les notifications", + "disableLabel": "Non, ne pas activer les notifications", + "updateAvailable": "Mise(s) à jour disponible(s)", + "updateAvailableDesc": "Node-RED __version__ est désormais disponible" + }, "action-list": { "toggle-show-tips": "Basculer l'affichage des astuces", "show-about": "Afficher la description de Node-RED", diff --git a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json index e6c02590b..b65730c52 100644 --- a/packages/node_modules/@node-red/editor-client/locales/ja/editor.json +++ b/packages/node_modules/@node-red/editor-client/locales/ja/editor.json @@ -111,6 +111,7 @@ "userSettings": "ユーザ設定", "nodes": "ノード", "displayStatus": "ノードのステータスを表示", + "displayInfoIcon": "ノード情報のアイコンを表示", "displayConfig": "設定ノード", "import": "読み込み", "importExample": "フロー例を読み込み", @@ -264,6 +265,8 @@ "download": "ダウンロード", "importUnrecognised": "認識できない型が読み込まれました:", "importUnrecognised_plural": "認識できない型が読み込まれました:", + "importWithModuleInfo": "必要なモジュールが不足", + "importWithModuleInfoDesc": "以下のノードは現在パレットにインストールされていませんが、読み込んだフローには必要なノードです:", "importDuplicate": "重複したノードを読み込みました:", "importDuplicate_plural": "重複したノードを読み込みました:", "nodesExported": "クリップボードへフローを書き出しました", @@ -623,12 +626,15 @@ "yearsMonthsV": "__y__ 年 __count__ ヵ月前", "yearsMonthsV_plural": "__y__ 年 __count__ ヵ月前" }, + "manageModules": "モジュールを管理", "nodeCount": "__label__ 個のノード", "nodeCount_plural": "__label__ 個のノード", "pluginCount": "__count__ 個のプラグイン", "pluginCount_plural": "__count__ 個のプラグイン", "moduleCount": "__count__ 個のモジュール", "moduleCount_plural": "__count__ 個のモジュール", + "updateCount": "__count__ 個の更新が存在", + "updateCount_plural": "__count__ 個の更新が存在", "inuse": "使用中", "enableall": "全て有効化", "disableall": "全て無効化", @@ -638,9 +644,12 @@ "update": "__version__ へ更新", "updated": "更新済", "install": "ノードを追加", + "installAll": "全てインストール", "installed": "追加しました", + "installing": "モジュールのインストールが進行中: __module__", "conflict": "競合", "conflictTip": "

インストール済みのノードの種別と競合しているため
ノードをインストールできません

競合: __module__

", + "majorVersion": "

これはノードのメジャーバージョンの更新です。更新内容の詳細については、ドキュメントを確認してください。

", "loading": "カタログを読み込み中", "tab-nodes": "現在のノード", "tab-install": "ノードを追加", @@ -648,9 +657,12 @@ "sortRelevance": "関連順", "sortAZ": "辞書順", "sortRecent": "日付順", + "successfulInstall": "モジュールのインストールが成功", "more": "+ さらに __count__ 個", "upload": "モジュールのtgzファイルをアップロード", "refresh": "モジュールリスト更新", + "deprecated": "非推奨", + "deprecatedTip": "本モジュールは非推奨です", "errors": { "catalogLoadFailed": "

ノードのカタログの読み込みに失敗しました。

詳細はブラウザのコンソールを確認してください。

", "installFailed": "

追加処理が失敗しました: __module__

__message__

詳細はログを確認してください。

", @@ -1262,6 +1274,16 @@ "header": "グローバル環境変数", "revert": "破棄" }, + "telemetry": { + "label": "更新の通知", + "settingsTitle": "更新の通知を有効化", + "settingsDescription": "

新バージョンのNode-REDが存在した時に、通知を受けることができます。この機能によって最新機能の提供や修正があることを把握できます。

この通知を受け取るには、匿名化されたデータをNode-REDチームに送る必要があります。このデータには、フローやユーザの詳細は含まれません。

収集される情報と利用方法の詳細については、ドキュメントを参照してください。

", + "settingsDescription2": "

この設定はユーザ設定からいつでも変更できます。

", + "enableLabel": "はい、通知を有効にします", + "disableLabel": "いいえ、通知を有効にしません", + "updateAvailable": "更新を利用可能", + "updateAvailableDesc": "現在、Node-RED __version__ が利用可能" + }, "action-list": { "toggle-show-tips": "ヒント表示切替", "show-about": "Node-REDの説明を表示", @@ -1302,6 +1324,7 @@ "toggle-show-grid": "グリッド表示切替", "toggle-snap-grid": "ノードの配置補助切替", "toggle-status": "ステータス表示切替", + "toggle-node-info-icon": "ノード情報のアイコン表示切替", "show-selected-node-labels": "選択したノードのラベルを表示", "hide-selected-node-labels": "選択したノードのラベルを非表示", "scroll-view-up": "上スクロール", @@ -1414,6 +1437,7 @@ "show-global-env": "グローバル環境変数を表示", "lock-flow": "フローを固定", "unlock-flow": "フローの固定を解除", - "show-node-help": "ノードのヘルプを表示" + "show-node-help": "ノードのヘルプを表示", + "trigger-selected-nodes-action": "選択したノードのアクションを実行" } } diff --git a/packages/node_modules/@node-red/editor-client/package.json b/packages/node_modules/@node-red/editor-client/package.json index c50b279a1..9cb219576 100644 --- a/packages/node_modules/@node-red/editor-client/package.json +++ b/packages/node_modules/@node-red/editor-client/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/editor-client", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js index dae41e8b4..5cc1faddc 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/palette-editor.js @@ -769,6 +769,11 @@ RED.palette.editor = (function() { }); RED.events.on('registry:module-updated', function(ns) { + if (nodeEntries[ns.module]) { + // Set the node/plugin as updated + nodeEntries[ns.module].info.pending_version = ns.version; + } + refreshNodeModule(ns.module); refreshUpdateStatus(); }); diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js b/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js index 5c9c9e5d2..89337e7c9 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/palette.js @@ -80,7 +80,7 @@ RED.palette = (function() { getNodeCount: function (visibleOnly) { const nodes = catDiv.find(".red-ui-palette-node") if (visibleOnly) { - return nodes.filter(function() { return $(this).css('display') !== 'none'}).length + return nodes.filter(function() { return $(this).attr("data-filter") !== "true"}).length } else { return nodes.length } @@ -572,8 +572,10 @@ RED.palette = (function() { var currentLabel = $(el).attr("data-palette-label"); var type = $(el).attr("data-palette-type"); if (val === "" || re.test(type) || re.test(currentLabel)) { + $(el).attr("data-filter", null) $(this).show(); } else { + $(el).attr("data-filter", "true") $(this).hide(); } }); diff --git a/packages/node_modules/@node-red/editor-client/src/tours/4.0/welcome.js b/packages/node_modules/@node-red/editor-client/src/tours/4.0/welcome.js index 02a559136..a55763189 100644 --- a/packages/node_modules/@node-red/editor-client/src/tours/4.0/welcome.js +++ b/packages/node_modules/@node-red/editor-client/src/tours/4.0/welcome.js @@ -20,7 +20,7 @@ export default { "ja": "複数ユーザ同時利用モード", "fr": "Mode Multi-utilisateur" }, - image: 'images/nr4-multiplayer-location.png', + image: '4.0/images/nr4-multiplayer-location.png', description: { "en-US": `

This release includes the first small steps towards making Node-RED easier to work with when you have multiple people editing flows at the same time.

@@ -44,7 +44,7 @@ export default { "ja": "バックグラウンドのデプロイ処理の改善", "fr": "Meilleure gestion du déploiement en arrière-plan" }, - image: 'images/nr4-background-deploy.png', + image: '4.0/images/nr4-background-deploy.png', description: { "en-US": `

If another user deploys changes whilst you are editing, we now use a more discrete notification that doesn't stop you continuing your work - especially if they are being very productive and deploying lots @@ -60,7 +60,7 @@ export default { "ja": "フローの差分表示の改善", "fr": "Amélioration des différences de flux" }, - image: 'images/nr4-diff-update.png', + image: '4.0/images/nr4-diff-update.png', description: { "en-US": `

When viewing changes made to a flow, Node-RED now distinguishes between nodes that have had configuration changes and those that have only been moved.

@@ -79,7 +79,7 @@ export default { "ja": "設定ノードのUXが向上", "fr": "Meilleure expérience utilisateur du noeud de configuration" }, - image: 'images/nr4-config-select.png', + image: '4.0/images/nr4-config-select.png', description: { "en-US": `

The Configuration node selection UI has had a small update to have a dedicated 'add' button next to the select box.

@@ -97,7 +97,7 @@ export default { "ja": "タイムスタンプの形式の項目", "fr": "Options de formatage de l'horodatage" }, - image: 'images/nr4-timestamp-formatting.png', + image: '4.0/images/nr4-timestamp-formatting.png', description: { "en-US": `

Nodes that let you set a timestamp now have options on what format that timestamp should be in.

We're keeping it simple to begin with by providing three options:

@@ -128,7 +128,7 @@ export default { "ja": "フロー/グローバル、環境変数の型の自動補完", "fr": "Saisie automatique des types de flux/global et env" }, - image: 'images/nr4-auto-complete.png', + image: '4.0/images/nr4-auto-complete.png', description: { "en-US": `

The flow/global context inputs and the env input now all include auto-complete suggestions based on the live state of your flows.

@@ -146,7 +146,7 @@ export default { "ja": "サブフローでの設定ノードのカスタマイズ", "fr": "Personnalisation du noeud de configuration dans les sous-flux" }, - image: 'images/nr4-sf-config.png', + image: '4.0/images/nr4-sf-config.png', description: { "en-US": `

Subflows can now be customised to allow each instance to use a different config node of a selected type.

@@ -183,7 +183,7 @@ export default { "ja": "パレット管理にプラグインを表示", "fr": "Affichage des Plugins dans le gestionnaire de palettes" }, - image: 'images/nr4-plugins.png', + image: '4.0/images/nr4-plugins.png', description: { "en-US": `

The palette manager now shows any plugin modules you have installed, such as node-red-debugger. Previously they would only be shown if the plugins include diff --git a/packages/node_modules/@node-red/editor-client/src/tours/images/missing-modules.png b/packages/node_modules/@node-red/editor-client/src/tours/images/missing-modules.png new file mode 100644 index 000000000..f96144395 Binary files /dev/null and b/packages/node_modules/@node-red/editor-client/src/tours/images/missing-modules.png differ diff --git a/packages/node_modules/@node-red/editor-client/src/tours/images/node-docs.png b/packages/node_modules/@node-red/editor-client/src/tours/images/node-docs.png new file mode 100644 index 000000000..e0f285a1f Binary files /dev/null and b/packages/node_modules/@node-red/editor-client/src/tours/images/node-docs.png differ diff --git a/packages/node_modules/@node-red/editor-client/src/tours/images/update-notification.png b/packages/node_modules/@node-red/editor-client/src/tours/images/update-notification.png new file mode 100644 index 000000000..4e4b610e7 Binary files /dev/null and b/packages/node_modules/@node-red/editor-client/src/tours/images/update-notification.png differ diff --git a/packages/node_modules/@node-red/editor-client/src/tours/welcome.js b/packages/node_modules/@node-red/editor-client/src/tours/welcome.js index ab09e8455..8041db469 100644 --- a/packages/node_modules/@node-red/editor-client/src/tours/welcome.js +++ b/packages/node_modules/@node-red/editor-client/src/tours/welcome.js @@ -16,45 +16,111 @@ export default { }, { title: { - "en-US": "Something new", + "en-US": "Update notifications", + "ja": "更新の通知", + "fr": "Notifications de mise à jour" }, - // image: 'images/nr4-multiplayer-location.png', + image: 'images/update-notification.png', description: { - "en-US": `

Something new

` + "en-US": `

Stay up to date with notifications when there is a new Node-RED version available, or updates to the nodes you have installed

`, + "ja": `

新バージョンのNode-REDの提供や、インストールしたノードの更新があった時に、通知を受け取ることができます。

`, + "fr": `

Désormais vous recevrez une notification lorsqu'une nouvelle version de Node-RED ou une nouvelle version relative à un des noeuds que vous avez installés est disponible

` } }, - // { - // title: { - // "en-US": "Node Updates", - // "ja": "ノードの更新", - // "fr": "Mises à jour des noeuds" - // }, - // // image: "images/", - // description: { - // "en-US": `

The core nodes have received lots of minor fixes, documentation updates and - // small enhancements. Check the full changelog in the Help sidebar for a full list.

- // `, - // "ja": `

コアノードには沢山の軽微な修正、ドキュメント更新、小さな機能拡張が入っています。全リストはヘルプサイドバーにある変更履歴を参照してください。

- // `, - // "fr": `

Les noeuds principaux ont reçu de nombreux correctifs mineurs ainsi que des améliorations. La documentation a été mise à jour. - // Consultez le journal des modifications dans la barre latérale d'aide pour une liste complète. Ci-dessous, les changements les plus importants :

- // ` - // } - // } + { + title: { + "en-US": "Flow documentation", + "ja": "フローのドキュメント", + "fr": "Documentation des flux" + }, + image: 'images/node-docs.png', + description: { + "en-US": `

Quickly see which nodes have additional documentation with the new documentation icon.

+

Clicking on the icon opens up the Description tab of the node edit dialog.

`, + "ja": `

ドキュメントアイコンによって、どのノードにドキュメントが追加されているかをすぐに確認できます。

+

アイコンをクリックすると、ノード編集ダイアログの説明タブが開きます。

`, + "fr": `

Voyez rapidement quels noeuds ont une documentation supplémentaire avec la nouvelle icône de documentation.

+

Cliquer sur l'icône ouvre l'onglet Description de la boîte de dialogue d'édition du noeud.

` + } + }, + { + title: { + "en-US": "Palette Manager Improvements", + "ja": "パレットの管理の改善", + "fr": "Améliorations du Gestionnaire de Palettes" + }, + description: { + "en-US": `

There are lots of improvements to the palette manager:

+ `, + "ja": `

パレットの管理に多くの改善が加えられました:

+ `, + "fr": `

Le Gestionnaire de Palettes a bénéficié de nombreuses améliorations :

+ ` + } + }, + { + title: { + "en-US": "Installing missing modules", + "ja": "不足モジュールのインストール", + "fr": "Installation des modules manquants" + }, + image: 'images/missing-modules.png', + description: { + "en-US": `

Flows exported from Node-RED 4.1 now include information on what additional modules need to be installed.

+

When importing a flow with this information, the editor will let you know what is missing and help to get them installed.

+ `, + "ja": `

Node-RED 4.1から書き出したフローには、インストールが必要な追加モジュールの情報が含まれる様になりました。

+

この情報を含むフローを読み込むと、エディタは不足しているモジュールを通知し、インストールを支援します。

+ `, + "fr": `

Les flux exportés depuis Node-RED 4.1 incluent désormais des informations sur les modules supplémentaires à installer.

+

Lors de l'importation d'un flux contenant ces informations, l'éditeur vous indiquera les modules manquants et vous aidera à les installer.

+ ` + } + }, + { + title: { + "en-US": "Node Updates", + "ja": "ノードの更新", + "fr": "Mises à jour des noeuds" + }, + // image: "images/", + description: { + "en-US": `

The core nodes have received lots of minor fixes, documentation updates and + small enhancements. Check the full changelog in the Help sidebar for a full list.

+ `, + "ja": `

コアノードには沢山の軽微な修正、ドキュメント更新、小さな機能拡張が入っています。全リストはヘルプサイドバーにある変更履歴を参照してください。

+ `, + "fr": `

Les noeuds principaux ont bénéficié de nombreux correctifs mineurs, de mises à jour de documentation et d'améliorations mineures. + Consultez le journal complet des modifications dans la barre latérale d'aide pour une liste complète.

+ ` + } + } ] } diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js index 194d06175..0a3ac2560 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -431,7 +431,7 @@ in your Node-RED user directory (${RED.settings.userDir}). normalisedHeaders[k.toLowerCase()] = response.headers[k] }) if (normalisedHeaders['www-authenticate']) { - let authHeader = buildDigestHeader(digestCreds.user,digestCreds.password, response.request.options.method, requestUrl.pathname, normalisedHeaders['www-authenticate']) + let authHeader = buildDigestHeader(digestCreds.user,digestCreds.password, response.request.options.method, requestUrl.pathname + requestUrl.search, normalisedHeaders['www-authenticate']) options.headers.Authorization = authHeader; } // response.request.options.merge(options) @@ -599,7 +599,18 @@ in your Node-RED user directory (${RED.settings.userDir}). } } else { if (msg.hasOwnProperty('rejectUnauthorized')) { - opts.https = { rejectUnauthorized: msg.rejectUnauthorized }; + if (typeof msg.rejectUnauthorized === 'boolean') { + opts.https = { rejectUnauthorized: msg.rejectUnauthorized } + } else if (typeof msg.rejectUnauthorized === 'string') { + if (msg.rejectUnauthorized.toLowerCase() === 'true' || msg.rejectUnauthorized.toLowerCase() === 'false') { + opts.https = { rejectUnauthorized: (msg.rejectUnauthorized.toLowerCase() === 'true') } + } else { + node.warn(RED._("httpin.errors.rejectunauthorized-invalid")) + } + } else { + node.warn(RED._("httpin.errors.rejectunauthorized-invalid")) + } + } } diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json index 9072b8075..97fdf5571 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/en-US/messages.json @@ -564,7 +564,8 @@ "timeout-isnan": "Timeout value is not a valid number, ignoring", "timeout-isnegative": "Timeout value is negative, ignoring", "invalid-payload": "Invalid payload", - "invalid-url": "Invalid url" + "invalid-url": "Invalid url", + "rejectunauthorized-invalid": "msg.rejectUnauthorized should be a boolean" }, "status": { "requesting": "requesting" diff --git a/packages/node_modules/@node-red/nodes/locales/fr/messages.json b/packages/node_modules/@node-red/nodes/locales/fr/messages.json index 238763e3b..e4c2d49ab 100644 --- a/packages/node_modules/@node-red/nodes/locales/fr/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/fr/messages.json @@ -406,6 +406,7 @@ "label": { "unknown": "inconnu" }, + "manageModules": "Gérer les modules", "tip": "

Ce noeud est un type inconnu de votre installation Node-RED.

Si vous déployez avec le noeud dans cet état, sa configuration sera préservée, mais le flux ne démarrera pas avant que le type manquant soit installé.

Consulter la barre latérale d'informations pour plus d'aide

" }, "mqtt": { @@ -1017,7 +1018,7 @@ "objectSend": "Envoie un message pour chaque paire clé/valeur", "strBuff": "Chaîne / Tampon", "array": "Tableau", - "splitThe": "Diviser le", + "splitThe": "Diviser la propriété", "splitUsing": "Diviser en utilisant", "splitLength": "Longueur fixe de", "stream": "Gérer comme un flux de messages", diff --git a/packages/node_modules/@node-red/nodes/locales/ja/messages.json b/packages/node_modules/@node-red/nodes/locales/ja/messages.json index 1693f879e..118d6af2c 100644 --- a/packages/node_modules/@node-red/nodes/locales/ja/messages.json +++ b/packages/node_modules/@node-red/nodes/locales/ja/messages.json @@ -406,6 +406,7 @@ "label": { "unknown": "unknown" }, + "manageModules": "モジュールを管理", "tip": "

現在のNode-RED環境では、本ノードの型が不明です。

現在の状態で本ノードをデプロイすると設定は保存されますが、不明なノードがインストールされるまでフローは実行されません。

詳細はノードの「情報」を参照してください。

" }, "mqtt": { diff --git a/packages/node_modules/@node-red/nodes/package.json b/packages/node_modules/@node-red/nodes/package.json index c9a6f0166..c6b385979 100644 --- a/packages/node_modules/@node-red/nodes/package.json +++ b/packages/node_modules/@node-red/nodes/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/nodes", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "license": "Apache-2.0", "repository": { "type": "git", @@ -15,7 +15,7 @@ } ], "dependencies": { - "acorn": "8.14.1", + "acorn": "8.15.0", "acorn-walk": "8.3.4", "ajv": "8.17.1", "body-parser": "1.20.3", diff --git a/packages/node_modules/@node-red/registry/package.json b/packages/node_modules/@node-red/registry/package.json index 1e886a159..0014d853a 100644 --- a/packages/node_modules/@node-red/registry/package.json +++ b/packages/node_modules/@node-red/registry/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/registry", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "license": "Apache-2.0", "main": "./lib/index.js", "repository": { @@ -16,7 +16,7 @@ } ], "dependencies": { - "@node-red/util": "4.1.0-beta.0", + "@node-red/util": "4.1.0-beta.1", "clone": "2.1.2", "fs-extra": "11.3.0", "semver": "7.7.1", diff --git a/packages/node_modules/@node-red/runtime/lib/index.js b/packages/node_modules/@node-red/runtime/lib/index.js index 3251ff2fa..1ac43032b 100644 --- a/packages/node_modules/@node-red/runtime/lib/index.js +++ b/packages/node_modules/@node-red/runtime/lib/index.js @@ -237,8 +237,12 @@ function start() { } } return redNodes.loadContextsPlugin().then(function () { - redNodes.loadFlows().then(() => { redNodes.startFlows() }).catch(function(err) {}); started = true; + redNodes.loadFlows().then(() => { + if (started) { + redNodes.startFlows() + } + }).catch(function(err) {}); }); }); }); diff --git a/packages/node_modules/@node-red/runtime/package.json b/packages/node_modules/@node-red/runtime/package.json index 03ef360d2..c2a0a91ef 100644 --- a/packages/node_modules/@node-red/runtime/package.json +++ b/packages/node_modules/@node-red/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/runtime", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "license": "Apache-2.0", "main": "./lib/index.js", "repository": { @@ -16,8 +16,8 @@ } ], "dependencies": { - "@node-red/registry": "4.1.0-beta.0", - "@node-red/util": "4.1.0-beta.0", + "@node-red/registry": "4.1.0-beta.1", + "@node-red/util": "4.1.0-beta.1", "async-mutex": "0.5.0", "clone": "2.1.2", "cronosjs": "1.7.1", diff --git a/packages/node_modules/@node-red/util/package.json b/packages/node_modules/@node-red/util/package.json index dffc817b0..316d0696f 100644 --- a/packages/node_modules/@node-red/util/package.json +++ b/packages/node_modules/@node-red/util/package.json @@ -1,6 +1,6 @@ { "name": "@node-red/util", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "license": "Apache-2.0", "repository": { "type": "git", diff --git a/packages/node_modules/node-red/package.json b/packages/node_modules/node-red/package.json index f36273986..d189fb5e3 100644 --- a/packages/node_modules/node-red/package.json +++ b/packages/node_modules/node-red/package.json @@ -1,6 +1,6 @@ { "name": "node-red", - "version": "4.1.0-beta.0", + "version": "4.1.0-beta.1", "description": "Low-code programming for event-driven applications", "homepage": "https://nodered.org", "license": "Apache-2.0", @@ -31,16 +31,16 @@ "flow" ], "dependencies": { - "@node-red/editor-api": "4.1.0-beta.0", - "@node-red/runtime": "4.1.0-beta.0", - "@node-red/util": "4.1.0-beta.0", - "@node-red/nodes": "4.1.0-beta.0", + "@node-red/editor-api": "4.1.0-beta.1", + "@node-red/runtime": "4.1.0-beta.1", + "@node-red/util": "4.1.0-beta.1", + "@node-red/nodes": "4.1.0-beta.1", "basic-auth": "2.0.1", "bcryptjs": "3.0.2", "cors": "2.8.5", "express": "4.21.2", "fs-extra": "11.3.0", - "node-red-admin": "^4.0.2", + "node-red-admin": "^4.1.0", "nopt": "5.0.0", "semver": "7.7.1" },