v1.0.0-beta.10
What's Changed
- fix: fix init function invoke error by @skyoct in #1230
- chore: upgrade apisix helm version by @skyoct in #1232
- doc: add documents that accesss AI by @nightwhite in #1215
- chore: update apisix plugins version by @skyoct in #1234
- feat(cli): add error prompt & opt init project by @skyoct in #1235
- fix(server): fix billing task perf problem by @maslow in #1236
- fix(server): improve billing task concurrency by @maslow in #1237
- chore(deploy): fix deploy scripts PROJECT_ROOT error by @geeknonerd in #1238
- feat(web): opt function editor ui by @LeezQ in #1233
- fix(web): tabheight by @LeezQ in #1239
- feat(cli): support specify code directory by @skyoct in #1241
- refactor(server): refactor billing task by @maslow in #1249
- fix(cli): fix remote url end with / by @skyoct in #1251
- doc: add cli switch user method by @nightwhite in #1242
- fix(server): opt billing task schedular cron by @maslow in #1253
- ci: repair push laf doc by @nightwhite in #1252
- fix(server): billing task exit abnormally by @maslow in #1255
- fix(web): balance recharge by @luckyyyyy in #1257
- feat(web): add recharge bonus & autoscaling by @newfish-cmyk in #1263
- feat(web): add function template by @newfish-cmyk in #1264
- feat(server): autoscaling for application by @0fatal in #1250
- feat(server): support charge reward by @0fatal in #1261
- fix(web): hide template by @newfish-cmyk in #1265
- fix(web): change typo storage to memory by @newfish-cmyk in #1266
- fix(web): hide bonus when no bonus by @newfish-cmyk in #1267
- fix(server): fix charge reward calculation error by @0fatal in #1269
- fix(cli): fix function exec error by @skyoct in #1270
- fix(cli): opt func pull command by @skyoct in #1271
- fix(web): fix typo by @newfish-cmyk in #1273
- fix(web): fix recharge display & modal open by @newfish-cmyk in #1274
- fix(server): create hpa when hpa is not found by @0fatal in #1275
- fix(runtime): add mongodb stream reconnect by @skyoct in #1276
- chore(web): fix typo in recharge bonus dlg by @maslow in #1278
- feat(web): add function history & add app darkmode by @newfish-cmyk in #1289
- feat(server): support cloud function history by @0fatal in #1283
- doc: fix a small mistake by @nightwhite in #1285
- doc: fix case problem by @nightwhite in #1286
- doc: del invalid image links by @nightwhite in #1287
- doc: del invalid image links en by @nightwhite in #1288
- fix(server): add sort filter to resource bundle & options by @maslow in #1290
- doc: fix syntax error on jwt token by @nightwhite in #1291
- feat(server): implements cloud function template & templates marketplace by @HUAHUAI23 in #1259
- feat(web):add pagination for storage file list by @CooperHash in #1302
- fix(web): change ui & add infomation display by @newfish-cmyk in #1296
- doc: mongo native writing to await mode by @nightwhite in #1297
- doc: change the LAF API login step in actions by @nightwhite in #1300
- doc: add international English section by @nightwhite in #1308
- fix(runtime): update alipay deps by @juukee in #1306
- doc: change the default url by @nightwhite in #1309
- fix(client-sdk): fix #1282 add polyfill for globalThis by @0fatal in #1295
- fix(web): fix navbar github stars & change bundle billing query by @newfish-cmyk in #1305
- fix(runtime): remove alipay-sdk from runtime by @maslow in #1314
- build(main): add sync image for docker.io/labring by @cuisongliu in #1312
- build(main): add sync image for docker.io/labring by @cuisongliu in #1317
- build(main): add sync image for docker.io/labring by @cuisongliu in #1318
- feat(web): support checking dep detail by jumping to
npmjs
by @0fatal in #1315 - feat(web): support pwa by @0fatal in #1311
- build(main): add bot for laf by @cuisongliu in #1319
- fix(web):fix body params storage by @newfish-cmyk in #1320
- feat(server): add
message
field for AccountChargeReward by @0fatal in #1321 - doc: update Readme by @nightwhite in #1322
- feat(web): add recommend template & change ui by @newfish-cmyk in #1323
- fix(web): reset package list when reopen modal &&
Restarting
->Starting
for app stopped by @0fatal in #1324 - fix(server): sort resource options by created time by @maslow in #1327
- fix(web): fix search query hooks by @newfish-cmyk in #1328
- feat(client-sdk): support taro request by @seewhy163 in #1325
- fix(web): fix ignore case & use template by @newfish-cmyk in #1329
- fix(server): add recommended function templates and limits for function templates by @HUAHUAI23 in #1316
- fix(web): remove casing error direction by @maslow in #1330
- fix(web): fix navigate & func delete & title overflow by @newfish-cmyk in #1331
- fix(server): add length limits for function template name by @HUAHUAI23 in #1333
- fix(server): don't add history when debug function by @0fatal in #1334
- fix(web): fix function template popover by @newfish-cmyk in #1335
- feat(server): support setting custom domain for application by @0fatal in #1310
- feat(web): support setting custom domain for application by @newfish-cmyk in #1338
- build: update client header buffer size for apisix by @maslow in #1341
- refactor(server): separate update of debug info from function update by @0fatal in #1339
- refactor(web): separate update of debug info from function update by @newfish-cmyk in #1340
- fix(web): fix rendering issues when custom domain not exist by @newfish-cmyk in #1342
- feat(web): support function rename by @newfish-cmyk in #1343
- feat(server): support function rename by @HUAHUAI23 in #1336
- fix(server): Fix cross-database issues with function templates by @HUAHUAI23 in #1352
- refactor(web): dashboard entrance text by @LeezQ in #1354
- doc: update ServerDocking.md by @kuangzhibin in #1353
- fix(web):fix header mobile adaptation by @CooperHash in #1351
- feat(cli): app init support schemaOnly by @bingtsingw in #1349
- feat(web): support modifying user info (username, phone, avatar) by @newfish-cmyk in #1356
- feat(server): support modifying user info (username, phone, avatar) by @0fatal in #1355
- feat(web): add balance info at header by @LeezQ in #1359
- fix(web): header width by @LeezQ in #1361
- fix(web): fix toast & bill overflow by @newfish-cmyk in #1362
- fix(cli): get website id by
_id
property by @bingtsingw in #1360 - chore(web): sort bundles with createdAt & add copytext on… by @newfish-cmyk in #1366
- fix(web): auto flush cache from service worker by @0fatal in #1367
- fix(web): storage file list hidden (#1363) by @yuedanlabs in #1364
- fix(web): fix function template darkmode & fix function spacing by @newfish-cmyk in #1369
- feat(serve): add account center by @HUAHUAI23 in #1370
- feat(web): add billing center by @newfish-cmyk in #1371
- fix(web): delete unused api by @newfish-cmyk in #1372
- feat(web): the collection supports Mongo where statements. by @NMTuan in #1374
- fix(web): Type error "strict" by @NMTuan in #1377
- chore: add auto updater for sync-upstream.yml by @wl4g in #1376
- refactor(web): modify the redirection after signup to dashboard & add a loading state for the query by @newfish-cmyk in #1375
- fix(web): delete repeated component & fix usersetting & fix billing unit by @newfish-cmyk in #1378
- fix(server): add invite code chargeOrder invite code profit settings by @HUAHUAI23 in #1379
- feat(server): function templates add user avatar support by @HUAHUAI23 in #1380
- fix(server): fix invite code profit settings by @HUAHUAI23 in #1383
- refactor(server): date String type to number by @HUAHUAI23 in #1384
- fix(web): fix ui & date range by @newfish-cmyk in #1382
New Contributors
- @geeknonerd made their first contribution in #1238
- @0fatal made their first contribution in #1250
- @CooperHash made their first contribution in #1302
- @cuisongliu made their first contribution in #1312
- @kuangzhibin made their first contribution in #1353
- @bingtsingw made their first contribution in #1349
- @wl4g made their first contribution in #1376
Full Changelog: v1.0.0-beta.9...v1.0.0-beta.10
Migration Guides
Update sys_db
to support autoscaling of applications:
db.ApplicationBundle.updateMany({}, {
$set: {
autoscaling: {
enable: false,
minReplicas: 1,
maxReplicas: 5,
targetCPUUtilizationPercentage: null,
targetMemoryUtilizationPercentage: null,
},
}
})
Update sys_db
to support invitation bonus:
db.Setting.insertOne({
public: true,
key: 'invitation_profit',
value: 500,
desc: "Set up invitation rebate"
})
Update laf-server & laf-web images:
# upgrade laf SERVER
kubectl set image deployments/laf-server -n laf-system \
laf-server=docker.io/lafyun/laf-server:1.0.0-beta.10
# upgrade laf WEB
kubectl set image deployments/laf-web -n laf-system \
laf-web=docker.io/lafyun/laf-web:1.0.0-beta.10
Update sys_db
to upgrade runtime images
// runtime version
const version = "1.0.0-beta.10"
// const version = "1.0.0-beta.10"
const main_image = `docker.io/lafyun/runtime-node:${version}`
const init_image = `docker.io/lafyun/runtime-node:${version}`
db.Runtime.updateOne({ latest: true }, {
$set: {
version: version,
image: {
main: main_image,
init: init_image
}
}
})
db.Runtime.find().pretty()