I agree with what is stated in “How to ask for a raise”. I’m a tech industry veteran and have seen the exact scenarios played out that are described. And it is true that substantive raises tend to come from either promotion or getting a new job.
One suggestion I have that worked wonders for me is to not answer a typical recruiter/interview question.
What is your current salary? Can you give us you recent salary history
Honestly, that seems like a really bad question to answer as it hems you in. Rather than a conversation about the new job and the salary parameters, you are placing a baseline on things.
I suggest you do some research on GlassDoor.com and other such places. And also do some soul searching and decide your price.
Recently I was in the later stages of job interviewing and I answered the salary question this way
Let’s talk in the range X to Y
What I did here was establish my expectations and a baseline I was comfortable with. As salary was a big motivator for the desire to be job hunting in the first place, it was very logical for me to set a new baseline. One that had no baring on the past and everything to do with what I expected to be paid.