Hi,
this sounds very hurtful indeed and violating as you said!
This seems to break the rules of confidentiality and I think you should question his movtives on this because breaking client confidentiality is a serious offence in therapy and could lead to a therapist being struck off!
I don't blame you for being angry and I think you need to confront him!