Thousands of Californians will have felonies reduced to misdemeanors and lower-level offenses wiped from their records.