Due to the high rates of Covid, the park had required a day use permit to limit the amount of people in the park. If you did not have reservations in the park for camping or lodging, a wilderness permit or reservations in Foresta, Yosemite West or Wawona, or took public transportation into the park, you had to get a day use permit. People with permits were only allowed in the park from 8 am to 5 pm and the permits were good for 7 days. Even if you had a park pass, you had to have a permit.
As of March 1st, they no longer are requiring those permits. However, please be aware, if the the rates of Covid rise above a certain level, there is a possibility that they might institute the requirements for day use permits again. Hopefully with people getting vaccinated, the rate of Covid infection will continue to drop and they will not have to do this again.
Do be aware that not everything might be opened this year and to keep checking the park website.