What's New With 6.5.x

July 9th, 2021

Compatibility Notes

Please note that the following ticket corrects behavior in ColdBox that MIGHT affect interceptors that have injected dependencies that have the same name as application helper methods from other modules.

Example:

component 
{

    // inject cbauth so we can use it in our interceptor
    property name="auth" inject="provider:authenticationService@cbauth";

    function preProcess( event ) {

        writeDump( auth.isLoggedIn() );

    }

}

The interceptor above has a dependency of auth from the cbauth module. However, the cbauth module also has an application helper called auth. So at runtime, this will throw an exception:

Routines cannot be declared more than once.
The routine auth has been declared twice in different templates.

ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.

This is because now we can't inject the cbauth mixin because we already have a cbauth dependency injected. The resolution, is to RENAME the injection variables so they don't collide with module application helpers.

6.5.2 Release Notes - July 14, 2021

Regression

6.5.1 Release Notes - July 12th, 2021

Bug

Improvement

6.5.0 Release Notes - July 9th, 2021

Bugs

COLDBOX-1021arrow-up-right fix lastBusinessDay tests to reflect if the now is the actual last business day of the month

COLDBOX-1020arrow-up-right ColdBox does not allow for non-existent client cookies when using Flash RAM

COLDBOX-1019arrow-up-right ACF 2021 introduced getTimezone() so we need to be specific when getting timezones in the scheduler or else it fails

COLDBOX-1016arrow-up-right CF-2018 stats.lastResult is null when task->call have runEvent("xxxx")

COLDBOX-1015arrow-up-right Element cleaner not matching on query strings due to misordering of map keys. Use a TreepMap to normalize ordering so event caching and view caching cleanups can ocur.

COLDBOX-1014arrow-up-right response object cached response was never used, rely on the master bootstrap ColdBox cache response header

COLDBOX-1013arrow-up-right RendererEncapsulator overwrites view()-Method from FrameworkSupertype

COLDBOX-1010arrow-up-right this.nullSupport = true breaks coldbox

COLDBOX-1008arrow-up-right ScheduleTask listeners are only testing for isClosure() and lambdas return false, so do an or check for isCustomFunction() to support lambdas

COLDBOX-1007arrow-up-right scheduled task doesn't listen to when() in Scheduler.cfc

COLDBOX-1004arrow-up-right Custom matchers debug() function not found since it's injected in isolation

COLDBOX-1003arrow-up-right Scheduler service DI constructor argument was using the string literal instead of the string value for the scheduler name

COLDBOX-1002arrow-up-right added this scope to getTimezone() to address issue with ACF-2021 bif

COLDBOX-1001arrow-up-right category not logged correctly in async loggers

Improvements

COLDBOX-1023arrow-up-right Readjustments to fail fast and reloading procedures when there are exceptions and reiniting becomes impossible.

COLDBOX-1018arrow-up-right Enable proxy to use the ColdBox app key defined in the bootstrap instead of hard coding it

COLDBOX-1017arrow-up-right Delay loadApplicationHelpers() in interceptors so modules can contribute udf helpers and even core interceptors can load them.

COLDBOX-1012arrow-up-right Move coldbox inited flag to after after aspects load, so we can make sure all modules are loaded before serving requests

COLDBOX-1009arrow-up-right RESTHandler capture JWT TokenException to authentication failures

Last updated

Was this helpful?