Skip to content

Conversation

@FinleyGe
Copy link
Collaborator

@FinleyGe FinleyGe commented Jan 14, 2026

Note

Releases 4.14.6 with wide infra, API, and UI updates.

  • Deploy/Docs: Bump all FastGPT images to v4.14.5.1; add upgrade docs (41451), update ToC/meta; project app version -> 4.14.6.
  • WeCom integration: New OAuth wecom, WeCom team metadata, “isWecomTeam” in responses; add WeCom payment (BillPayWayEnum.wecom) with payUrl; UI adapts (billing tips, publish options filtered, contact modal).
  • File uploads by plan/env: New .env UPLOAD_FILE_MAX_SIZE/AMOUNT; feConfigs.uploadFileMaxSize/Amount now required and used across multer, S3 presigned URLs, and UI; i18n updates; limits shown in selectors.
  • Tool/template targeting: Add promoteTags/hideTags and user tags (e.g. wecom) to filter visibility and auto-install priority; admin/openapi/types extended.
  • Team lifecycle: New BullMQ teamDelete queue and processor to purge team resources; increased delete job retention.
  • OpenAPI additions: Plugin access token schemas, WeCom login redirect and corp token, team change owner; wallet bill response extended (payUrl, metadata).
  • UX/bug fixes: Better date picker (portal/outside click), robust file extension parsing via path.extname, remove stray LLM system fields, numerous i18n and UI tweaks; deps bumped (undici, tar, etc.).

Written by Cursor Bugbot for commit e8bd933. This will update automatically on new commits. Configure here.

FinleyGe and others added 3 commits January 11, 2026 22:05
* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

Co-authored-by: archer <545436317@qq.com>
* fix: system secret

* chore: update docs
@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Preview mcp_server Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_mcp_server_e8bd933c727f9f81579991f63489d96a66249a21

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Preview sandbox Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_sandbox_e8bd933c727f9f81579991f63489d96a66249a21

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Docs Preview:


🚀 FastGPT Document Preview Ready!

🔗 👀 Click here to visit preview

* feat: wecom integration (#6234)

* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

Co-authored-by: archer <545436317@qq.com>

* feat: system tool config tags (#6257)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

---------

Co-authored-by: archer <545436317@qq.com>
@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 25.74% 18765 / 72880
🔵 Statements 25.74% 18765 / 72880
🔵 Functions 38.17% 583 / 1527
🔵 Branches 71.45% 1993 / 2789
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/global/core/plugin/admin/tool/type.ts 0% 0% 0% 0% 1-40
packages/global/core/plugin/tool/type.ts 0% 0% 0% 0% 1-59
packages/global/openapi/core/plugin/admin/tool/api.ts 0% 100% 100% 0% 2-89
packages/global/openapi/plugin/api.ts 0% 0% 0% 0% 1-11
packages/global/openapi/support/user/account/login/wecom/api.ts 0% 0% 0% 0% 1-9
packages/global/openapi/support/user/team/api.ts 0% 0% 0% 0% 1-7
packages/global/openapi/support/wallet/bill/api.ts 0% 0% 0% 0% 1-130
packages/global/openapi/support/wecom/api.ts 0% 0% 0% 0% 1-10
packages/global/support/user/constant.ts 100% 100% 100% 100%
packages/global/support/user/type.ts 100% 100% 100% 100%
packages/global/support/wallet/bill/constants.ts 100% 100% 100% 100%
packages/global/support/wallet/sub/type.ts 0% 0% 0% 0% 1-118
packages/service/common/bullmq/index.ts 33.65% 100% 0% 33.65% 49-68, 71-135
packages/service/core/app/delete/index.ts 72.41% 100% 50% 72.41% 11-18
packages/service/core/app/templates/templateSchema.ts 100% 100% 100% 100%
packages/service/core/app/tool/controller.ts 5.36% 100% 0% 5.36% 68-134, 137-580, 584-677, 680-687
packages/service/core/dataset/delete/index.ts 0% 0% 0% 0% 1-42
packages/service/core/plugin/tool/systemToolSchema.ts 100% 100% 100% 100%
packages/service/support/permission/auth/plugin.ts 0% 0% 0% 0% 1-25
packages/service/support/permission/auth/pluginAccessToken.ts 0% 0% 0% 0% 1-63
packages/service/support/user/controller.ts 67.39% 40% 50% 67.39% 6-14, 30-33, 38-39
packages/service/support/user/schema.ts 95.94% 66.66% 66.66% 95.94% 81-83
packages/service/support/user/team/controller.ts 25.8% 75% 33.33% 25.8% 61-66, 70-71, 78-251
packages/service/support/user/team/teamMemberSchema.ts 95.31% 66.66% 100% 95.31% 72-74
packages/service/support/user/team/teamSchema.ts 95.89% 50% 100% 95.89% 73-75
packages/service/support/user/team/delete/index.ts 0% 0% 0% 0% 1-41
packages/service/support/user/team/delete/processor.ts 0% 100% 100% 0% 3-146
packages/service/support/user/team/delete/utils.ts 0% 0% 0% 0% 1-41
packages/service/support/wallet/sub/utils.ts 30.96% 26.66% 21.42% 30.96% 26-27, 29-30, 35, 56, 62-79, 94, 107-120, 126-149, 174-259, 263-287, 289-291, 293-308, 310-314, 319-341, 343-345, 347-349, 354-356
projects/app/src/pages/api/admin/initv4146.ts 0% 0% 0% 0% 1-101
projects/app/src/pages/api/core/app/template/list.ts 0% 100% 100% 0% 2-126
projects/app/src/pages/api/core/app/tool/getSystemToolTemplates.ts 0% 100% 100% 0% 2-65
projects/app/src/pages/api/core/plugin/admin/tool/detail.ts 0% 0% 0% 0% 1-69
projects/app/src/pages/api/core/plugin/admin/tool/update.ts 0% 0% 0% 0% 1-101
projects/app/src/pages/api/core/plugin/team/list.ts 0% 100% 100% 0% 2-71
projects/app/src/pages/api/plugin/getAccessToken.ts 0% 0% 0% 0% 1-25
projects/app/src/pages/api/support/user/account/loginByPassword.ts 97.4% 91.66% 100% 97.4% 48-49
projects/app/src/service/common/bullmq/index.ts 0% 0% 0% 0% 1-15
projects/app/src/web/support/user/team/api.ts 0% 0% 0% 0% 1-126
Generated in workflow #3526 for commit adac9ca by the Vitest Coverage Report Action

@github-actions
Copy link

github-actions bot commented Jan 14, 2026

Preview fastgpt Image:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-pr:fatsgpt_e8bd933c727f9f81579991f63489d96a66249a21

cursor[bot]

This comment was marked as outdated.

@FinleyGe FinleyGe marked this pull request as draft January 19, 2026 08:11
FinleyGe and others added 2 commits January 20, 2026 15:02
* chore(deps): bump undici from 7.16.0 to 7.18.2 (#6272)

Bumps [undici](https://github.com/nodejs/undici) from 7.16.0 to 7.18.2.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v7.16.0...v7.18.2)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.18.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump undici in /plugins/webcrawler/SPIDER (#6273)

Bumps [undici](https://github.com/nodejs/undici) from 6.21.3 to 6.23.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v6.21.3...v6.23.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.23.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump tar from 7.4.3 to 7.5.3 in /document (#6282)

Bumps [tar](https://github.com/isaacs/node-tar) from 7.4.3 to 7.5.3.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v7.4.3...v7.5.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* perf: remove request invalid field (#6283)

* V4.14.5.1 dev (#6290)

* chore: cherry pick some commits from v4.14.6-dev (#6287)

* fix: custom domain limitation (#6265)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

* chore: docs

* fix password variable & datetime picker (#6276)

* fix password variable & datetime picker

* doc

* chore: cherry pick some commits from v4.14.6-dev (#6287)

* fix: custom domain limitation (#6265)

* fix: system secret (#6259)

* fix: system secret

* chore: update docs

* chore: docs

* doc

* chore: docs

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
Co-authored-by: Finley Ge <finleyge@fastgpt.io>

* perf: extname computed (#6285)

* perf: extname computed

* chore: handle hash or query flags

---------

Co-authored-by: Finley Ge <finleyge@fastgpt.io>

* chore: docs (#6291)

---------

Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: Archer <545436317@qq.com>

* chore: deploy scripts (#6293)

* docs: 41451 upgrade doc (#6294)

* feat: wecom integration (#6234)

* wip: wecom

* feat: template filter by user tag

* feat: wecom pay

* fix: some bug

* fix: zod error

* feat: bill

* fix: bill toast

* feat: forbidden downgrade plan button

* chore(fe): wecom zone

* chore: use queue to delete team instead of a session

* chore: adjust

* feat: wecom bill logic refactor

* perf: plan

* perf: plan

* fix: i18n

* chore: adjust

* feat: adjust

* feat: add wecom config

* perf: wecom app template recommendation & system tool preinstall

* perf: some variable and tip

* update create bill api schema

* update create bill api schema

* update create bill api schema

* feat: wecom

* chore: adjust

* fix: ts

* perf: condition order

* perf: condition order

---------

Co-authored-by: archer <545436317@qq.com>

* feat: system tool config tags (#6257)

* fix: price status (#6279)

* fix: back button (#6281)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Archer <545436317@qq.com>
Co-authored-by: heheer <heheer@sealos.io>
* team plan max file size & count

* fix

* fix

* fix

* perf: presign url

* remove empty check

* remove empty check

* fix: ts

* fix: doc

* fix presign file

* perf: code

* perf: i18n

* fix: remove maxSize attribute

---------

Co-authored-by: archer <545436317@qq.com>
Co-authored-by: Finley Ge <finleyge@fastgpt.io>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

content.map(async (item) => {
// Remove system filed

delete item.key;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Input mutation when removing system fields from content

Medium Severity

The delete item.key statement mutates the original content items passed to parseUserContent. Since map provides references to the original objects (not copies), this side effect modifies the caller's data. If the original content array is reused elsewhere (for retries, logging, or display), those items will unexpectedly be missing their key property. The destructuring pattern const { key, ...rest } = item would remove the field without mutating the input.

Fix in Cursor Fix in Web

nextSubLevel: StandardSubLevelEnum.free,

totalPoints: freePoints,
surplusPoints: freePoints
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wecom expiration time not applied when resetting existing plan

Medium Severity

When resetting an existing free plan, expiredTime is always set to addMonths(new Date(), 1) regardless of isWecomTeam. However, when creating a new plan (line 159), it correctly uses isWecomTeam ? addDays(new Date(), 15) : addMonths(new Date(), 1). This inconsistency means Wecom teams get 1 month instead of the intended 15 days when their existing free plan expires and is reset.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants