News for hackers. Stuff that matters.
Re:How Shopify Manages API Versioning and Breaking Changes by ch33zer on Thursday December 19, 2019 @12:16PM (#21836883)
How do they handle security fixes in old releases? If releasing a security patch requires backporting it to 5 different active releases then I'm unconvinced that this is a useful strategy.
Re:How Shopify Manages API Versioning and Breaking Changes by auv5 on Thursday December 19, 2019 @04:02PM (#21839262)
Great question! As mentioned in the article, when making a change you would typically add an `ApiChange.in_effect?` check to see if your new functionality should execute. When we implement security fixes, we do not include this check and the fix retroactively applies to all API versions.