Ankle injuries have forced former Swansea City midfielder Michu to retire at age 31.
Getafe earned promotion back to the top flight in La Liga at the first attempt after beating Tenerife 3-2 on aggregate in the playoff final.
Osasuna have sacked coach Petar Vasiljevic following his failure to keep the club in La Liga.
Girona will play in the Spanish Primera Division next season for the first time in the 87-year history of the club after earning promotion on Sunday.
Guillermo Ochoa: "I want to thank the fans for their unconditional support throughout this year. They made my stay a pleasant one."