ColdFusion MX 7 Released

Macromedia released ColdFusion MX 7 overt the past weekend. The release, code named blackstone, is according to Macromedia "the most significant release of ColdFusion since its inception 10 years ago"

New Features in ColdFusion MX 7

  • Printable web content - generate PDFs or FlashPaper from HTML documents
  • Flash & XML Forms - build forms with flash or XForms
  • Improved Text Search / Verity - category search, and spell checking
  • Strong Encryption - support for AES, Blowfish, DES, and Triple-DES encryption
  • Cross-Site-Scripting Attack Prevention
  • NT Domain Authentication
  • Administrator API - cfml scripting access to coldfusion admin
  • Event Gateways - build asynchronous application events, sms, and more
  • New CFCHART Engine
  • New Reporting Engine
  • and more

Comments

sigh

Pity they still don't support ';' as CGI parameter separator in their URL parser. I'm not sure that one counts as a bug as such, but I've found one undisputable bit of breakage already; try:


 form.foo=1;
 bar=structcopy(form);
 structdelete(bar, 'foo');
 writeoutput(form.foo); // bang!

I've reported it and got the usual autoresponder reply, which is likely as far as it'll get ;)

Still, having skipped CF6 altogether for a variety of reasons, we're going to migrate our servers from CF5 just as soon as we can be sure we don't break any customers' sites in the process...

StructCopy copies by reference

StructCopy will copy the form structure by reference see StructCopy docs, so that is the expected outcome. I think you want to look at the Duplicate function.

hash copying

No: AIUI, it should do a shallow copy. Modifying the value of a hash element should carry over; deleting a key in one copy shouldn't (else why not just do foo=form;?) It behaves as it should (and as it did with form in CF5) if you run the same code on an arbitrary struct.