Consider first whether or not this is really your news to share. Maybe the mutual friend would want to come out themselves?
If you feel you must, it’s okay to dead name informationally/correctively. (I.e., “let’s go meet up with Jack” “oh, Jack is Jill now, just so you know!”) It’s bad contextually, like when used to deny the person’s gender identity or transition.