Home sale

I sold my home in 2019.  It had been primary residence from 2004-2006, when PART of it was used for vacation rental until 2015, after which the whole house again was primary residence.   Do I need to let IRS know that this rental period was only for part of the home, rather than the whole home?  It appears  I need to notify them of the sale, even though my profit was less than 100K. Also, am I still required to pay a depreciation recapture of the entire amount of depreciation I took while part of the home was a rental?  Thanks a lot!