chore: update changelog format for breaking change

This commit is contained in:
Methapon Metanipat 2024-10-30 13:09:52 +07:00
parent 5829c0bb6f
commit e151230986
2 changed files with 13 additions and 13 deletions

View file

@ -70,7 +70,7 @@ All notable changes to this project will be documented in this file.
- Separate init user to utils - Separate init user to utils
- List also include relation - List also include relation
- Don't include condition if no query - Don't include condition if no query
- [**breaking**] Payment sys - 💥**breaking**💥 Payment sys
- Remove unused enum - Remove unused enum
- Accept quotation specific status filter instead - Accept quotation specific status filter instead
- Change installments data - Change installments data
@ -174,7 +174,7 @@ All notable changes to this project will be documented in this file.
- Quotation query and relation - Quotation query and relation
- Update quotation structure and endpoint - Update quotation structure and endpoint
- Throw common error with util function instead - Throw common error with util function instead
- [**breaking**] Remove unused field - 💥**breaking**💥 Remove unused field
- Make field optional - Make field optional
- Remove unnecessary join - Remove unnecessary join
- Change sort - Change sort
@ -183,7 +183,7 @@ All notable changes to this project will be documented in this file.
- Change running no to use parent id - Change running no to use parent id
- Add work status and process user - Add work status and process user
- Adjust field - Adjust field
- [**breaking**] Change branch to registered branch scope - 💥**breaking**💥 Change branch to registered branch scope
- Bring back vat excluded - Bring back vat excluded
- Search case - Search case
@ -364,8 +364,8 @@ All notable changes to this project will be documented in this file.
- Use kysely query builder instead - Use kysely query builder instead
- Roles - Roles
- Permission - Permission
- [**breaking**] Remove product type - 💥**breaking**💥 Remove product type
- [**breaking**] Remove unnecessary endpoint - 💥**breaking**💥 Remove unnecessary endpoint
- Permission user - Permission user
- View condition and permission - View condition and permission
- Small adjustment - Small adjustment
@ -386,7 +386,7 @@ All notable changes to this project will be documented in this file.
- Fix permission for sure - Fix permission for sure
- Use factory function for perm check - Use factory function for perm check
- Only query if have - Only query if have
- [**breaking**] Remove deprecated - 💥**breaking**💥 Remove deprecated
- Where conditions - Where conditions
- Add helper function - Add helper function
- Use helper function instead for easier fix - Use helper function instead for easier fix
@ -405,7 +405,7 @@ All notable changes to this project will be documented in this file.
- Reduce code - Reduce code
- Customer structure - Customer structure
- Employee - Employee
- [**breaking**] Customer (employer) fields - 💥**breaking**💥 Customer (employer) fields
- Combine payload - Combine payload
- Make field optional - Make field optional
- Change payload - Change payload
@ -499,7 +499,7 @@ All notable changes to this project will be documented in this file.
- New gen branch code - New gen branch code
- Change code gen of user - Change code gen of user
- Check code constraints - Check code constraints
- [**breaking**] Code gen customer - 💥**breaking**💥 Code gen customer
- Now system do not show system role - Now system do not show system role
- Add endpoint for get branch admin - Add endpoint for get branch admin
- Add field middleName and name prefix (optional) - Add field middleName and name prefix (optional)
@ -585,8 +585,8 @@ All notable changes to this project will be documented in this file.
- Do not update parent status to active - Do not update parent status to active
- Change relationship - Change relationship
- Change order - Change order
- [**breaking**] User code gen - 💥**breaking**💥 User code gen
- [**breaking**] Employee code gen - 💥**breaking**💥 Employee code gen
- Filter out system role - Filter out system role
- Only filter log api - Only filter log api
- Use prisma nested create instead - Use prisma nested create instead
@ -755,11 +755,11 @@ All notable changes to this project will be documented in this file.
- Branch code gen transaction - Branch code gen transaction
- Update code gen strategy (branch user) - Update code gen strategy (branch user)
- Update code gen strategy (customer) - Update code gen strategy (customer)
- [**breaking**] Add v1 prefix to endpoints - 💥**breaking**💥 Add v1 prefix to endpoints
- Update isolation level - Update isolation level
- Update log - Update log
- Move security to route by route - Move security to route by route
- [**breaking**] Change typo field and reset migration - 💥**breaking**💥 Change typo field and reset migration
- Add field to type - Add field to type
### ⚙️ Miscellaneous Tasks ### ⚙️ Miscellaneous Tasks

View file

@ -23,7 +23,7 @@ body = """
### {{ group | striptags | trim | upper_first }} ### {{ group | striptags | trim | upper_first }}
{% for commit in commits | unique(attribute="message") %} {% for commit in commits | unique(attribute="message") %}
- {% if commit.scope %}*({{ commit.scope }})* {% endif %}\ - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
{% if commit.breaking %}[**breaking**] {% endif %}\ {% if commit.breaking %}💥**breaking**💥 {% endif %}\
{{ commit.message | upper_first }}\ {{ commit.message | upper_first }}\
{% endfor %} {% endfor %}
{% endfor %}\n {% endfor %}\n