mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
add changelog docs
This commit is contained in:
parent
8a3bb8aa5b
commit
41557ba0f1
@ -1,6 +1,16 @@
|
||||
git checkout master
|
||||
git merge dev
|
||||
|
||||
basepath=$(dirname $0)
|
||||
|
||||
if ! command_exists github_changelog_generator ; then
|
||||
fail 'github_changelog_generator is required to publish packages'
|
||||
fi
|
||||
|
||||
if [ -z "$CHANGELOG_GITHUB_TOKEN" ] ; then
|
||||
fail 'You must set CHANGELOG_GITHUB_TOKEN environment variable\nhttps://github.com/skywinder/github-changelog-generator#github-token'
|
||||
fi
|
||||
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
echo "Enter release version: "
|
||||
@ -12,6 +22,15 @@ if [[ $REPLY =~ ^[Yy]$ ]]
|
||||
then
|
||||
echo "Releasing $VERSION ..."
|
||||
|
||||
github_changelog_generator \
|
||||
--header-label "## 更新日志" \
|
||||
--bugs-label "**修复:**" \
|
||||
--enhancement-label "**非兼容更新和新特性:**" \
|
||||
--issues-label "**处理的 Issue:**" \
|
||||
--pr-label "**合并的 Pull Request (可能有不兼容改动):**" \
|
||||
--no-unreleased \
|
||||
-o $basepath/../docs/examples-docs/changelog.md
|
||||
|
||||
# build
|
||||
VERSION=$VERSION npm run dist
|
||||
|
||||
|
@ -97,11 +97,7 @@ code.hljs {
|
||||
margin: 20px 0;
|
||||
font-weight: normal;
|
||||
|
||||
&:hover a {
|
||||
opacity: .4;
|
||||
}
|
||||
|
||||
a {
|
||||
.header-anchor {
|
||||
float: left;
|
||||
margin-left: -20px;
|
||||
opacity: 0;
|
||||
|
182
docs/examples-docs/changelog.md
Normal file
182
docs/examples-docs/changelog.md
Normal file
@ -0,0 +1,182 @@
|
||||
## 更新日志
|
||||
|
||||
## [v0.6.5](https://github.com/youzan/vant/tree/v0.6.5) (2017-07-11)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.6.4...v0.6.5)
|
||||
|
||||
**非兼容更新和新特性:**
|
||||
|
||||
- tabs组件支持滑动 [\#52](https://github.com/youzan/vant/pull/52) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
**处理的 Issue:**
|
||||
|
||||
- 有计划都生成vue版本吗 [\#50](https://github.com/youzan/vant/issues/50)
|
||||
|
||||
## [v0.6.4](https://github.com/youzan/vant/tree/v0.6.4) (2017-07-06)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.6.3...v0.6.4)
|
||||
|
||||
**非兼容更新和新特性:**
|
||||
|
||||
- src/utils目录支持SSR [\#51](https://github.com/youzan/vant/pull/51) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.6.3](https://github.com/youzan/vant/tree/v0.6.3) (2017-07-04)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.6.2...v0.6.3)
|
||||
|
||||
**非兼容更新和新特性:**
|
||||
|
||||
- 步骤条组件新增direction和activeColor属性,增加了竖的步骤条 [\#49](https://github.com/youzan/vant/pull/49) ([cookfront](https://github.com/cookfront))
|
||||
- Card component supoort thumb slot,use flex layout [\#48](https://github.com/youzan/vant/pull/48) ([chenjiahan](https://github.com/chenjiahan))
|
||||
|
||||
**修复:**
|
||||
|
||||
- 修复人民币符号在ios显示问题 [\#44](https://github.com/youzan/vant/pull/44) ([w91](https://github.com/w91))
|
||||
|
||||
**处理的 Issue:**
|
||||
|
||||
- goods-action 文档有误 [\#47](https://github.com/youzan/vant/issues/47)
|
||||
|
||||
## [v0.6.2](https://github.com/youzan/vant/tree/v0.6.2) (2017-06-26)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.6.1...v0.6.2)
|
||||
|
||||
**非兼容更新和新特性:**
|
||||
|
||||
- 新增icon、filed组件新增time类型和Dialog组件默认文案修改 [\#43](https://github.com/youzan/vant/pull/43) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.6.1](https://github.com/youzan/vant/tree/v0.6.1) (2017-06-19)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.6.0...v0.6.1)
|
||||
|
||||
**修复:**
|
||||
|
||||
- 新增icon和修复toast样式问题 [\#42](https://github.com/youzan/vant/pull/42) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.6.0](https://github.com/youzan/vant/tree/v0.6.0) (2017-06-15)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.12...v0.6.0)
|
||||
|
||||
**非兼容更新和新特性:**
|
||||
|
||||
- Search组件新增微杂志样式 [\#38](https://github.com/youzan/vant/pull/38) ([cookfront](https://github.com/cookfront))
|
||||
- 支持SSR、升级Vue版本和增加新的icon [\#40](https://github.com/youzan/vant/pull/40) ([cookfront](https://github.com/cookfront))
|
||||
- 增加cell swipe组件 [\#39](https://github.com/youzan/vant/pull/39) ([tsxuehu](https://github.com/tsxuehu))
|
||||
|
||||
## [v0.5.12](https://github.com/youzan/vant/tree/v0.5.12) (2017-06-02)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.11...v0.5.12)
|
||||
|
||||
**处理的 Issue:**
|
||||
|
||||
- 业务组件的cap-goods-list出现问题 [\#36](https://github.com/youzan/vant/issues/36)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- utils/scroll [\#37](https://github.com/youzan/vant/pull/37) ([pangxie1991](https://github.com/pangxie1991))
|
||||
|
||||
## [v0.5.11](https://github.com/youzan/vant/tree/v0.5.11) (2017-05-25)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.10...v0.5.11)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 移除postcss-reset [\#35](https://github.com/youzan/vant/pull/35) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.5.10](https://github.com/youzan/vant/tree/v0.5.10) (2017-05-25)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.9...v0.5.10)
|
||||
|
||||
## [v0.5.9](https://github.com/youzan/vant/tree/v0.5.9) (2017-05-25)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.8...v0.5.9)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 新增微信导航icon [\#34](https://github.com/youzan/vant/pull/34) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.5.8](https://github.com/youzan/vant/tree/v0.5.8) (2017-05-25)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.7...v0.5.8)
|
||||
|
||||
**修复:**
|
||||
|
||||
- 修复长按图片后,图片会隐藏问题 [\#32](https://github.com/youzan/vant/pull/32) ([w91](https://github.com/w91))
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 新增微信导航icon [\#33](https://github.com/youzan/vant/pull/33) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.5.7](https://github.com/youzan/vant/tree/v0.5.7) (2017-05-19)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.6...v0.5.7)
|
||||
|
||||
**非兼容更新和新特性:**
|
||||
|
||||
- picker 增加 title 显示 [\#30](https://github.com/youzan/vant/pull/30) ([pangxie1991](https://github.com/pangxie1991))
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 更新reset中body背景色 [\#31](https://github.com/youzan/vant/pull/31) ([w91](https://github.com/w91))
|
||||
|
||||
## [v0.5.6](https://github.com/youzan/vant/tree/v0.5.6) (2017-05-15)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.4...v0.5.6)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 添加两个新的icon [\#29](https://github.com/youzan/vant/pull/29) ([cookfront](https://github.com/cookfront))
|
||||
- 改变打包出来的amd模块,增加amd模块的名字 [\#28](https://github.com/youzan/vant/pull/28) ([pangxie1991](https://github.com/pangxie1991))
|
||||
|
||||
## [v0.5.4](https://github.com/youzan/vant/tree/v0.5.4) (2017-05-09)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.3...v0.5.4)
|
||||
|
||||
**修复:**
|
||||
|
||||
- 修复:添加reset.css和cell加上right-icon的slot [\#27](https://github.com/youzan/vant/pull/27) ([cookfront](https://github.com/cookfront))
|
||||
- 修复:cell同时设置title和label时,value不居中 [\#26](https://github.com/youzan/vant/pull/26) ([cookfront](https://github.com/cookfront))
|
||||
- 修复:popup的zIndex转换为number [\#24](https://github.com/youzan/vant/pull/24) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- fix bugs and add new features [\#25](https://github.com/youzan/vant/pull/25) ([radicalviva](https://github.com/radicalviva))
|
||||
|
||||
## [v0.5.3](https://github.com/youzan/vant/tree/v0.5.3) (2017-04-27)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.2...v0.5.3)
|
||||
|
||||
**修复:**
|
||||
|
||||
- 修复:picker中值变了后未更新picker-colum中的值 [\#23](https://github.com/youzan/vant/pull/23) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.5.2](https://github.com/youzan/vant/tree/v0.5.2) (2017-04-26)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.1...v0.5.2)
|
||||
|
||||
**处理的 Issue:**
|
||||
|
||||
- does it render UI Natively just like React - Native or like ionic ? [\#15](https://github.com/youzan/vant/issues/15)
|
||||
- give me an english version of this : https://www.youzanyun.com/zanui/react/guides/install [\#14](https://github.com/youzan/vant/issues/14)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 修复:webpack打包修复 [\#21](https://github.com/youzan/vant/pull/21) ([cookfront](https://github.com/cookfront))
|
||||
- unit test: picker [\#20](https://github.com/youzan/vant/pull/20) ([cookfront](https://github.com/cookfront))
|
||||
- Fix: 修复toast关闭时未移除Dom节点,以及补上单元测试 [\#19](https://github.com/youzan/vant/pull/19) ([cookfront](https://github.com/cookfront))
|
||||
- tabs 组件修改 [\#18](https://github.com/youzan/vant/pull/18) ([pangxie1991](https://github.com/pangxie1991))
|
||||
- 补充 Col & Row 测试用例 [\#16](https://github.com/youzan/vant/pull/16) ([w91](https://github.com/w91))
|
||||
- 单元测试 排除src/目录 [\#13](https://github.com/youzan/vant/pull/13) ([pangxie1991](https://github.com/pangxie1991))
|
||||
- 添加单元测试 [\#12](https://github.com/youzan/vant/pull/12) ([cookfront](https://github.com/cookfront))
|
||||
- test 环境不跑 PhantomJS [\#11](https://github.com/youzan/vant/pull/11) ([pangxie1991](https://github.com/pangxie1991))
|
||||
- 修改 unit test 的配置 [\#10](https://github.com/youzan/vant/pull/10) ([pangxie1991](https://github.com/pangxie1991))
|
||||
- unit test: uploader [\#9](https://github.com/youzan/vant/pull/9) ([tsxuehu](https://github.com/tsxuehu))
|
||||
- 文档页样式优化和打包配置优化 [\#8](https://github.com/youzan/vant/pull/8) ([cookfront](https://github.com/cookfront))
|
||||
- 修复表单组件样式和单元测试用例 [\#7](https://github.com/youzan/vant/pull/7) ([cookfront](https://github.com/cookfront))
|
||||
- 文档小细节优化 [\#6](https://github.com/youzan/vant/pull/6) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.5.1](https://github.com/youzan/vant/tree/v0.5.1) (2017-04-24)
|
||||
[Full Changelog](https://github.com/youzan/vant/compare/v0.5.0...v0.5.1)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- 文档细节优化,search、loading和dialog组件样式修复 [\#5](https://github.com/youzan/vant/pull/5) ([cookfront](https://github.com/cookfront))
|
||||
|
||||
## [v0.5.0](https://github.com/youzan/vant/tree/v0.5.0) (2017-04-23)
|
||||
**处理的 Issue:**
|
||||
|
||||
- 一些建议 [\#1](https://github.com/youzan/vant/issues/1)
|
||||
|
||||
**合并的 Pull Request (可能有不兼容改动):**
|
||||
|
||||
- use vue in amd & commonjs, use Vue in root [\#4](https://github.com/youzan/vant/pull/4) ([pangxie1991](https://github.com/pangxie1991))
|
||||
- 手机端样式细节调整,补充测试用例 [\#3](https://github.com/youzan/vant/pull/3) ([cookfront](https://github.com/cookfront))
|
||||
- 补充waterfall文档,依赖vue改为Vue [\#2](https://github.com/youzan/vant/pull/2) ([pangxie1991](https://github.com/pangxie1991))
|
||||
|
||||
|
||||
|
||||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
@ -9,6 +9,10 @@ module.exports = {
|
||||
{
|
||||
"path": "/quickstart",
|
||||
"title": "快速上手"
|
||||
},
|
||||
{
|
||||
"path": "/changelog",
|
||||
"title": "更新日志"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user