What are Conventional Commits and semantic versioning, and how do they work together?
IntermediateConceptBranching strategies, pull requests and code review
Answer
Commit types map to version bumps: fix: is a patch, feat: is minor, and feat!: or a BREAKING CHANGE: footer is major. Tools like release-please or semantic-release read the commit history to compute the next version, update the changelog and tag.
feat(api)!: drop v1 endpoints
BREAKING CHANGE: /v1 removed
More on Branching strategies, pull requests and code review
What is a feature-branch workflow?BeginnerWhat is GitFlow and what are its branches?IntermediateWhat is trunk-based development and what does it require?IntermediateWhat is GitHub Flow and how does it differ from GitFlow?BeginnerWhat is release-branch strategy with cherry-picked fixes?IntermediateWhat makes a good pull request?Beginner