When someone you know gets divorced: Condolences or congratulations?

Society has grown more accepting of the idea of divorce as a transition rather than a tragedy, writes Oona Metz. So, what should you say when your friend — or brother or aunt — announces their marriage is over?