Node.js · Senior · Question 66 of 75

How should you evolve a public API without breaking existing clients?

Explanation

Removing or renaming fields breaks clients. Monitor usage of deprecated fields before removing them; the Deprecation and Sunset headers can announce it.

Further reading

Problem with a question

Node.js · Senior · question 66

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz