[Looking for Charlie's main web site?]

Breaking change in CF2021, new date format mask of D may be serious problem for old code

Note: This blog post is from 2020. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.
(I've revised this post since its original writing, the week after CF2021 came out. I've tried to help it make better sense for those reading it in the years to follow, as it will affect us in future releases as well.)

It turns out that with the release of CF2021, Adobe introduced a breaking change...if you use any of the CF tags or functions that use date formatting masks. The problem is that while a capital "D" value used in such mask used to simply mean the same as a lower-case "d" ("day of month"), the change in CF2021 is that "D" now means instead "day of YEAR"! That can be a devastating problem that might lurk for days or weeks, corrupting your data.

TLDR; You have two solutions:

  • you can choose either find and change the affected code (not easy but using techniques shared below)
  • or you can implement a new JVM arg that Adobe offers to revert this behavior back to how things worked before CF2021 (discussed below), which still applies in CF2023 and beyond

If you're affected, you must do one or the other of these things. For more, read on.

[....Continue Reading....]

Be aware that updates to ColdFusion 2016 will end Feb 2021

Note: This blog post is from 2020. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.
Are you still running ColdFusion 2016? Did you know that its "core" support (meaning, public updates from Adobe) will end in just a couple of months, Feb 21 2021? Same for CFBuilder 2016.

The recent release of CF2021 is a great sign for the continued vitality of CF, but this looming deadline is a reminder that as the years roll on, we not only get new versions but we say good-bye to old ones.

Wondering what you can do? or when CF2018 or CF2021 support ends? And what's the difference between "core" and paid Adobe support plans? For more on these, as well as official Adobe documentation that discusses such things, read on.

[Update: CF2016 users got a "reprieve" of sorts, when Adobe released updates to CF2021 and 2018 in March 2021, and they also offered the final update to CF2016, update 17, especially because it address a security vulnerability. Sadly, some of the changes in the update--not related to the security fix--were "breaking" changes. For more on that update, see the Adobe blog post from March 2021.)

[....Continue Reading....]

The many new and improved features in CF2021

Note: This blog post is from 2020. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.
You may have heard that the newest version of CF has been released, ColdFusion 2021. If you've not yet taken a look at what's new, you may be very surprised to find how much there is: from substantial support for several cloud services, to significant changes in CF installation/configuration/deployment, to dozens of new language features, as well as single sign on/SAML support, new kinds of databases supported, several enhancements to the PMT, cf admin-related changes, and more.

As with each CF release, there are features great and small--ones that may "sell" it, and ones that may simply make your life easier.

This is a follow-up to my post from last month, Getting started with "Project Stratus" public beta, aka CF2021. In that I highlighted some key info one would need to get started USING the prerelease, which came out in August, but I only briefly mentioned then some of the key new features. (I also explained why I had referred even then to it being CF2021, given info I'd found in the prerelease.)

In this post, I want to highlight more clearly what those new features are, nearly 60 of them in several categories!--just with a brief mention of the feature and perhaps its sub-features--and most important with a pointer to where to find them discussed in far more detail.

[....Continue Reading....]

Copyright ©2025 Charlie Arehart
Carehart Logo
BlogCFC was created by Raymond Camden. This blog is running version 5.005.
(Want to validate the HTML in this page?)

Managed Hosting Services provided by
Managed Dedicated Hosting