anyone know of a (preferably) comprehensive matrix...
# cfml-general
w
anyone know of a (preferably) comprehensive matrix of cfscript tag equivalents per version? that is, a reference that shows whether a script version of a tag, like
savecontent
, was available in a given acf version. have never really found anything useful on this topic
p
cfdocs.org shows the oldest version a tag goes back I believe
w
the script version of a tag?
p
script likely too on there, not sure if there is a distinction
w
i'll check again then, thanks
d
Would be an interesting automation to use commandbox to deploy a version and run a bunch of scripts to see which fail and which don't
👍 3
👍🏾 1
👍🏻 1
t
I don't know of one, but as a rule of thumb, 9 introduced a bunch of them, and then 11 introduced the
cftag()
syntax that covered everything.
✔️ 2
b
example cfdocs... https://cfdocs.org/cfhttp It tells you the cfengines that can use it and the versions that introduced it. As you scroll through the parameters, it tells you which versions have or added it and, at the end, it shows tag and cfscript examples and which versions those started.
That's not to say every single tag is that complete on there... but I usually find that kind of version info on CFdocs when I care.
👍 1
It would be cool if all that showed up in the cfml extenion's cfdoc info when mousing over tags/functions.
w
agreed. i know you can set the version in the settings in vscode, but not clear to me whether that actually restricts the function insight to just that version or less
actually, maybe it's the linter that has that setting
b
can't say I've ever used that setting so not sure.