Blog

ColdBox 5.2.0 Released!

Luis Majano October 18, 2018

Spread the word

Luis Majano

October 18, 2018

Spread the word


Share your thoughts

What's New With 5.2.0

ColdBox 5.2.0 is a minor version update with lots of fixes, improvements and some new features not only to the ColdBox core but to LogBox and WireBox standalone versions alike. Below are the major areas of improvement and the full release notes. To update your installations just issue the commands below with CommandBox:

  • update coldbox - Update ColdBox Platform
  • update logbox - Update standalone LogBox
  • update wirebox - Update standalone WireBox

ColdBox


The major areas of improvement for the ColdBox core where on tons of fixes, however there are some nice new features discussed below.

Bugs

  • [COLDBOX-597] - Function addAsset generate wrong link if asset path contains ".js"
  • [COLDBOX-668] - Make implicit views case sensitive by default for linux systems
  • [COLDBOX-677] - HTML HELPER - Fix a requirement for columnName if column is defined
  • [COLDBOX-696] - Passing headers to `request` breaks RoutingService when in test mode
  • [COLDBOX-724] - Add ENV overload in detectEnvironment() via ENVIRONMENT system setting/property
  • [COLDBOX-726] - setNextEvent does not exist in coldbox.system.web.Controller
  • [COLDBOX-727] - fail fast strong typed to boolean, update to allow custom closures/lambdas
  • [COLDBOX-729] - getRenderData\(\) in base test case was not looking at the right request collection
  • [COLDBOX-732] - Fail fast can't be turned off for original behavior of ColdBox 4
  • [COLDBOX-736] - Module mappings disappear when not unloading ColdBox in base test case
  • [COLDBOX-738] - Clear not working on string builders: Use setLength\(0\) since clear is not a method on StringBuilder
  • [COLDBOX-740] - When using group\(\)operations with a handler and no explicit handler routing call added, route never registered the handler

New Features

  • [COLDBOX-722] - New global directive: autoMapModels which if true, it will map all root models just like modules do.

This will allow root models to behave like modules where all models are registered automatically for you but with no namespace.

  • [COLDBOX-737] - toAction() terminator is missing from the new router DSL

This terminator was missing from the new Routing DSL. This will allow you to build up routes that terminate at an action.

  • [COLDBOX-720] - Register config/Router.cfc as an interceptor

The main application router and ALL module routers are now also interceptors.

Improvements

  • [COLDBOX-730] - Implicitly pass args from renderLayout() into the rendered views
  • [COLDBOX-739] - List modules which have already been processed when a module cannot be activated to help with debugging

LogBox


Bugs

  • [LOGBOX-29] - when using async option on FileAppender, nothing logs, well now it does!

New Features

  • [LOGBOX-31] - Add defaultValue arguments to getProperty() methods on abstract appenders

Improvements

  • [LOGBOX-30] - Leave off text "ExtraInfo: " from console appender if empty string

WireBox


Bugs

  • [WIREBOX-76] - Virtual inheritance not injecting generic getters and setters correctly on target objects
  • [WIREBOX-77] - Virtual inheritance not inheriting init from super class

Improvements

  • [WIREBOX-51] - Add method to binder to override alias of current mapping, by passing the current mapping to the influencer closure
  • [WIREBOX-75] - Don't exclude path in parent mapping destinations
  • [WIREBOX-78] - Simplify error message for missing dependency to be human readable

Add Your Comment

Recent Entries

Mastering Events and Listeners in CBWIRE

Mastering Events and Listeners in CBWIRE

In CBWIRE, events and listeners are the backbone of building responsive, modular applications without relying heavily on JavaScript. This guide walks you through setting up and using CBWIRE events to create seamless interactions between components, from dispatching events in CFML and frontend templates to listening with Alpine.js and JavaScript. Learn how to make your applications feel dynamic and engaging by effortlessly connecting components. Whether you’re triggering events to update a dashboard or targeting specific parts of your app with dispatchTo, these techniques will empower you to create a modern, interactive CFML experience with ease.

Grant Copley
Grant Copley
November 11, 2024
10 Key Benefits of Hiring a Specialized ColdFusion Consulting Team

10 Key Benefits of Hiring a Specialized ColdFusion Consulting Team

ColdFusion remains a powerful and versatile platform for building dynamic web applications. However, keeping your ColdFusion environment optimized, secure, and scalable requires specialized expertise. Whether managing a long-standing ColdFusion application or planning new development projects, hiring a dedicated ColdFusion consulting and support team can be a game-changer for CTOs, CIOs, and developers. Here's why:

1. Expert Guidance on ColdFusion Web Development

...

Cristobal Escobar
Cristobal Escobar
November 08, 2024
ColdBox Free Tip 5 - Building Named Routes with a Struct

ColdBox Free Tip 5 - Building Named Routes with a Struct

**Did you know ColdBox provides flexible ways to build routes using structs?** In this tip, we’ll cover how to use the `event.buildLink()` and `event.route()` methods for named routes, a feature that’s especially handy when working with dynamic URLs.

Maria Jose Herrera
Maria Jose Herrera
November 07, 2024