New and changed functions/tags in Adobe ColdFusion (2016 release)

This document lists new and changed functions/tags in Adobe ColdFusion (2016 release).

New functions

SpreadsheetAddRows

There is a new parameter, includeColumnNames, in this function. For more information, see SpreadsheetAddRows function description and examples.

ReplaceList

There is a new parameter, includeEmptyFields, in this function. For more information, see ReplaceList function description and examples.

cfapplication

There are two new attributes in the <cfapplication> tag:

  1. passArrayByReference
  2. searchImplicitScopes

For more information, see cfapplication.

cfsearch

The verity types, simple, explicit, internet, internet_basic, and natural no longer exist. There are two new verity types, Standard and DisMax, in the tag. For more information, see cfsearch.

cfloop

There is a new attribute, item, in <cfloop>. The attribute, index, is now optional.

For more information, see cfloop.

cfmailparam

There is a new, optional attribute, filename, in cfmailparam.

For more information, see cfmailparam.

cfoutput

There is a new, optional attribute, encodefor in this tag.

For more information, see cfoutput.

cfpdf

In Adobe ColdFusion (2016 release), you can use two additional 256-bit encryption algorithms when protecting a PDF document. The algorithms are:

  1. AES_256R5
  2. AES_256R6

For more information, see cfpdf.

CacheRemove

The CacheRemove function has an updated syntax:

CacheRemove(Object id, boolean throwOnError, String key, boolean exact)

For more information, see CacheRemove.

TimeFormat

The TimeFormat function has new masks to represent time zones in different formats. For more information, see TimeFormat function description and examples.

DateFormat

The DateFormat function has new masks to represent time zones in different formats. For more information, see DateFormat function description and examples.

Replace

The Replace function has an updated description and syntax. This function can take either string or callback function as an argument instead of the argument to replace the string. For more information, see Replace function description.

StructNew

The function has a new parameter, structType, that represents the type of struct to be created.

For more information, see StructNew.

WriteOutput

The function, WriteOutput, has a new parameter, encodefor. encodefor applies encoding on the input string.

For more information, see WriteOutput.

CreateDateTime

In the Adobe ColdFusion (2016 release), you can use the CreateDateTime function in the following ways:

  • CreateDateTime(year)
  • CreateDateTime(year, month)
  • CreateDateTime(year, month, day)
  • CreateDateTime(year, month, day, hour)
  • CreateDateTime(year, month, day, hour, minute)
  • CreateDateTime(year, month, day, hour, minute, second)

For more information, see CreateDateTime.

New member functions

Member Functions allow variables of certain CFML data types to be treated as objects with functions.

For a list of new member functions in Adobe ColdFusion (2016 release), see Member functions.

Other changes

All services in the services folder work as expected only if you create a virtual directory. Create a virtual directory that points to the path of the services folder (/CFIDE/services/).

When accessing the ColdFusion services via the connector port, replace "/CFIDE/services/" in the WSDL url with the name of the  virtual directory. For example, http://localhost:82/cfideserv/image.cfc?wsdl, where cfideserv is the name of the virtual directory.

Get help faster and easier

New user?