Differences Between SuiteScript 2.0 and SuiteScript 2.1
SuiteScript 2.1 uses a different runtime engine than SuiteScript 2.0 and supports ECMAScript language features that are not supported in SuiteScript 2.0. Some capabilities in SuiteScript 2.0 scripts will function differently when the script is executed using SuiteScript 2.1.
Here are some key differences between SuiteScript 2.0 and 2.1:
-
SuiteScript 2.1 scripts are debugged using the browser debugger instead of the SuiteScript debugger. For more information about debugging SuiteScript 2.1 scripts, see Debugging SuiteScript 2.1 Scripts.
-
The N/llm Module and the N/pgp Module are only supported in SuiteScript 2.1. The N/crypto/random Module, when used in server scripts, is also only supported in SuiteScript 2.1.