changelog-template.hbs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {{#each releases}}
  2. ## [{{title}}]({{href}}) {{niceDate}}
  3. ### Breaking Changes
  4. {{#commit-list merges heading='' message='BREAKING CHANGE'}}
  5. - :warning: {{message}} [`{{id}}`]({{href}})
  6. {{/commit-list}}
  7. {{#commit-list commits heading='' message='BREAKING CHANGE'}}
  8. - :warning: {{subject}} [`{{shorthash}}`]({{href}})
  9. {{/commit-list}}
  10. {{#commit-list fixes heading='' message='BREAKING CHANGE'}}
  11. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  12. {{/commit-list}}
  13. ### Architectural
  14. {{#commit-list merges heading='' message='^arch' exclude='BREAKING CHANGE'}}
  15. - {{message}} [`{{id}}`]({{href}})
  16. {{/commit-list}}
  17. {{#commit-list commits heading='' message='^arch' exclude='BREAKING CHANGE'}}
  18. - {{subject}} [`{{shorthash}}`]({{href}})
  19. {{/commit-list}}
  20. {{#commit-list fixes heading='' message='^arch' exclude='BREAKING CHANGE'}}
  21. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  22. {{/commit-list}}
  23. ### New Features
  24. {{#commit-list merges heading='' message='^feat' exclude='BREAKING CHANGE'}}
  25. - {{message}} [`{{id}}`]({{href}})
  26. {{/commit-list}}
  27. {{#commit-list commits heading='' message='^feat' exclude='BREAKING CHANGE'}}
  28. - {{subject}} [`{{shorthash}}`]({{href}})
  29. {{/commit-list}}
  30. {{#commit-list fixes heading='' message='^feat' exclude='BREAKING CHANGE'}}
  31. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  32. {{/commit-list}}
  33. ### Performance
  34. {{#commit-list merges heading='' message='^perf' exclude='BREAKING CHANGE'}}
  35. - {{message}} [`{{id}}`]({{href}})
  36. {{/commit-list}}
  37. {{#commit-list commits heading='' message='^perf' exclude='BREAKING CHANGE'}}
  38. - {{subject}} [`{{shorthash}}`]({{href}})
  39. {{/commit-list}}
  40. {{#commit-list fixes heading='' message='^perf' exclude='BREAKING CHANGE'}}
  41. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  42. {{/commit-list}}
  43. ### Fixes
  44. {{#commit-list merges heading='' message='^fix' exclude='(^fix conflict|^fix warning|BREAKING CHANGE)'}}
  45. - {{message}} [`{{id}}`]({{href}})
  46. {{/commit-list}}
  47. {{#commit-list commits heading='' message='^fix' exclude='(^fix conflict|^fix warning|BREAKING CHANGE)'}}
  48. - {{subject}} [`{{shorthash}}`]({{href}})
  49. {{/commit-list}}
  50. {{#commit-list fixes heading='' message='^fix' exclude='(^fix conflict|^fix warning|BREAKING CHANGE)'}}
  51. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  52. {{/commit-list}}
  53. ### Examples
  54. {{#commit-list merges heading='' message='^example'}}
  55. - {{message}} [`{{id}}`]({{href}})
  56. {{/commit-list}}
  57. {{#commit-list commits heading='' message='^example'}}
  58. - {{subject}} [`{{shorthash}}`]({{href}})
  59. {{/commit-list}}
  60. {{#commit-list fixes heading='' message='^example'}}
  61. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  62. {{/commit-list}}
  63. ### Docs
  64. {{#commit-list merges heading='' message='^docs'}}
  65. - {{message}} [`{{id}}`]({{href}})
  66. {{/commit-list}}
  67. {{#commit-list commits heading='' message='^docs'}}
  68. - {{subject}} [`{{shorthash}}`]({{href}})
  69. {{/commit-list}}
  70. {{#commit-list fixes heading='' message='^docs'}}
  71. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  72. {{/commit-list}}
  73. ### CI and tests
  74. {{#commit-list merges heading='' message='(^ci|^test)'}}
  75. - {{message}} [`{{id}}`]({{href}})
  76. {{/commit-list}}
  77. {{#commit-list commits heading='' message='(^ci|^test)'}}
  78. - {{subject}} [`{{shorthash}}`]({{href}})
  79. {{/commit-list}}
  80. {{#commit-list fixes heading='' message='(^ci|^test)'}}
  81. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  82. {{/commit-list}}
  83. ### Others
  84. {{#commit-list merges heading='' exclude='(^fix|^feat|^perf|^docs|^example|^ci|^test)'}}
  85. - {{message}} [`{{id}}`]({{href}})
  86. {{/commit-list}}
  87. {{#commit-list commits heading='' exclude='(^fix|^feat|^perf|^docs|^example|^ci|^test)'}}
  88. - {{subject}} [`{{shorthash}}`]({{href}})
  89. {{/commit-list}}
  90. {{#commit-list fixes heading='' exclude='(^fix|^feat|^perf|^docs|^example|^ci|^test)'}}
  91. - {{commit.subject}} [`{{commit.shorthash}}`]({{commit.href}})
  92. {{/commit-list}}
  93. {{/each}}