Ask yourself - is it worth arguing over? Make your feels known and ask to be invited next time, then accept it and move on. No use arguing and dragging it out, that will just hurt both of you even more.
Iโm sure there was no intention to hurt you, those who invited him probably just wanted a boys trip, he may not have realised it was this important to you.
Also it is important for guys to hang out without their partners there, and same for girls to hang out without any guys around.
I think itโs understandable that youโre hurt, but donโt see either one of you as right or wrong personally.
Itโs not how you feel that determines if someoneโs in the wrong, but how the person thatโs feeling them reacts to those emotions.
Thatโs my view on it anyway. :)