NOT A TEACHER: 'In the last year' means from 365 days ago until now. It is not considered a specific time, so it requires Present Perfect. Both sentences are correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.