How to deal with breaking backend version releases during active session?

What is the best practice to deal with errors that occur if the backend changes but the frontend bundle ist stale? We are using NextJS using SST with an AWS Lambda backend.