All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.6 (2022-07-17)
- deps: update dependency aws-sdk to v2.1176.0 (eb3c14a)
- deps: update dependency cos-nodejs-sdk-v5 to v2.11.12 (fa00c74)
- deps: update dependency express to v4.18.1 (2adad28)
- deps: update dependency helmet to v5.1.0 (aefde36)
- deps: update dependency i18n to v0.15.0 (7cc216c)
- deps: update dependency nodemailer to v6.7.7 (85ad522)
- deps: update dependency qiniu to v7.7.0 (732a4ed)
- deps: update dependency redis to v4.2.0 (5a744c6)
- deps: update dependency sequelize to v6.21.3 (7462594)
- deps: update dependency yargs to v17.5.1 (fd9f58e)
2.1.5 (2022-04-26)
2.1.4 (2022-04-26)
- deps: update dependency aws-sdk to v2.1121.0 (f59e9ae)
- deps: update dependency cos-nodejs-sdk-v5 to v2.11.7 (d74aa2a)
- deps: update dependency express to v4.18.0 (9b2fee3)
- deps: update dependency fs-extra to v10.1.0 (2699a4a)
- deps: update dependency moment to v2.29.3 (b9af976)
- deps: update dependency qiniu to v7.5.0 (f9068c2)
- deps: update dependency sequelize to v6.19.0 (d447d42)
- deps: update dependency yargs to v17.4.1 (5431b62)
2.1.3 (2022-04-07)
- deps: update dependency aws-sdk to v2.1109.0 (1d3cab0)
- deps: update dependency body-parser to v1.20.0 (ae55396)
- deps: update dependency moment to v2.29.2 (a4c875d)
- deps: update dependency redis to v4.0.6 (442743f)
- deps: update dependency sequelize to v6.18.0 (34ef968)
- use latest matching deployment (fb70185), closes #162
2.1.2 (2022-03-25)
- change password success prompts localized message (21c987a)
- deps: update dependency aws-sdk to v2.1100.0 (56f32d2)
- refactor views, improve/simplify the auth workflows (f1e3e2a)
- zip file creation of diff release (4bb074b)
2.1.1 (2022-03-23)
- zh locale support (6a55bc5)
2.1.0 (2022-03-23)
- app: add i18n support (57a6e98)
- deps: update dependency aws-sdk to v2.1098.0 (381f51a)
- deps: update dependency nodemailer to v6.7.3 (154af3c)
- deps: update dependency yargs to v17.4.0 (763c924)
2.0.3 (2022-03-09)
- deps: update dependency aws-sdk to v2.1089.0 (2a40892)
- deps: update dependency fs-extra to v10.0.1 (6e20737)
- deps: update dependency redis to v4.0.4 (23e984a)
- deps: update dependency sequelize to v6.17.0 (dd255d9)
2.0.2 (2022-02-21)
- log stringified account info (85a09fa)
2.0.1 (2022-02-21)
- deps: update dependency aws-sdk to v2.1077.0 (fd22283)
- deps: update dependency body-parser to v1.19.2 (19d8acd)
- deps: update dependency express to v4.17.3 (915fd25)
- deps: update dependency kv-logger to v0.5.3 (e7d2e0f)
- deps: update dependency sequelize to v6.16.2 (ceb3e3e)
- deps: update kv-logger to 0.5.1 (6289835)
- deps: update kv-logger to 0.5.2 and fix build issue (cae80fe)
- put x-request-id to res header (e9c13a5)
2.0.0 (2022-02-10)
- drop is_use_diff_text support
- drop codePushWeb redirect support
- drop upyun support
- drop CONFIG_FILE support, please use env variable config items
- drop upyun support (57bbdc5)
-
deps: update dependency aws-sdk to v2.1072.0 (82f41e0)
-
deps: update dependency sequelize to v6.16.0 (e3bb1e4)
-
deps: update dependency sequelize to v6.16.1 (568a5b0)
-
update deps redis to v4, reuse the same redis client without quit (98c2ca6)
-
drop codePushWeb redirect support (255ea15)
-
turn package-manager to ts (e067aed)
-
turn top level app/www to ts (76d8898)
1.2.0 (2022-02-08)
- add typescript support (6b1a5d7)
- add more info logs for account/app management (4e45c7e)
- deps: update dependency aws-sdk to v2.1062.0 (9a62e4a)
- deps: update dependency body-parser to v1.19.1 (1173672)
- deps: update dependency cos-nodejs-sdk-v5 to v2.11.6 (4e570d6)
- deps: update dependency express to v4.17.2 (59a9cd3)
- deps: update dependency helmet to v5 (ffff5da)
- deps: update dependency helmet to v5.0.2 (b601ee7)
- deps: update dependency node-fetch to v2.6.7 (2bcaa19)
- deps: update dependency nodemailer to v6.7.2 (58a2af0)
- deps: update dependency sequelize to v6.12.4 (5ec26ae)
- deps: update dependency sequelize to v6.14.0 (1786ca2)
- deps: update dependency yargs to v17.3.1 (a099f8c)
- replace log4js with simple kv-logger (7e1829e)
- simplify redis config (deefe90)
1.1.1 (2021-11-23)
- make all config items accessible with environment variables (187c198)
- use unified log level config and config it by LOG_LEVEL (6699127)
1.1.0 (2021-11-23)
- check config flag
common.allowRegistration
to allow registration (53ffab6)
- deps: update dependency aliyun-sdk to v1.12.4 (5c7b64f)
- deps: update dependency aws-sdk to v2.1034.0 (a57da57)
- deps: update dependency aws-sdk to v2.975.0 (ce7eb3f)
- deps: update dependency aws-sdk to v2.976.0 (e598d4b)
- deps: update dependency aws-sdk to v2.978.0 (1ff838c)
- deps: update dependency aws-sdk to v2.979.0 (f046a22)
- deps: update dependency cookie-parser to v1.4.6 (82858f7)
- deps: update dependency cos-nodejs-sdk-v5 to v2.11.2 (1ca57d5)
- deps: update dependency formidable to v1.2.6 (8b6efad)
- deps: update dependency mysql2 to v2.3.3 (eafe186)
- deps: update dependency node-fetch to v2.6.6 (885a88a)
- deps: update dependency nodemailer to v6.7.1 (521061a)
- deps: update dependency sequelize to v6.11.0 (5d1d791)
- deps: update dependency validator to v13.7.0 (2d8c47e)
- deps: update dependency yargs to v17.2.1 (76052d6)
- deps: update formidable to v2 (9949913)
- handle registration and confirmation (b8b0276)
1.0.6 (2021-08-23)
- skip find diff package if check update without a client side packageHash (d00a8cc)
1.0.5 (2021-08-23)
- omit undefined query condition for no package_hash update check (6dbe8df)
1.0.4 (2021-08-23)
- deps: update dependency sequelize to v5.22.4 (6146bf4)
- deps: update sequelize to v5 (bbf8cad)
- deps: update sequelize to v6 (bf7a152)
1.0.3 (2021-08-23)
- deps: update dependency aws-sdk to v2.973.0 (0880204)
- deps: update dependency sequelize to v4.44.4 (e66bbf1)
- support REDIS_PASSWORD, REDIS_DB env var in default config (e7fe615)
1.0.2 (2021-08-19)
- cleanup some use of bluebird in favor of native Promise (2a3f946)
- deps: update dependency aliyun-sdk to v1.12.3 (1f2cb60)
- deps: update dependency aws-sdk to v2.971.0 (fa2a40a)
- deps: update dependency bluebird to v3.7.2 (fd221ec)
- deps: update dependency body-parser to v1.19.0 (92a5131)
- deps: update dependency cookie-parser to v1.4.5 (f4fa15c)
- deps: update dependency diff-match-patch to v1.0.5 (e45052d)
- deps: update dependency extract-zip to v1.7.0 (f690f32)
- deps: update dependency formidable to v1.2.2 (eb90aad)
- deps: update dependency fs-extra to v10 (8636b27)
- deps: update dependency fs-extra to v7.0.1 (10dbb59)
- deps: update dependency helmet to v3.23.3 (1371a70)
- deps: update dependency jschardet to v3 (3e947d7)
- deps: update dependency jsonwebtoken to v8.5.1 (81b2635)
- deps: update dependency lodash to v4.17.21 (90643a1)
- deps: update dependency log4js to v3.0.6 (bc337a5)
- deps: update dependency moment to v2.29.1 (e41d4f1)
- deps: update dependency nodemailer to v4.7.0 (dd354db)
- deps: update dependency nodemailer to v6 (73219d2)
- deps: update dependency pug to v2.0.4 (936a220)
- deps: update dependency qiniu to v7.4.0 (71d2645)
- deps: update dependency request to v2.88.2 (73d23aa)
- deps: update dependency serve-favicon to v2.5.0 (cbe23fb)
- deps: update extract-zip to v2.0.1 (6271be7)
- deps: update helmet to v4.6.0 (7b0592a)
- deps: update log4js to v6 (572084e)
- deps: update mocha and dev to their latest version (9ece7fb)
- deps: update pug to v3.0.2 (cd1a47c)
- deps: update rand-token to v1.0.1 (f229170)
- deps: update redis to v3.1.2 (c8c82c3)
- deps: update slash to v3 (41520ca)
- deps: update supertest to v6 (9b19534)
- deps: update upyun to v3.4.4 (e4b6e5e)
- deps: update validator to v13 (8c4cd00)
- deps: update yargs to v17 (25fff4d)
- deps: update yazl to v2.5.1 (ea20620)
- log more info for NotFound error (3f890d1)
- remove /README.md and remove markdown-it dep (6100c52)
- remove debug from deps (4283d9c)
- remove unused i18n package (56f4905)
- remove unused morgan dep (7c0dfb4)
- replace deprecated use of Buffer() (dd2a141)
1.0.1 (2021-08-19)
- deps: pin dependencies (1822c0f)
- deps: update dependency cos-nodejs-sdk-v5 to v2.10.0 (9a65b0f)
- deps: update dependency express to v4.17.1 (1f4c7c1)
- deps: update mysql2 and setup github action ci (6ab24d3)
- return appVersion as target_binary_range to compatible with code-push 3.0.1 changes (40b41fb)
- 针对文本增量更新进行优化,使用google
diff-match-patch
算法计算差异- react-native-code-push Android客户端适配,需要合并microsoft/react-native-code-push#1393, 才能正常使用文本增量更新功能。
- react-native-code-push iOS客户端适配 (需要合并microsoft/react-native-code-push#1399)
- react-native-code-push Windows客户端适配 (进行中)
- 修复统计数据激活数
- 修复灰度发布bug
- rollback后增加计算和最后一次增量更新版本
$ npm run upgrade
or
$ code-push-server-db upgrade
- targetBinaryVersion 支持正则匹配,
deployments_versions
新增字段min_version
,max_version
*
匹配所有版本1.2.3
匹配特定版本1.2.3
1.2
/1.2.*
匹配所有1.2补丁版本>=1.2.3<1.3.7
~1.2.3
匹配>=1.2.3<1.3.0
^1.2.3
匹配>=1.2.3<2.0.0
- 添加docker编排服务部署,更新文档
- Support Tencent cloud cos storageType
-
升级数据库
$ ./bin/db upgrade
or$ mysql codepush < ./sql/codepush-v0.4.0-patch.sql
-
处理存量数据
$ git clone https://github.com/lisong/tools
$ cd tools
$ npm i
$ vim ./bin/fixMinMaxVersion //修改数据配置
$ node ./bin/fixMinMaxVersion //出现提示 success
- 支持灰度发布
- 适配
code-push app add
命令,应用不再以名字区分平台,而是以类型区分平台- 数据库表apps新增字段
os
,platform
- 数据库表apps新增字段
- 完善
code-push release/release-react/release-cordova
命令- 数据库表packages新增
is_disabled
,rollout
字段
- 数据库表packages新增
- 适配
code-push patch
命令 - 新增
log_report_download
,log_report_deploy
日志表 - 升级npm依赖包