Employers cannot ask about or rely on your salary history, must give the pay scale for the position on reasonable request, and employers with 15+ employees must include it in job postings. You may still be asked your salary expectation. If you volunteer your salary history without being asked, the employer may consider it (but prior salary cannot justify a pay disparity).
What Ziny tells you when a document has this
California Labor Code section 432.3 gives you the right to the pay scale (a good-faith salary range) for this position. The employer may not ask about your salary history or rely on it, unless you volunteer it without being asked.
If you don't know the range, ask for it before you reply; the company must provide it.
The law, word for word
(a) An employer shall not rely on the salary history information of an applicant for employment as a factor in determining whether to offer employment to an applicant or what salary to offer an applicant.
(b) An employer shall not, orally or in writing, personally or through an agent, seek salary history information, including compensation and benefits, about an applicant for employment.
(c)(1) An employer, upon reasonable request, shall provide the pay scale for a position to an applicant applying for employment.
(c)(3) An employer with 15 or more employees shall include the pay scale for a position in any job posting.
(m)(1) "Pay scale" means a good faith estimate of the salary or hourly wage range that the employer reasonably expects to pay for the position upon hire.
(h) Nothing in this section shall prohibit an applicant from voluntarily and without prompting disclosing salary history information to a prospective employer.
(i) If an applicant voluntarily and without prompting discloses salary history information to a prospective employer, nothing in this section shall prohibit that employer from considering or relying on that voluntarily disclosed salary history information in determining the salary for that applicant.