From 0f778c7895ea2fe9848e42574b93fb2b81213cc3 Mon Sep 17 00:00:00 2001 From: Russel Cole Date: Tue, 9 Jan 2024 10:18:45 +0000 Subject: [PATCH 1/6] [twgit] Init feature 'feature-DATAAPI-27_function-count-does-not-exist-in-the-object'. From e990e9671491f8a7d427ac45d9ad18ec810ebcaf Mon Sep 17 00:00:00 2001 From: Russel Cole Date: Tue, 9 Jan 2024 10:23:14 +0000 Subject: [PATCH 2/6] DATAAPI-27 use isstruct and isemptystruct instead of count() --- services/DataApiQueueService.cfc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/DataApiQueueService.cfc b/services/DataApiQueueService.cfc index 29b3bff..6fa5468 100755 --- a/services/DataApiQueueService.cfc +++ b/services/DataApiQueueService.cfc @@ -174,8 +174,9 @@ component { var actualChanges = {}; for( var recordId in arguments.changedData ) { - if ( arguments.changedData[ recordId ].count() ) { - actualChanges[ recordId ] = arguments.changedData[ recordId ]; + var recordChanges = arguments.changedData[ recordId ]; + if ( isStruct( recordChanges ) && !structIsEmpty( recordChanges ) ) { + actualChanges[ recordId ] = recordChanges; } } From 80174ad15ca24577985af97a018ceb6d1009b1c1 Mon Sep 17 00:00:00 2001 From: Brayden Tan Date: Wed, 20 Mar 2024 08:42:41 +0800 Subject: [PATCH 3/6] [twgit] Init feature 'feature-DATAAPI-28_swagger-docs-expand-api-to-invalid-endpoint-url'. From 3de134f5e04078608205b9d9835bddecd045acd1 Mon Sep 17 00:00:00 2001 From: Seb Duggan Date: Thu, 28 Mar 2024 15:53:53 +0000 Subject: [PATCH 4/6] [twgit] Init hotfix 'hotfix-3.5.9'. From 84913a5975b01dd0b96995033bd118d905a7df66 Mon Sep 17 00:00:00 2001 From: Brayden Tan Date: Tue, 19 Mar 2024 17:08:06 +0800 Subject: [PATCH 5/6] DATAAPI-28 remove docs path from api server url --- services/DataApiSpecService.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/DataApiSpecService.cfc b/services/DataApiSpecService.cfc index 140a009..ba4cb55 100644 --- a/services/DataApiSpecService.cfc +++ b/services/DataApiSpecService.cfc @@ -72,7 +72,7 @@ component { , version = _i18nNamespaced( uri="dataapi:api.version" ) , "x-favicon" = _i18nNamespaced( uri="dataapi:api.favicon", defaultValue="" ) }; - spec.servers = [ { url="#protocol#://#domain#/api#route#" } ]; + spec.servers = [ { url="#protocol#://#domain#/api#ReReplace( route, "/docs$", "" )#" } ]; spec.components = { schemas = {} , headers = {} From 9cbf495ed76b9fd34cf5d5d88cf726657f3641bc Mon Sep 17 00:00:00 2001 From: Seb Duggan Date: Thu, 28 Mar 2024 15:59:25 +0000 Subject: [PATCH 6/6] Changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8604c30..81f56c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v3.5.9 + +* [DATAAPI-27](https://projects.pixl8.london/browse/DATAAPI-27) - Function count does not exist in the object +* [DATAAPI-28](https://projects.pixl8.london/browse/DATAAPI-28) - Swagger docs expand api to invalid endpoint url + ## v3.5.8 * Validated data not passed through on update single record - PUT