CS FundamentalsHardProduct-company placement

A project uses Conventional Commits with automated semantic versioning. Since v1.4.2 the commits are 'fix(api): handle empty body', 'feat(ui): add dark mode' and 'docs: update README'. What is the next version?

  1. A. 1.4.3
  2. B. 2.0.0
  3. C. 1.5.0
  4. D. 1.5.1

Correct answer: C. 1.5.0

A feat bumps the minor version and resets the patch; fix alone would only bump the patch, and docs changes trigger nothing. Only a commit marked with ! or a BREAKING CHANGE footer would give 2.0.0.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic