From version M0332 onwards, the syntax for ending a flow is less strict. Operations that do not have an outgoing flow are treated as if they were followed by an edge and a flow final node. Similarly, output pins of inner blocks that have no outgoing flow are treated as if they were followed by an edge and a flow final node.
The old way is of course still valid, so you do not have to change anything in your existing building blocks.