ColdFusion has gone through various language enhancements that will provide a better development experience for ColdFusion developers. The core CFML language enhancements in ColdFusion 11 includes new language constructs, extended tag support, enhanced script functions, and support for new operations.
This document provides an overview on the language enhancements and changes made in ColdFusion 11.
See Elvis operator.
Currently, ColdFusion supports passing objects in callback function. Now, from ColdFusion 11, you can pass the index of an array to the callback function. See ArrayEach.
A new function, ListEach, has been introduced. See ListEach.
A new function, QueryGetRow, has been introduced. See QueryGetRow.
You can start using the <cfquery> tag in client-side CFML just like how you are currently using it in server-side CFML code. Note that not all of the <cfquery> features are supported in this release.
Added script support for cfimport based prefix custom tag. Now you can use prefix based custom tag in script block without any issue.
<cfscript> cfimport(taglib=" ../importFolder/" prefix="myTags"); myTags:customTag(); </cfscript> customTag.cfm <cfoutput > Output from custom tag </cfoutput>