File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this project will be documented in this file.
44
5+
6+ ## [ 1.1.1] - 2023-02-05
7+
8+ ### Fixes
9+ - Selected value is lost if the configured value is renamed.
10+
11+ ** Background:**
12+
13+ Instead of the value name an UUID is now used to identify the selected value.
14+
15+ ** Migration Steps:**
16+
17+ Old configurations without the UUID can still be loaded,
18+ but value renaming is not working without the following migration steps:
19+
20+ - Open all existing persistent values config nodes and press 'Update'
21+ - Open all persistent value nodes and press 'Done'.
22+ - For now on the selected value should be automatically updated even if the value got renamed.
23+
524## [ 1.1.0] - 2023-02-02
625
726### Features
Original file line number Diff line number Diff line change 111111 // Ignore re-population change
112112 if ( selected . val ( ) !== undefined ) {
113113 // Store actual selected value ID and name
114- const selected_id = selected . data ( 'id' ) ;
115- if ( selected_id !== 'undefined' ) {
116- node . valueId = selected_id ;
114+ const selectedId = selected . data ( 'id' ) ;
115+ if ( selectedId !== 'undefined' ) {
116+ node . valueId = selectedId ;
117117 valueIdField . val ( node . valueId ) ;
118118 }
119119
Original file line number Diff line number Diff line change 11{
22 "name" : " @waldbaer/node-red-persistent-values" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.1 " ,
44 "description" : " Persistent values for Node-RED" ,
55 "author" : " waldbaer" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments