Skip to content

devpeul/conventional-commits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🔥 Conventional Commit টাইপগুলোর পূর্ণ তালিকা (সাথে ব্যাখ্যা)

Tag (Type) অর্থ / ব্যবহার SemVer Impact
feat নতুন feature যোগ করা Minor bump
fix bug fix করা Patch bump
docs Documentation পরিবর্তন None
style ফরম্যাটিং (লজিক পরিবর্তন নয়) None
refactor কোড পুনর্গঠন (feature/bug নয়) None
perf পারফরম্যান্স উন্নতি Patch bump
test টেস্ট যোগ বা আপডেট None
chore Dependency / config / build task None
build Build system বা dependency সংক্রান্ত পরিবর্তন None
ci Continuous integration সংক্রান্ত পরিবর্তন None
revert আগের commit revert করা Patch
security Security issue fix Patch bump
init প্রোজেক্টের initial commit None

⚙️ উদাহরণসমূহ

feat(auth): add OTP-based login
fix(router): prevent crash on invalid param
docs(readme): update installation guide
style(button): fix indentation
refactor(api): simplify data fetching logic
perf(image): compress images for faster load
test(user): add unit tests for register function
chore(release): update changelog and version
build(npm): add postinstall script
ci(github): update actions workflow
revert: revert "feat(auth): add OTP-based login"
security(auth): fix JWT token leakage
config(eslint): add new lint rules
init(project): initial commit with Next.js setup

⚡ Bonus Tip — “Breaking Change” বোঝানো

যদি তুমি এমন কোনো পরিবর্তন করো যা পুরনো কোড ভেঙে ফেলবে, তাহলে commit এ নিচের দুইভাবে তা জানাও 👇

🧩 Option 1 — ! ব্যবহার করে

feat!: remove old login endpoint

🧩 Option 2 — Footer এ লিখে

feat(api): update response format

BREAKING CHANGE: /users endpoint now returns paginated data.

👉 এই BREAKING CHANGE keyword দিলে Semantic Versioning অনুযায়ী major version bump হয়।


🧠 এক কথায় মনে রাখো

Type Group Purpose
Feature related feat, fix, perf, hotfix, security
Maintenance chore, build, ci, config, deps, deps-dev
Code quality style, refactor, test
Docs & Info docs, release
Meta revert, init, merge, wip

About

A specification for adding human and machine readable meaning to commit messages

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages