diff --git a/.picklogrc.js b/.picklogrc.js index ea3a010..c4b65e1 100644 --- a/.picklogrc.js +++ b/.picklogrc.js @@ -8,19 +8,15 @@ module.exports = { filters: [ { name: 'Features', - regExp: /^(?:feat|add)/i, + regExp: /^(?:feat|add):/i, }, { name: 'Bugfixes', - regExp: /^fix/i, - }, - { - name: 'Style', - regExp: /^style/i, + regExp: /^fix:/i, }, { name: 'Performance', - regExp: /^perf/i, + regExp: /^perf:/i, } ], parse(commits){ diff --git a/CHANGELOG.md b/CHANGELOG.md index 20c501c..239786f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,14 @@ ### [v2.2.0](https://github.com/Tencent/weui/compare/v2.1.4...v2.2.0) (2020-02-17) #### Features -* feat: DarkMode 黑暗模式 适配([d2aa336](https://github.com/Tencent/weui/commit/d2aa336)) +* feat: DarkMode 黑暗模式 适配。默认跟随系统,可在`body`添加属性`data-weui-theme`来控制,值为`light`/`dark`。([d2aa336](https://github.com/Tencent/weui/commit/d2aa336)) * feat: 不再对`weui-btn_plain`进行支持,可使用`weui-btn`代替([699609f](https://github.com/Tencent/weui/commit/699609f)) #### Bugfixes * fix: 在 iphone se 下,不能看到确认按钮的问题 #816([a2c83d3](https://github.com/Tencent/weui/commit/a2c83d3)) -#### Style -* stylelint([7965261](https://github.com/Tencent/weui/commit/7965261)) +#### Breaking Changes +* feat: 不再对`weui-btn_plain`进行支持,可使用`weui-btn`代替([699609f](https://github.com/Tencent/weui/commit/699609f))