v3.3.0
Breaking Changes
- Removed the speculative
mcnHandlebarsGapfield fromFUNCTIONS. Consumers should rely onhandlebarsEquivalenttogether with the newhandlebarsExactflag instead.
Features
- Added a
handlebarsExactboolean toFUNCTIONS:truemarks a direct, argument-for-argument Handlebars drop-in,falsemarks an approximate mapping that needs a manual-rewrite hint. - Added the
AMPSCRIPT_OPERATORSexport, mapping AMPscript symbolic operators (==,!=,>,>=,<,<=,=) to their Handlebars equivalents. - Extended
AMPSCRIPT_KEYWORDSwithhandlebarsEquivalentandhandlebarsNote, mapping control-flow and logical keywords (var/set,if,for,and,or,not) to Handlebars helpers. - Added new
handlebarsEquivalentmappings for content, data, rowset, date and null-handling functions, each tagged with the appropriatehandlebarsExactvalue. - Added an optional
sfmcGuideUrlfield linking catalog entries to the corresponding reference pages.
Changed
ContentBlockByKeynow maps approximately to thegetContentBlockHandlebars helper (handlebarsExact: false);ContentBlockByIDandContentBlockByNameremain unmapped becausegetContentBlockresolves by alphanumeric key rather than numeric ID or name.- Marked 51 additional AMPscript functions as runtime-verified, including Math, String, Date/Time and Encryption/Encoding families, plus
AuthenticatedEmployeeID.
Full Changelog: v3.2.0...v3.3.0