Skip to main content

Update Log

v3.18.0

-[feat] Add API Key authorization support

v3.17.0

  • [fix] Fix the wx request response type issue
  • [feat] Support custom database

v3.16.0

-[feat] Add AI module support

v3.15.0

  • [feat] Support more request methods for callContainer
  • [feat] Add RDB client support

v3.14.0

-[feat] Supports configuring the region parameter to distinguish between domestic and international zones -[feat] Adding MySQL SDK support -[feat] Adding callApis method

v3.4.0

-[add] Added tcb.SYMBOL_DEFAULT_ENV used to specify default environment

v3.1.0

-[add] Added sendTemplateNotification used for sending message notification

v3.0.0

Feature changes:

  1. [change] Node.js >=12, meaning compatibility with lower versions is no longer guaranteed. For product features, the console can consider no longer supporting adding versions below Node.js 12.
  2. [change] In SCF, if no environment ID is specified during initialization, the current SCF environment ID will be used. The original cloud development default environment is no longer used, meaning specifying init({env: SYMBOL_CURRENT_ENV}) is no longer required, but it can still be specified if needed.
  3. [change] keepalive is enabled by default in non-SCF environments

Other changes:

  1. [refactor] Overall refactoring and optimization of code
  2. [refactor] Refactor TS export type, refine type export, directly export DB type definition from @cloudbase/database
  3. [refactor] Update dependency library versions such as axios, jsonwebtoken, xml2js, @cloudbase/signature-nodejs
  4. [refactor] Remove the request package, change to native implementation, address the unmaintained request issue, and optimize request processing logic
  5. [test] Supplement and optimize unit test cases, enhance test coverage

v2.3.0

-[add] Add new updateAndReturn API -[refactor] Refactor the aggregate API

v2.2.5

-[add] Add new getEndUserInfo API

v2.2.4

-[fix] Fix the API for obtaining user information

v2.2.3

-[add] Support key-free calls to cloud development containers

v2.2.1

-[add] Database conditional query, batch insertion supports transaction

v2.1.1

-[fix] Fix the issue where converting undefined to null when the database processes query or data content causes an error

v2.1.0

-[add] Add new method to retrieve all environment variables under SCF getCloudbaseContext -[add] Add new env parameter validation logic. If env is not specified during init, a warning notification will prompt to use the default environment. If env is specified but found empty at the time of request, an error will be thrown. -[add][createticket](/api-reference/server/node-sdk/auth#createTicket) validates whether the environment in the private key matches the designated environment in init. If not the same, error will be reported.

v2.0.2

-[add] Add new extension registration, calling method

v2.0.1

-[fix] Fix exception issues caused by missing transaction ID in the db transaction add API

v2.0.0

-[add] Support new db features & grayscale compatibility

v1.1.1

-[fix] Fix request signature issue in function calls

v1.1.0

-[add] Support function grayscale release -[fix] Fix invalid neq bug in elemMatch

v1.0.2

-[fix] Optimize local debugging logic

v1.0.0

-[add] Migrate tcb admin node sdk feature to this repository