He didn't sign a one year deal last summer.
He was committed to Barcelona till today, since his extension in 2017. He did however have a courtesy final year get-out in recognition of loyalty and service which he tried to use, but Barceloana and LaLiga fucked the spirit of the clause over the technicality, by using the date in the contract, which was also the end of a typical season, instead of the end of the season which came later than usual due to the covid delay.
His lawyers disagreed with the interpretation, and from memory fifa even loosely backed it, but Barcelona said they would take it to court so he withdrew out of respect for the club. And announced he would see out his contract, which he has now done.
You are right though, they were quick to let the world know.