Skip to content

Commit b994d27

Browse files
authored
Merge pull request #1701 from benore/cf2025updates
Deprecation Cleanup: Mark Removed Features for ColdFusion 2025
2 parents 4f1239b + 73f0e6f commit b994d27

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

data/en/cfhttp.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"result":""
5757
},
5858
{
59-
"title": "Alternate Script Syntax (CF9+)",
59+
"title": "Alternate Script Syntax (CF9+). Removed in ColdFusion 2025.",
6060
"description": "",
6161
"code": "httpService = new http(method = \"GET\", charset = \"utf-8\", url = \"https://www.google.com/\");\r\nhttpService.addParam(name = \"q\", type = \"url\", value = \"cfml\");\r\nresult = httpService.send().getPrefix();\r\nwriteDump(result);",
6262
"result": ""

data/en/cfhttpparam.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"result":""
2929
},
3030
{
31-
"title": "Alternate Script Syntax (CF9+)",
31+
"title": "Alternate Script Syntax (CF9+). Removed in ColdFusion 2025.",
3232
"description": "",
3333
"code": "httpService = new http(method = \"POST\", charset = \"utf-8\", url = \"https://www.google.com/\");\r\nhttpService.addParam(name = \"q\", type = \"formfield\", value = \"cfml\");\r\nresult = httpService.send().getPrefix();\r\nwriteDump(result);",
3434
"result": ""

data/en/cfmail.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
"code": "<cfset myQuery = queryNew( \"recipient,lastname,firstname\" )>\n<cfset queryAddRow( myQuery, { recipient = \"[email protected]\", lastname = \"Doe\", firstname = \"John\" }) />\n\n<cfmail to=\"#recipient#\" from=\"[email protected]\" subject=\"Example email\" query=\"myQuery\">\n Dear #lastname#,\n\n Text here, containing any variable in the myQuery scope.\n</cfmail>"
396396
},
397397
{
398-
"title": "Script syntax using new mail()",
398+
"title": "Script syntax using new mail(). Removed in ColdFusion 2025.",
399399
"description": "CF9+ The cfmail features are also available through the mail component.",
400400
"code": "savecontent variable=\"mailBody\" {\n writeOutput( \"Your Email Message!!\" );\n};\n\n// Create and populate the mail object\nmailService = new mail(\n to = \"[email protected]\",\n from = \"[email protected]\",\n subject = \"Example email\",\n body = mailBody\n);\n\n// Send\nmailService.send();"
401401
},

data/en/cfquery.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
},
6565
{
6666
"title": "Script Syntax using new Query()",
67-
"description": "This syntax was implemented by script-based components in CF 9 & 10. It is superseded by queryExecute() in CF11.",
67+
"description": "This syntax was implemented by script-based components in CF 9 & 10. Deprecated in ColdFusion 2018. Removed in ColdFusion 2025. It is superseded by queryExecute() in CF11.",
6868
"code": "queryObj = new Query(\r\n name=\"qryDemo\",\r\n datasource=\"mydatasourcename\",\r\n sql = \"SELECT col1, col2\r\n FROM myTable\r\n WHERE id=:id\"\r\n); \r\nqueryObj.addParam(name=\"id\",value=arguments.id, cfsqltype=\"cf_sql_integer\");\r\nresultset=queryObj.execute().getResult();",
6969
"result": ""
7070
},

data/en/htmleditformat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
"engines": {
2727
"coldfusion": { "docs": "https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-h-im/htmleditformat.html",
28-
"minimum_version": "", "notes": "Use encodeForHTML, which can provide more protection from XSS.", "deprecated" : "11" },
28+
"minimum_version": "", "notes": "Use encodeForHTML, which can provide more protection from XSS.", "deprecated" : "11" , "removed":"2025"},
2929
"lucee": { "docs": "https://docs.lucee.org/reference/functions/htmleditformat.html",
3030
"minimum_version": "", "notes": "" },
3131
"openbd": { "docs": "http://openbd.org/manual/?/function/htmleditformat",

data/en/parameterexists.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{"name":"parameter","description":"A syntactically valid parameter name.","required":true,"default":"","type":"string","values":[]}
1010
],
1111
"engines": {
12-
"coldfusion": {"minimum_version":"", "notes":"This function is deprecated, but is still available for backward compatibility. Use StructKeyExists() or IsDefined() functions instead.", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/parameterexists.html", "deprecated":"6"}
12+
"coldfusion": {"minimum_version":"", "notes":"This function is deprecated, but is still available for backward compatibility until ColdFusion 2025. Use StructKeyExists() or IsDefined() functions instead.", "docs":"https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/parameterexists.html", "deprecated":"6", "removed":"2025"}
1313
},
1414
"links": [
1515

0 commit comments

Comments
 (0)