December 15, 2020
What CF2021 giveth, CF2021 taketh away for now it seems. Some new features on hold?
Comments
(10)
December 15, 2020
What CF2021 giveth, CF2021 taketh away for now it seems. Some new features on hold?
ColdFusion troubleshooter
Legend 100 posts
Followers: 73 people
(10)

I’ve not heard an official word on this from Adobe, but I can report that there are a few features that were “new” in CF2021, whose doc links HAD worked when the release first came out, but now the doc links get a 404.

The implication seems to be that the feature, while still “in” CF currently, is one that’s been put “on hold” for some reason, as if perhaps we should not use them. Maybe they may be removed, or maybe it’s just some temporary problem and a subsequent CF2021 update will fix whatever’s amiss with them (and then Adobe would add back the docs links).

Until there’s official word, I wanted to point these out (for the sake of completeness), as of Dec 15, 2020:

  • AWS Lambda/serverless intergration (not only are the docs gone, but so is the download for the serverless zip needed to use it)
  • bcrypt and scrypt  functions (unlike the serverless feature, these are of course still IN your CF2021 install, just no longer documented for now)
  • Has anyone found any others?

Finally, here is at least one more feature which was indicated as new in the prerelease (and is even now listed in the CF docs page on AWS features), but I’ve not been able to find documentation for it:

  • Amazon Simple Email Service (SES)

If you may find that these doc links are now “working” as you read this post in weeks/months to come, please let me know (see my site link below, which offers contact info) and I’ll update this accordingly.


For more blog content from Charlie Arehart, see his posts here as well as his posts at carehart.org. And follow him on Twitter and other social media as carehart.

10 Comments
2020-12-16 23:06:41
2020-12-16 23:06:41

Peter, it really does work. I found your bug report, and have added a comment there.

You were using returntype=”json”. That’s not valid. It’s either “json/array” or “json/struct”. Doh! 🙂 See the docs: https://helpx.adobe.com/cy_en/coldfusion/cfml-reference/coldfusion-tags/tags-p-q/cfquery.ug.html

BTW, I just found in checking that out that indeed json/struct and struct are valid values. I’d not seen them mentioned in the other “what’s new” docs for CF2021, so that’s a nice bonus. And I have confirmed, Peter, that they do also work. 🙂

Like
2020-12-16 20:58:48
2020-12-16 20:58:48

CFQUERY result as JSON does not work at all. Filed a bug but Adobe closed it…

Like
(6)
>
Peter Tilbrook
's comment
2020-12-16 21:43:05
2020-12-16 21:43:05
>
Peter Tilbrook
's comment

Peter,

Aayushi replied to the bug with a usage, also we will document this. Here is her comment.

Please use returntype=”array” or “json/array” or “struct” or “json/struct” or “query”. Will update the same in the document.

Like
(1)
>
Priyank Shrivastava
's comment
2020-12-16 23:14:38
2020-12-16 23:14:38
>
Priyank Shrivastava
's comment

Hi, Priyank. Thanks for stepping in. I offered my reply to Peter above before I noticed you had replied here.

As for you saying Aayushi “replied to the bug”, do you really mean the one which I found Peter had filed, https://tracker.adobe.com/#/view/CF-4210904? I didn’t (and still don’t) see anyone else commenting on it besides me. But maybe he had another bug on this same matter?

Finally, as for how you may “update the same in the document”, do you mean the bug report or the docs? If the former, I did that in my comment on the bug. If you mean the latter (the docs), it’s already correct (the CFML Reference).

Like
>
Priyank Shrivastava
's comment
2020-12-16 23:16:49
2020-12-16 23:16:49
>
Priyank Shrivastava
's comment

In fact, Priyank, what I’d love to hear from you (or anyone at Adobe) are any thoughts on the real point of the blog post, how the previously existing docs for bcrypt/scrypt and CF support for AWS Lambda have been removed, and what that means in the near and long term. 🙂 But I realize you may feel you don’t have the authority to speak on it publicly, for now.

Like
>
Priyank Shrivastava
's comment
2020-12-21 02:17:34
2020-12-21 02:17:34
>
Priyank Shrivastava
's comment

Hi Priyank

Thanks for the return types.  Looking at the documentation (https://helpx.adobe.com/cy_en/coldfusion/cfml-reference/coldfusion-tags/tags-p-q/cfquery.ug.html), I don’t see “struct” or “json/struct” listed under “returnType”.   If I hadn’t seen this thread I would not have known they were there.  Will they be added to the help page in the list of values?

Thanks

Like
>
Grae Desmond
's comment
2020-12-21 02:25:46
2020-12-21 02:25:46
>
Grae Desmond
's comment

Hi,

I can see that under returntype.

<cfquery
name = "query name"
blockFactor = "block size"
cachedAfter = "date"
cacheID = "ID"
cacheRegion = "region"
cachedWithin = "timespan"
disableAutoGenKeys="true|false"
dataSource = "data source name"
dbtype = "query"
debug = "yes|no"
fetchClientInfo = "yes|no"
maxRows = "number"
ormoptions = #orm options structure#
password = "password"
result = "result name"
timeout = "seconds"
username = "user name"
returnType="array | json/array | query | struct | json/struct">
</cfquery>

 

Like
>
Priyank Shrivastava
's comment
2020-12-21 02:49:21
2020-12-21 02:49:21
>
Priyank Shrivastava
's comment

Yep, Dakuwan. And fwiw, I had commented above (that same day Priyank did) pointing out both those additional arguments AND the doc link where they ARE indeed offered.

And I expressed the same surprise as you, that I’d not heard of them until I found them (in offering that comment in reply to Peter, and before seeing Priyank’s here that day).

Like
2020-12-16 14:03:22
2020-12-16 14:03:22

Interesting. I just blogged about Paul Kuliel’s demonstration on how to implement AWS Lambda/serverless integration using Fuseless at the MMCFUG. I was looking forward to comparing what I learned from that session to how Adobe’s solution differs. Looking forward to seeing these resources republished!

Like
(1)
(1)
>
1AndyPeterson
's comment
2020-12-16 14:09:43
2020-12-16 14:09:43
>
1AndyPeterson
's comment

Yep, Andy. It was actually in following up with him after viewing that that I first noticed the issue.

Then I saw the MoD podcast mention of Wil’s shiftinsert.nl blog post on using Java bcrypt that I wanted to point to the cf2021 addition of that…and googling it got a 404 on the result found, and I confirmed the link I had for bcrypt in my 2021 features post also fsiled.

Those prompted the post.

Let’s see if we hear further news.

Like
Add Comment