What is relevant here is finding an appropriate job against which to benchmark the open position. Find a market price for the job you're applying for, then determine how close to that median you think you should be paid given your experience and accomplishments. What you made yesterday doesn't matter - what your colleagues and peers are making today does.
Once you've found what the job is worth to the market, save the information until the employer has made you an offer. You will have a good sense of what they will have to pay to meet the market, and you'll be on the firmest ground if you negotiate from that informed position. If the company tries to get you to say what you've been making at any time before making you an offer, use it as an opportunity to showcase your diplomatic skills. Then steer the conversation back to the value of the job to them.