As a widow, does that affect the basis of the home I sold? If so does it benefit me? You used to be able to invest in your next primary residence, has that changed?

I did purchase another primary residence in 2016.