Apple has to take some of the blame from this, MacOS without Electron apps is a much less useful proposition. If they knew they were going to change this API in this release it would have made sense to reach out and offer a public way to Electron.
End of the day the needs of users running Electron apps outweighs whatever opinions the internal Apple team has about their APIs