v3.2.0
Features
- New export
VERIFICATION_BLOCKED_REASONS— frozen enum of the reasons a runtime verification was attempted but could not complete (no-working-invocation,needs-auth-context,no-test-data,classic-only-no-assets,destructive-unsafe). - New optional entry fields documented on
FUNCTIONS:isConfirmed,verificationBlocked,verificationBlockedReason,differsFromOfficialDocs,officialDocsNote, andvalidArities(exact permitted argument counts for a discontinuous overload; currently unused by any AMPscript function).
Bugfixes
Concatnow hasminArgs: 1(was2) andrepeat.minGroups: 1— a single-argument call is valid at runtime. Parameters acceptstring|number|date.- Math functions
Add,Subtract,Multiply,Divide,ModandRandomwidened their parameter types fromnumbertostring|number— a numeric string is accepted and yields the same result as a numeric literal. Length,LowercaseandUppercasewidenedsourceStringfromstringtostring|number|date.RandomflaggeddiffersFromOfficialDocs— the official reference allows decimal bounds, but every decimal bound aborts the page at runtime; only whole-number bounds are usable.Dividereturn description now documents that a zero divisor does not raise an error (infinity symbol /NaNinstead of a failure).Modreturn description now documents that the result takes the sign of the dividend and a zero divisor yieldsNaN.Lengthreturn description now documents that the count is in UTF-16 code units, so characters outside the Basic Multilingual Plane count as 2.Uppercasedescription now documents that the German sharp s is left unchanged rather than expanding toSS.
Chores
README.mddocumentsVERIFICATION_BLOCKED_REASONS, the verification-state fields, andvalidArities.- 10 functions marked
isConfirmed: trueafter runtime verification:Add,Subtract,Multiply,Divide,Mod,Random,Concat,Length,Lowercase,Uppercase.
Full Changelog: v3.1.1...v3.2.0