When should past sexual abuse be mentioned to a partner?

With experiencing sexual abuse recently, it leaves me wondering about my future in terms of a relationship.

Should it be discussed in the dating phase/before getting into the relationship -like a heads up, early on as your getting to know them, or later on after you know each other well and are comfortable with each other?

After thinking about this I feel like I would want to wait till I’m very comfortable with them, hoping they would love every part of me, including my past, and the struggles that follow. But then on the other hand I think this might be wrong, to not tell them early on; maybe they’re not the kind of person that can handle that kind of thing and be supportive, or they might be upset it took so long to tell them.

When do you think is the best time to tell this information to a partner/partner of interest?