Childhood trauma

So my boyfriend & I are going on 2 years this upcoming June, which is exciting but also makes me nervous since this is the longest I've ever been with someone. Well I have a lot of childhood trauma experiences & these experiences have caused a lot of anxiety, depression, & attachment issues where sometimes I push people away & sometimes I want people around. I try my hardest to not let it interfere with my relationship, like any family issues I try to keep to myself and same thing with my own issues. Should I let him know about these experiences or will it scare him off? It's a lot of negative stuff that, for the most part, I've moved on from or developed a healthy managed technique to cope with it so I just don't want that in my relationship