Capability Feature Flags for Backward Compatibility
Good reference blog post for a design approach I like for APIs; instead of using numeric version attributes and mapping “version=4” means “supports feature foo”, use a capability flag of “supports_foo=1”.
(tags: apis design coding capabilities feature-flags flags)