I know for myself, the attachment that I had to X is something that I don't believe will (or could) be repeated. He was just too many things to me. I may fall in love again, but I won't attach myself to another human the way that I did to him. Especially with all of the work that I have been doing. So, I don't see finding myself in the same position with someone else in the future.
Like Gyps said, it is in the past. Unless you fear a repeat performance, I don't think you need to bring this issue up as a "warning" to her. At some point, if the relationship continues to develop, you will get to a more intimate place naturally, and some past issues on both sides may be shared. But probably not all.

I don't think you should feel so embarrassed about what you went through - it was who you were then, what you were going through, then. Do you feel the same way now? Have you grown through it, past it? Then that is growth, learning...
You aren't ashamed of having once in your life not understood the times tables, right? You were once that, you have grown and learned, and you aren't that anymore. Let it go.