AZ-400 · Question #441
Drag and Drop Question You are designing a versioning strategy for Git-based packages. You plan to use a Semantic Versioning (SemVer)-based strategy. You need to identify when to change the build vers
The correct answer is Major; Minor; Minor. In Semantic Versioning (SemVer), the version format is MAJOR.MINOR.PATCH. A MAJOR version increment occurs when breaking/incompatible API changes are introduced, meaning existing consumers must update their code. A MINOR version increment occurs when new backward-compatible funct
Question
Exhibit
Answer Area
Drag items
Correct arrangement
- Major
- Minor
- Minor
Explanation
In Semantic Versioning (SemVer), the version format is MAJOR.MINOR.PATCH. A MAJOR version increment occurs when breaking/incompatible API changes are introduced, meaning existing consumers must update their code. A MINOR version increment occurs when new backward-compatible functionality is added - such as adding a new feature or new API endpoint that doesn't break existing consumers. The third scenario also maps to MINOR because adding backward-compatible functionality (even in different forms like new optional parameters or new modules) follows the same rule. Patch is reserved strictly for backward-compatible bug fixes with no new functionality.
Topics
Community Discussion
No community discussion yet for this question.
