Chapter 8

Versioning

Publisher Summary

This chapter covers the details of API versioning, explaining the different types of backward compatibility and describing how one can actually achieve backward compatibility for API. The design of an API is a discrete task that is finished once the API is fully specified and released to users. After an API is released, that’s when the real work begins and when the API development process is put to the test. The primary objective for all releases after the initial release of an API must be to cause zero impact on existing clients, or as close to zero as practically possible. Breaking the interface, or the behavior of the interface, between releases will force the clients to update their code to take advantage ...

Get API Design for C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.