Upcoming ColdFusion update - Pre-release announcement

Mike's Notes

An important announcement from Adobe ColdFusion pre-release.

Resources

References

  • Reference

Repository

  • Home > Ajabbi Research > Library > ColdFusion

Last Updated

26/04/2025

Upcoming ColdFusion update - Pre-release announcement

By: Adobe
Adobe: 25/04/2025

We’re announcing an important change in the upcoming ColdFusion update that enhances the reliability and consistency of remote function calls. 

Install the update

* Launch the ColdFusion Administrator. 

* Select Package Manager. 

* In the Settings tab, make the following changes:

* Change the update URL to

If https://www.adobe.com/go/coldfusion-pr-updates doesn't launch, use

as the update URL.

* Change the package URL for your ColdFusion version:

* Select Submit changes after updating the update and package URLs. 

* In the Packages tab, select Check for Updates. The pre-release update will be available.  

* Download or install the update. 

What’s changing 

Remote CFC methods will now require strict argument matching 

Going forward, if a remote method expects certain parameters, those arguments must be explicitly declared using the cfargument tag or defined directly in the function signature. 

For example, if a remote function is defined to accept two arguments, it must only receive those two. Passing more than the declared number (for example, 10) will result in an error. This change ensures stricter method integrity and a better debugging experience. 

This behaviour change applies only to remote CFC methods.

Sample code 

test.cfc

<cffunction name="test1" output="true" returnFormat="json" access="remote">
  <cfscript>
   if (isAdmin)
     {
       writeoutput("Yay. You are the admin.")
     }
  </cfscript>
 </cffunction>

The output will produce an exception, because function test1 does not support isadmin as an argument in test.cfc.

Modify the code as follows to resolve the exception:

<cfargument name="isadmin" type="boolean" required="true"></cfargument>

New JVM flag introduced

We’ve added a new JVM flag called

-Dcoldfusion.runtime.udf.matchArguments

that allows you to revert this behaviour if needed.

The flag is set to true by default, which enforces strict argument matching.

For the above example, setting

-Dcoldfusion.runtime.udf.matchArguments=false

will allow the application code to work as earlier.

For security reasons, we strongly advise against reverting to previous behaviour. Please update your code accordingly.

Fixes coming soon

We’ve also noted issues reported in previous updates. The official update, which will be released shortly, will address these.

Your feedback matters

We encourage you to test your applications with this pre-release and verify any remote CFC usage.

Please share your feedback, findings, or concerns with us by 2 May 2025. Your input will help us fine-tune the final release.

Thank you for being a valued part of the ColdFusion community!

Reply to this email directly or follow the link below to check it out:

https://forums.adobeprerelease.com/coldfusionnext/discussion/92/upcoming-coldfusion-update-pre-release-announcement

No comments:

Post a Comment