An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

FW/1 2.5 is released!

May 25, 2014 · 3 Comments

This is a migration release to pave the way for breaking changes in Release 3.0. All examples have been updated to latest best practices and now use cfcscript exclusively. Examples use DI/1 0.5.0 to manage all beans and services (as framework.ioc), and no longer rely on start/end actions or the service() method.

As always, FW/1 can be downloaded from the FW/1 page on RIAForge. Release 2.5 is now the latest stable release of this framework, as it approaches its fifth birthday!

For a full list of all tickets closed in Release 2.5: https://github.com/framework-one/fw1/issues?milestone=14&page=1&state=closed

Migration from 2.2.1

The service() call has been deprecated, as have start/end action items. Global access to rc in Application.cfc has also been deprecated. If you just drop 2.5 into your setup and you rely on these features, you'll get exceptions explaining how to enable these features for backward compatibility, namely add the following to your framework configuration:

enableGlobalRC = true,
suppressServiceQueue = false

The ability to enable the implicit service calls is still present via:

suppressImplicitService = false

but, like the other two options, defaults to disallowing the deprecated feature.

If you enable these deprecated features, you will no longer get exceptions using them, but you will see deprecation warnings in your application server's console log. This is to remind you to update your code in preparation for 3.0 later this year!

Please note that Release 3.0 will completely remove these backward compatibility options - and the associated deprecated features. In addition, org.corfield.framework will move to framework.one in Release 3.0, alongside framework.ioc.

Tags: coldfusion · di1 · fw1

3 responses so far ↓

  • 1 James Mohler // May 25, 2014 at 11:37 PM

    Which examples include DI/1 ? Is Hello8 where I should be looking?
  • 2 Thierry Nischelwitzer // May 26, 2014 at 4:36 AM

    Thanks a lot for your work. I will update my apps to 2.5
  • 3 Sean Corfield // May 26, 2014 at 9:13 AM

    @James, DI/1 is used in errortest, hello3/4/5/8, qBall, and all three userManager variants now.

Leave a Comment

Leave this field empty