wx-server-sdk Changelog

View Markdown

Last edited on 2026-08-24

2.5.4

  1. F Fixed the geoNear return value issue

2.4.0

  1. U Update: Optimized the display of error messages

2.3.0

  1. A Added support for Environment Sharing related APIs

2.2.0

  1. A Added the getCloudCallSign API

2.1.2

  1. U Updated Updated node-sdk dependency to 2.1.1

2.1.1 (2020.06.04)

  1. A Added the virtual payment sandbox environment interface for Mini Games

2.1.0 (2020.06.03)

  1. A Added Mini Game virtual payment capabilities
  2. A Added multi option to Database update and delete APIs

2.0.2 (2020.05.06)

  1. A Added WeChat Pay capabilities
  2. A Added Cloud Function grayscale release capabilities

1.8.3 (2020.04.03)

  1. A Added the definition file index.d.ts

1.8.0 (2020.01.03)

  1. U Update: Cloud API openapi now supports disabling automatic conversion between camelCase and snake_case.

1.7.0 (2019.12.24)

  1. A Added Database Transaction API
  2. U Updated: Node 8 or lower runtime environments are no longer supported. Use Node 8 or higher for local debugging with the Developer Tools

1.6.0 (2019.12.12)

  1. A Added support for using DYNAMIC_CURRENT_ENV in the timer trigger

1.5.3 (2019.11.08)

  1. U Updated the tcb-admin-node dependency to 1.16.2, fixing an issue where cloud calls used within triggers might fail

1.5.0 (2019.10.23)

  1. A Added logger method, supporting advanced logging

1.4.0 (2019.10.21)

  1. A Added not and expr operators

1.3.1 (2019.10.14)

  1. F Fixed an issue where the push operator accepts array parameters

1.3.0 (2019.10.14)

  1. A Added query operators: all, elemMatch, exists, size, mod
  2. A Added update operators: push, pull, pullAll, addToSet, rename, max, min
  3. A Added aggregation pipeline stage: lookup
  4. A Added pipeline operators available for the lookup stage in aggregation pipelines

For details, see the Database API list

1.2.2 (2019.10.11)

  1. F Fixed the issue where initiating a cloud call would fail when using DYNAMIC_CURRENT_ENV

1.2.1 (2019.09.16)

  1. A Added multiple query and projection operators for the database

1.1.1 (2019.09.12)

  1. A Added constant DYNAMIC_CURRENT_ENV

v0.8.1 (2019.07.01)

  1. A Added database aggregation capability Details

0.7.0 (2019.06.28)

  1. A Added getWXContext returns a new SOURCE field indicating the original source of the cloud function call

v0.6.0 (2019.05.30)

  1. A Added support for retrieving the current environment via getWXContext within Cloud Functions Details

v0.5.1(2019.05.15)

  1. F Fixed an issue causing some tmp secret key expired errors
  2. A Added server-side calls for Cloud API Details
  3. A Added open data calls for Cloud API Details

v0.2.2 (2019.03.22)

  1. A Added support for the Cloud Development Database Location API

0.0.24 (2018.10.29)

  1. A Added support for regular expression queries in the database.

0.0.22 (2018.10.24)

  1. U Updated callOpenAPI to no longer require the event parameter

0.0.21 (2018.10.19)

  1. Added getWXContext API to retrieve the WeChat call context, including APPID, OPENID, and UNIONID

0.0.11 (2018.08.30)

  1. U Update callFunction to return requestID

0.0.9 (2018.08.19)

  1. U Updated the input parameters for getTempFileURL

0.0.7 (2018.08.16)

  1. A Added basic capabilities for Cloud Development Database, Cloud Functions, and File Storage