Changelog
[3.9.2] 2026-11-09
- [Added] login: Append
allowNoEnv=trueto auth links uniformly (withAllowNoEnvadded ingetAuthUrlhook, compatible with both direct/dev#/cli-authand/login?_redirect_uriredirect forms; when_redirect_uriis not the last parameter, only rewrite its value without swallowing outer parameters; skip when self-built auth endpointendpointis non-empty), accounts without environment are no longer blocked by auth page, decoupling login from environment: login completes on success, without environment only print hint (for domestic site give environment creation addressbuy.cloud.tencent.com/lowcode?buyType=tcb, for international site temporarily keep original console entry) and detect other regions to distinguish 'no environment in current region' hint-r <region>from 'no environment for account' giving creation address; simultaneously change missing envId error text to hint using-e <envId>to specify ortcb env listto view, and addenv_check/no_envreporting fortcb_cli_login_step - [Fixed] env: Align usage query with 19 modules of console 'Feature Usage Overview': add missing
CBF/Gateway/CLS/EO/STORAGE_EO/CI(whereCLSlogs were previously missed), mergeAPIInvocation+HTTPInvocationintoGatewayto avoid duplicate environment invocation billing, return0instead of error for unopened modules; change--typehelp list to generate fromUSAGE_MODULES(originally iteratingMODULE_NAME_MAPwould cause inconsistency)
[3.9.1] 2026-11-05
-
[Added] logs: Add
-m, --module <module>parameter fortcb logs search(accepted valuesfunction/tcbr/database/rdb/model/workflow/automation/auth/llm/app/gateway/http-gateway/cloudbase-api/mini-app-api); when-qis not passed, fetch default query string per module fromMODULE_QUERIES(e.g.functionchanged fromlog:"START RequestId*"tolog:"Report RequestId*"); extend display layer from three categories (cloud function/cloud run/general) to render separately by 14 resource types; move call aggregation judgment from page-level to row-level, mixed log-q '*'correctly distinguishes call view and log list, and its--jsonoutput changes from call array to rawLogResults(meta.returnCountconsistent with human-readable format); change--limitfrom silent truncation byparseIntto strict integer validation, and change log service activation timeout error code fromAPI_ERROR/netErrortoLOG_SERVICE_TIMEOUT -
[Fixed] report: Fix invalid identity prompt text
cloudbase login→tcb login; moveenvIdinjection before login state validation (avoid missing environment identifier in error events like "no valid identity information", and do not inject empty string when-enot specified); addmethoddimension to login funneltcb_cli_login_step(web/key/cloudbase_api_key, uniformly mapped by newresolveLoginDimension, key/API Key login no longer recorded asdevice); when declarative deployment partially fails, reporttcb_cli_errorwith addedDEPLOY_PARTIAL_FAILEDandexit_code -
[Fixed] env: Add
PostgreSQLandTokento module list fortcb env usage/tcb env info --type(USAGE_MODULES/MODULE_NAME_MAPeach add two items,METRIC_NAME_MAPaddsPostgreSQL'sHourlyCU/HourlyStorage,Tokenexpands by model toInputToken./OutputToken./CacheToken.<model>)
[3.9.0] 2026-11-03
- [Added] db: Add PostgreSQL Realtime management commands
tcb db pg realtime enable/tcb db pg realtime get/tcb db pg realtime set(setonly sends explicitly specified config items;--jsonmust be used with--yes; error wrapper passes throughmessageandrequestIdand is compatible withRequestId,ERROR_TYPESaddsmissingParam) - [Fixed] Fix false update prompt reporting a new version identical to current after upgrade (both reading and writing cache now compare remote
latestwithpkg.versionusingsemver.gt, no longer relying oninfo.typeordistTagfallback values) - [Changed] BREAKING app: Remove implicit build from declarative deploy
tcb deploy(app/hosting only upload existing artifacts); consolidate build totcb app build/tcb app deploy;buildCommand/installCommand/frameworkincloudbaserconly used to infer artifact directory and no longer executed; reportBUILD_OUTPUT_NOT_FOUNDwhen artifacts missing, addbuildAppOutputInfo(root/outputDir) to app item inplanunder--json, upgrade dependency@cloudbase/manager-nodefrom~5.9.0to~5.10.0