Toddler having a hard time adjusting with newborn.

I had my second child one week ago and ever since then my two year old has been acting out. He is a completely different kid since we brought the baby home. He started acting out towards me by trying to hit, kick and bite me constantly. Although I am breastfeeding, I try to give my toddler as much attention as possible but he is struggling to adjust. We are trying everything we can to make the transition as easy as possible for him but so far it’s not going well and it breaks my heart. He was a complete Mama’s boy and now he only wants his Dad. Has anyone else experienced this when they had a new baby? How did you handle it?