Contributing

Commit conventions

Conventional Commits + how versions are derived.

routess uses Conventional Commits. semantic-release reads commits to decide the next version.

Format

<type>(<scope>)?: <subject>

[body]

[footer]

Types

TypeBumpsExample
featminorfeat(routes): add gpx export
fixpatchfix(api): handle 401 from google jwks
chore, docs, style, refactor, test, ci, perf, buildnonechore: update deps
feat!: or BREAKING CHANGE: in bodymajorfeat!: drop /v1, switch to /v2

Tips

  • Keep the subject under ~70 chars
  • Use lowercase imperative mood ("add", not "Adds" or "Added")
  • Scopes are optional but help: feat(web), fix(api), docs(packages)

Don't

  • Don't squash unrelated changes into one commit
  • Don't use chore for user-visible changes; it won't show up in the changelog

On this page