From 465d19bf29a202799bac0c7f87035d3223acde7a Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Thu, 22 Jan 2026 22:44:31 -0600 Subject: [PATCH 1/2] Replace processState with announce in HyperRequest `processState` is removed in Coldbox 8 --- models/HyperRequest.cfc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/HyperRequest.cfc b/models/HyperRequest.cfc index 58cb7fd..70dbdcf 100644 --- a/models/HyperRequest.cfc +++ b/models/HyperRequest.cfc @@ -1100,7 +1100,7 @@ component accessors="true" { if ( variables.useAnnounceMethodForInterceptorService ) { variables.interceptorService.announce( "onHyperRequest", { "request" : this } ); } else { - variables.interceptorService.processState( "onHyperRequest", { "request" : this } ); + variables.interceptorService.announce( "onHyperRequest", { "request" : this } ); } try { @@ -1120,7 +1120,7 @@ component accessors="true" { } ); } else { - variables.interceptorService.processState( + variables.interceptorService.announce( "onHyperResponse", { "response" : res, From 2f7fbfba9c6af9341bf594320a3983c451cff28a Mon Sep 17 00:00:00 2001 From: jclausen Date: Fri, 23 Jan 2026 04:45:19 +0000 Subject: [PATCH 2/2] Apply cfformat changes --- models/HyperRequest.cfc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/models/HyperRequest.cfc b/models/HyperRequest.cfc index 70dbdcf..2fe8f3a 100644 --- a/models/HyperRequest.cfc +++ b/models/HyperRequest.cfc @@ -1110,7 +1110,10 @@ component accessors="true" { callback( res ); } - param variables.useAnnounceMethodForInterceptorService = structKeyExists( variables.interceptorService, "announce" ); + param variables.useAnnounceMethodForInterceptorService = structKeyExists( + variables.interceptorService, + "announce" + ); if ( variables.useAnnounceMethodForInterceptorService ) { variables.interceptorService.announce( "onHyperResponse",