Newsom signs legislation requiring animals be microchipped prior to adoption