Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.23 #161

Merged
merged 8 commits into from
Apr 27, 2024
Merged

Release 1.23 #161

merged 8 commits into from
Apr 27, 2024

Conversation

jensrossbach
Copy link
Owner

‼️ Breaking Changes ‼️

  • Property name in JSONata expressions of scheduler and state node has been renamed to node and turned into an expression variable, therefore must be accessed as $node now.
  • Property config in JSONata expressions of scheduler and state node has been turned into an expression variable and must therefore be accessed as $config now.
  • Property schedule in JSONata expressions of scheduler node has been renamed to event and turned into an expression variable, therefore must be accessed as $event now.
  • Property state in JSONata expressions of state node has been turned into an expression variable and must therefore be accessed as $state now.

Added

  • Added expression variables $node and $config to all available JSONata expressions.
  • Added possibility to configure states without associated trigger time in state nodes. Such states can only be activated manually from outside via an input message and command "set".
  • Extended possible input formats of time properties for time change nodes. They now match the formats that have already been introduced for time switch and filter nodes in the last release.
  • Added passive trigger mode to state nodes. In this mode, the state node will not actively change states upon reaching their trigger times. Instead, state changes must be triggered by an external trigger source via input message.
  • Added new command "trigger" for input messages of state nodes. This command accompanies the new passive trigger mode and is used to trigger state changes from outside.
  • Added new command "getid" for input messages of state nodes. This command can be used to query the identifier of the currently active state.

Changed

  • Turned some properties in JSONata expressions to expression variables, see breaking changes above for details.
  • Renamed some properties/variables in JSONata expressions, see breaking changes above for details.
  • Changed the color of the stateless state in state nodes from yellow to grey in the Node-RED editor.

Fixed

  • Fixed a potential crash of state nodes when being in stateless state and a state is activated from outside.

@jensrossbach jensrossbach added the minor release Release introducing new compatible features label Apr 27, 2024
@jensrossbach jensrossbach added this to the Release 1.23 milestone Apr 27, 2024
@jensrossbach jensrossbach self-assigned this Apr 27, 2024
@jensrossbach jensrossbach merged commit e1b6b02 into main Apr 27, 2024
1 check passed
@jensrossbach jensrossbach deleted the minor_release/1.23 branch April 27, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor release Release introducing new compatible features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant