If anyone is as unhappy with these changes as I am, please go vote:
Idea → Roll back Custom Code Restrictions that are no longer relevant with the move to AKS.