After configuring the function, submitting the code, and passing the online test, you can fix the version of the function by publishing the version to avoid errors or execution failures of your online business caused by subsequent modification and testing of the code. You can publish a version at any time, and in all releases, the
$LATEST version is always the latest version.
A function has the
$LATESTversion attribute upon its creation. The
$LATESTversion points to the currently editable version and is always present and editable.
- When the release is submitted, the SCF platform will generate a copy of the configuration and code content of the current
$LATESTversion of the function and save it as version content.
- After a version is published, the version number of the release will be generated, which starts from 1 and increases progressively with each release. The version number has no upper limit.
- The published version only records and fixes the configuration and code of the current
$LATESTversion of the function but not the trigger configuration of the function. A newly published function version does not have any triggers.
Contact our sales team or business advisors to help your business.
Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.
Was this page helpful?