ColdFusion on Wheels Blog


CFWheels 1.4.1 maintenance release

Today sees a small maintenance release for the 1.4.x series

Download 1.4.1 today to fix the following:

Bug Fixes

  • Skip callbacks when running calculation methods  [Adam Chapman, Per Djurner]
  • Fixed rewrite rules so base URL is rewritten correctly on Apache  [Jeremy Keczan, Per Djurner]
  • Removed incorrect path info information set by Apache [David Belanger, Per Djurner]
  • Fixed routing bug when running from a sub folder on Adobe ColdFusion 10 – [Brant Nielsen, Per Djurner]
  • Made sure error emails never depend on application variables being set – [Per Djurner]

Miscellaneous

  • Removed tests folder – [Per Djurner]
  • Updates to framework utility pages – Update logo, Fix links on congrats page to point to new documentation site – [Chris Peters]

Also don’t forget to check the upgrade notes


CFWheels 1.4.0 released, New documentation too..

First, some new announcements

You may have noticed a few changes around here! With the release of 1.4, we’ve taken the opportunity to greatly simplify our web footprint.

  • All documentation now lives on http://docs.cfwheels.org/ (thanks to readme.io). We hope this will allow people to more easily contribute to the fantastic documentation already there; you need a (free) readme.io account, but you should be able to ‘suggest edits’ for any page – feel free to help us out! We’re in the process of adding redirects from the old documentation – please bear with us on this one.
  • You’ll notice the plugin listings are greatly simplified – this is a temporary measure whilst we look at the whole plugin ecosystem generally
  • Downloads now live on the readme.io site at http://docs.cfwheels.org/page/download, but don’t forget you can always get everything at the Git Repo
  • You’ll notice a small change in the cfWheels logo – don’t panic, you’re not going mad, we just thought it might be nice to have something new and shiny to look at.
  • Tom King and Tim Badolato are now part of the Wheels core team. “Per” still does all the actual real work 🙂

Onwards and upwards!

1.4 is released, which brings the usual host of fixes and improvements, most noticeably a few tweaks to get Wheels running with Lucee Server: CFWheels should now correctly identify itself as Lucee in the debug output, and various other (older) Railo specific tweaks should get applied. Note, if you’re ever testing for ‘railo’ in the server scope on Lucee, it will return as true.

A couple of other changes might catch you out too, noticeably removal of the h() function, and “development” now being the default environment mode.

Get 1.4 Now!

Upgrading from 1.3x

  • Replace the entire /wheels/ folder
  • Replace URL rewriting rule files – i.e, /.htaccess, /web.config, /IsapiRewrite4.ini

Release notes:

Model Enhancements

  • Allow spaces in list passed in to the “include” argument on finders – #150 [Per Djurner]
  • Added findOrCreateByProperty, findAllKeys(), findFirst() and findLast() finder methods – [Per Djurner]
  • Add support for “GROUP BY” in sum(), average() etc. – #464 [Per Djurner]
  • Made exists() check for any record when “key” and “where” is not passed in [Per Djurner]
  • Added clearChangeInformation() for clearing knowledge of object changes – #433 [Jeremy Keczan, Per Djurner]
  • Evaluate validation error messages at runtime – #470 [Per Djurner]

View Enhancements

  • Respect blank “text” argument in linkTo() – #365 [Adam Chapman, Tony Petruzzi, Per Djurner]
  • Allow styleSheetLinkTag() and JavaScriptIncludeTag() to reference files starting from the root – [Per Djurner]
  • Added “monthNames” and “monthAbbreviations” arguments to form helpers for easy localization – [Per Djurner]

Controller Enhancements

  • Ability to prepend functions to the filter chain instead of appending – #321 [Per Djurner]
  • Pass in “appendToKey” to caches() to cache content separately – #439 [Per Djurner]
  • Allow external attachments with sendEmail() – [Adam Chapman, Tony Petruzzi]
  • Ability to redirect to a specific URL – [Simon Allard]
  • Option to correct JSON output by passing in x=”string” or x=”integer” to renderWith() – [Per Djurner]

Bug Fixes

  • Fix for blank path_info in CGI scope – #447 [Tim Badolato, Tony Petruzzi, Per Djurner]
  • Fix for accessing request scope key that does not exist from session – #446 [Brent Alexander, Per Djurner]
  • Removed “validate” property that was incorrectly set when calling create() – [Per Djurner]
  • Pass through “parameterize” in exists() [Per Djurner]
  • Do not remove “AS” when it’s in the SQL for a calculated property – #453 [Jean Duteau, Per Djurner]
  • Obfuscate parameters in named route patterns when URL rewriting is off – #455 [Amber Cline, Per Djurner]
  • Pass through “includeSoftDeletes” argument correctly – #451 [Jon Brose]

Miscellaneous

  • Support for the Lucee server – [Tom King]
  • Made “development” the default environment mode – [Per Djurner]
  • Removed deprecation work-around for the “if” argument on validation helpers – [Per Djurner]
  • Removed deprecation work-around for the “class” argument on association initialization methods – [Per Djurner]
  • Removed the “lib” folder – [Per Djurner]
  • Removed the h() function, use XMLFormat() instead – [Per Djurner]

CFWheels 1.3.3 maintenance release

Today, we release the third maintenance release in the 1.3.x series.

Download version 1.3.3 to fix the following bugs:

  • Correct output of boolean HTML attributes using new global booleanAttributes setting
  • Make sure locks cannot be affected by other applications running on the same server
  • Fixed bug with updating an integer column from NULL to 0
  • Fixed potential permissions issue when running on shared hosting

More info in the 1.3.3 CHANGELOG.

If you’re upgrading from 1.3.0+, you just need to replace the wheels folder with the new one from the download. If you’re upgrading from an older version of CFWheels, see the instructions.


CFWheels 1.3.2 maintenance release

Today we release the second maintenance release in the 1.3.x series.

Download version 1.3.2 to fix the following bugs:

  • Fixed regression bug with setting unique id for nested properties
  • Fixed reversed usage for setting option text/value when passing in an array of structs to select() / selectTag()
  • Tableless models should not require dataSourceName – #351
  • Fixed issue with using group by with calculated properties – #89
  • Fixed ORM incorrectly parsing a property value as NULL – #209
  • Fixed bug with application scope when sharing name across applications – #359
  • Fix for removing AS from ORDER BY clause in Microsoft SQL Server – #132
  • Calling valid() will now correctly validate all associations when using nested properties – #284
  • Fixed issue with save()causing callbacks to run twice when using nested properties – #284
  • Fixed race condition issue with caching – #376
  • Fixed number parsing in WHERE strings

More info in the 1.3.2 CHANGELOG.

If you’re upgrading from 1.3.0+, you just need to replace the wheels folder with the new one from the download. If you’re upgrading from an older version of CFWheels, see the instructions.


CFWheels 1.3.1 maintenance release

We have fixed a few bugs discovered by the community after releasing CFWheels 1.3.0 a few weeks ago and packaged them as version 1.3.1.

Behold the major fixes released in version 1.3.1:

  • Fixed issue with calling addFormat() on application start-up.
  • Fixed so that Railo outputs IDs for nested properties as integers instead of exponents.
  • Make sure that IDs for nested properties are unique.

See the v1.3.1 CHANGELOG for a full record of all changes.

To upgrade from 1.3.0, replace the wheels folder in your application with the new one from the zip file. See the instructions if you’re upgrading from an earlier release.

Keep rocking, CFWheels community! \m/


CFWheels 1.3.0 released

After a couple years of work on version 1.2 of CFWheels, we decided to reboot our efforts and simplify.

To mark this new milestone, we are releasing CFWheels version 1.3.0 today. Version 1.3.0 includes many back-ported commits from the 1.2 branch but aims to be a non-breaking upgrade.

If you’re upgrading, review the instructions for upgrading and enjoy some new improvements:

  • Form and view helpers are now more HTML5-friendly. (See the HTML5 data Attributes section of Form Helpers and Showing Errors.)
  • You can now create model components that don’t need a database table behind them. (See the Models Without Database Tables section of Object Relational Mapping.)
  • Application reloading and startup is now thread-safe.
  • 49 new features and bugs were fixed. See the CHANGELOG.

Give 1.3 a spin and submit an issue if you find any bugs. Some plugins may need to be updated, so be sure to work with plugin authors to get 1.3 compatibility going.

There are more exciting changes coming for and from our community. Thank you for your support!


Andy Bellenie to speak at Scotch on the Rocks 2013

Core team member Andy Bellenie is presenting at the Scotch on the Rocks conference this year, held 6-7 June in Edinburgh, Scotland.

There’s an great set of speakers lined up, including Ray Camden (Adobe), Luis Majano (Coldbox), Matt Gifford, Mike Henke, Bruce Lawson (Opera), Guust Nieuwenhuis and many more, not to mention Andy Allan and the guys from Fuzzy Orange who make it all possible.

Andy will be presenting a talk on the use of mindfulness-meditation as a technique for both professional and personal development. He’ll also be flying the flag for CFWheels at the conference and will run a BOF session for newbies and pros alike.

More info on his talk can be found here: http://www.sotr.eu/index.cfm/main/presentation/by/andy_bellenie

And the main conference site is here:
http://www.sotr.eu/


ColdFusion on Wheels 1.1.8 Released

Today, we’re releasing version 1.1.8 of the ColdFusion on Wheels framework. The new version includes bug fixes and minor enhancements. Upgrade today for a more stable application.

To upgrade from version 1.1.x, simply download the zip file and replace your application’s wheels folder with the new one.

For a list of fixes, see the CHANGELOG.


Security Fix for ColdFusion on Wheels 1.1.x and 1.0.x Released

A security vulnerability has been identified in both the 1.1.x and 1.0.x versions of Wheels. In response, the Wheels team is releasing patches for both the current and legacy versions. Version 1.1.7 is to address current version and version 1.0.6 is to address legacy versions.

At this time, we encourage all users of the framework to upgrade as soon as possible. These new versions contain only the patches necessary to close the security vulnerability. No new bug fixes or enhancement features are contained.

The Wheels team would like to thank Pete Freitag of foundeo.com for reporting and helping to patch the security vulnerability.

Download versions 1.1.7 and 1.0.6


ColdFusion on Wheels 1.1.6 Released

Another round of enhancements and bug fixes has been fixed and incorporated into version 1.1.6 of ColdFusion on Wheels. Download it today to increase the stability of your Wheels applications.

Upgrading from 1.1.x is easy. Download the zip file, extract it, and replace your application’s wheels folder with the new wheels folder from the zip file.

Read on for details from the CHANGELOG. Read the rest of this entry »