I own my recruiting agency, and I don't care what your last salary was. I do care about what you are looking for so I don't waste your time, my time, or the client's time. I also realize that any target range you give me before even meeting the client may increase or even decrease after you learn all about the company, team, benefits, etc.
All that said, a candidate that knows their market value should never have to fear talking about salary history or expectations. If you know your market rate, and you stick to that as your expectation, you never have to worry about being underpaid. Market rate can be hard to define sometimes, and there are clearly companies that are willing to pay above market rate in certain scenarios, but candidates who do their research (or trust the knowledge of others) never have to worry about talking compensation.
This is the case whenever your expected salary gets higher than younger, cheaper replacements are willing to accept. This isn't a problem for people that have made more of their younger years, since the positions they're applying for are high enough leverage positions to justify the higher salary ask and younger workers are simply not qualified to apply.
I see this all the time in applicants. They've spent 15-20 years on the job and have less than 5 years of useful experience. The rest is stagnation where they haven't grown their skills. And yet they expect to be paid as if they've got 15-20 years of useful experience. That's why answering the salary question derails the negotiation. There may be an odd recruiter that is willing to accept the premise that an older worker is able to complete the job's tasks at enough above the acceptable level to justify the increase in cost. But most will opt for a younger worker willing to do an acceptable job.
All that said, a candidate that knows their market value should never have to fear talking about salary history or expectations. If you know your market rate, and you stick to that as your expectation, you never have to worry about being underpaid. Market rate can be hard to define sometimes, and there are clearly companies that are willing to pay above market rate in certain scenarios, but candidates who do their research (or trust the knowledge of others) never have to worry about talking compensation.