Unlisted breaking change in NR 4.0 for the join node

It seems that you can no longer use msg.parts

  • let split node specify property to split on, and join auto join correctly (#4386) @dceejay

Specifically the PR is at
https://github.com/node-red/node-red/pull/4386

and commented as

let split node specify property to split on, and join auto join correctly
or manually the specified one.

New feature (non-breaking change which adds functionality)
This PR lets the split node specify the property that it will split on… it adds the specified property to the parts property as ‘parts.property’. It defaults to payload so should be non-breaking. So far testing and extra tests all work OK.
The join node can then rejoin the specified property automatically. Or operate on the property configured - again defaults to msg.payload.

I have not yet updated my addons to v18 (think I will wait until the dust settles on this one) so I can’t test, but if the split is now by property (defaults to parts.property = msg.payload) then manual join will now have to specify the join property.

I’ll leave testing that to you!

1 Like

Yes I found the same issue, so i have to go through all my flows to make corrections.
The index property does work though

I don’t use any join nodes but if I understand this correctly there was a bug that allowed the node to operate in auto mode while set to manual, which should not have worked.

This was fixed but anyone that was unwittingly exploiting this bug is now going to get the error they should have got in the first place.