6 Comments
User's avatar
Raul Junco's avatar

Every successful API needs versioning.

It is also a good practice to monitor the number of clients still using older versions and log failed requests that may be due to version mismatches.

That gives guidance about when to sunset old versions.

Great Summary!

Neo Kim's avatar

appreciate it, thanks Raul!

Chinedu Elijah Okoronkwo's avatar

I appreciate this post. I think I understand better now

Leo HCMUS's avatar

How to deal with code duplication when we need to maintain multiple API versions?

Irina Dominte's avatar

It depends on where that duplication will be located and what level of duplication we are talking about. If we are talking about contracts, then, it is perfectly fine to have duplication. It minimizes risks of errors, and offers a clear separation between versions