What's New With 6.5.x
July 9th, 2021
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:[email protected]";
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.Regression
ColdBox HMVC
CacheBox
LogBox
COLDBOX-1021 fix
lastBusinessDay
tests to reflect if the now is the actual last business day of the monthCOLDBOX-1019 ACF 2021 introduced
getTimezone()
so we need to be specific when getting timezones in the scheduler or else it failsCOLDBOX-1015 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-1014 response object cached response was never used, rely on the master bootstrap ColdBox cache response header
COLDBOX-1008
ScheduleTask
listeners are only testing for isClosure()
and lambdas return false, so do an or check for isCustomFunction() to
support lambdasCOLDBOX-1003 Scheduler service DI constructor argument was using the string literal instead of the string value for the scheduler name
COLDBOX-1023 Readjustments to fail fast and reloading procedures when there are exceptions and reiniting becomes impossible.
COLDBOX-1018 Enable proxy to use the ColdBox app key defined in the bootstrap instead of hard coding it
COLDBOX-1017 Delay
loadApplicationHelpers()
in interceptors so modules can contribute udf helpers and even core interceptors can load them.COLDBOX-1012 Move coldbox inited flag to after after aspects load, so we can make sure all modules are loaded before serving requests
Last modified 1yr ago