🎉 Node-RED 4.0.0-beta.1 released

Subflow packaging as a module appears to be broken if the subflow includes a D2 ui-group config node as a subflow property.

Having packaged it up and installed it, on placing it on the flow, Deploying, and opening up the node to set the config all is well, but if I then select a ui-group node, deploy, and then re-open the node I see

oneditprepare b7fa46dd25e31c0d sf:617c00e61edb38f6 TypeError: Cannot read properties of undefined (reading 'sort')
red.min.js?v=3ee9a1d92ab2:18 TypeError: Cannot read properties of undefined (reading 'sort')
    at T (red.min.js?v=3ee9a1d92ab2:18:426526)
    at Object.y [as prepareConfigNodeSelect] (red.min.js?v=3ee9a1d92ab2:18:419769)
    at red.min.js?v=3ee9a1d92ab2:19:133222
    at u (red.min.js?v=3ee9a1d92ab2:19:133291)
    at Object.buildEditForm (red.min.js?v=3ee9a1d92ab2:19:138723)
    at Proxy.oneditprepare (<anonymous>:19:25)
    at t (red.min.js?v=3ee9a1d92ab2:18:422357)
    at n (red.min.js?v=3ee9a1d92ab2:18:423285)
    at Object.success (red.min.js?v=3ee9a1d92ab2:18:423576)
    at c (vendor.js?v=3ee9a1d92ab2:2:28294)
    at Object.fireWith [as resolveWith] (vendor.js?v=3ee9a1d92ab2:2:29039)
    at l (vendor.js?v=3ee9a1d92ab2:2:79800)
    at XMLHttpRequest.<anonymous> (vendor.js?v=3ee9a1d92ab2:2:82254)

The node does appear to correctly picking up the group, but it is not possible to get in to edit it any more.
I can put an example up on github for testing if it is not obvious what the problem is.