From 289183ec5354ff9dbc6e7a55fe8443e8f8c3ebb3 Mon Sep 17 00:00:00 2001 From: Corie Watson Date: Tue, 2 Jun 2026 16:12:34 +0100 Subject: [PATCH 1/2] fix: allow periods in storage path validation regex Updated path validation regex to allow periods in storage paths for storage-reverse-image-search, storage-transcode-videos, and storage-label-videos extensions. Resolves #667 --- storage-label-videos/extension.yaml | 4 ++-- storage-reverse-image-search/extension.yaml | 2 +- storage-transcode-videos/extension.yaml | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/storage-label-videos/extension.yaml b/storage-label-videos/extension.yaml index df0b4c19..1cbe0f8f 100644 --- a/storage-label-videos/extension.yaml +++ b/storage-label-videos/extension.yaml @@ -108,7 +108,7 @@ params: videos from. type: string example: /video_annotation_input/ - validationRegex: ^\/([0-9a-zA-Z_\/\-]*\/){0,1}$ + validationRegex: ^\/([0-9a-zA-Z_.\-\/]*\/){0,1}$ validationErrorMessage: Invalid storage folder name default: /video_annotation_input/ required: true @@ -120,7 +120,7 @@ params: stored. type: string example: /video_annotation_output/ - validationRegex: ^\/([0-9a-zA-Z_\/\-]*\/){0,1}$ + validationRegex: ^\/([0-9a-zA-Z_.\-\/]*\/){0,1}$ validationErrorMessage: Invalid storage folder name default: /video_annotation_output/ required: true diff --git a/storage-reverse-image-search/extension.yaml b/storage-reverse-image-search/extension.yaml index 581f72a3..c49119cb 100644 --- a/storage-reverse-image-search/extension.yaml +++ b/storage-reverse-image-search/extension.yaml @@ -212,7 +212,7 @@ params: empty, the root of the bucket will be used. type: string example: root/images - validationRegex: ^[\w-]+(\/[\w-]+)*$ + validationRegex: ^[\w.-]+(\/[\w.-]+)*$ validationErrorMessage: Invalid path immutable: true diff --git a/storage-transcode-videos/extension.yaml b/storage-transcode-videos/extension.yaml index 6decd853..af1c3562 100644 --- a/storage-transcode-videos/extension.yaml +++ b/storage-transcode-videos/extension.yaml @@ -87,7 +87,7 @@ params: videos from. type: string example: /video_transcoding_input/ - validationRegex: ^\/([0-9a-zA-Z_\/\-]*\/){0,1}$ + validationRegex: ^\/([0-9a-zA-Z_.\-\/]*\/){0,1}$ validationErrorMessage: Invalid storage folder name default: /video_transcoding_input/ required: true @@ -99,7 +99,7 @@ params: be output to. type: string example: /video_transcoding_output/ - validationRegex: ^\/([0-9a-zA-Z_\/\-]*\/){0,1}$ + validationRegex: ^\/([0-9a-zA-Z_.\-\/]*\/){0,1}$ validationErrorMessage: Invalid storage folder name default: /video_transcoding_output/ required: true @@ -109,7 +109,7 @@ params: description: > A template id for populating a job configuration. example: preset/web-hd - validationRegex: ^[a-zA-Z0-9\/\-_]+$ + validationRegex: ^[a-zA-Z0-9\/\-_.]+$ validationErrorMessage: Must be an alphanumeric string. Dashes, underscores and forward slashes are also allowed From bb57238393e34ca467a23ffe4828b2ebbc5e6636 Mon Sep 17 00:00:00 2001 From: Corie Watson Date: Tue, 2 Jun 2026 16:25:10 +0100 Subject: [PATCH 2/2] chore: bump versions and update changelogs storage-reverse-image-search: 0.1.11 -> 0.1.12 storage-transcode-videos: 0.0.5 -> 0.0.6 storage-label-videos: 0.1.6 -> 0.1.7 --- storage-label-videos/CHANGELOG.md | 4 ++++ storage-label-videos/extension.yaml | 2 +- storage-reverse-image-search/CHANGELOG.md | 4 ++++ storage-reverse-image-search/extension.yaml | 2 +- storage-transcode-videos/CHANGELOG.md | 4 ++++ storage-transcode-videos/extension.yaml | 2 +- 6 files changed, 15 insertions(+), 3 deletions(-) diff --git a/storage-label-videos/CHANGELOG.md b/storage-label-videos/CHANGELOG.md index 9dbcc8e8..895b2e61 100644 --- a/storage-label-videos/CHANGELOG.md +++ b/storage-label-videos/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 0.1.7 + +fix: allow periods in storage path validation for INPUT_VIDEOS_PATH and OUTPUT_PATH parameters + ## Version 0.1.6 chore: bump runtime to Node.js 22 diff --git a/storage-label-videos/extension.yaml b/storage-label-videos/extension.yaml index 1cbe0f8f..4d616aad 100644 --- a/storage-label-videos/extension.yaml +++ b/storage-label-videos/extension.yaml @@ -1,5 +1,5 @@ name: storage-label-videos -version: 0.1.6 +version: 0.1.7 specVersion: v1beta displayName: Label Videos with Cloud Video AI diff --git a/storage-reverse-image-search/CHANGELOG.md b/storage-reverse-image-search/CHANGELOG.md index 2a9983e5..d58bd36b 100644 --- a/storage-reverse-image-search/CHANGELOG.md +++ b/storage-reverse-image-search/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 0.1.12 + +fix: allow periods in storage path validation for IMG_PATH parameter + ## Version 0.1.11 chore: bump runtime to Node.js 22 diff --git a/storage-reverse-image-search/extension.yaml b/storage-reverse-image-search/extension.yaml index c49119cb..817620f2 100644 --- a/storage-reverse-image-search/extension.yaml +++ b/storage-reverse-image-search/extension.yaml @@ -1,5 +1,5 @@ name: storage-reverse-image-search -version: 0.1.11 +version: 0.1.12 specVersion: v1beta icon: icon.png diff --git a/storage-transcode-videos/CHANGELOG.md b/storage-transcode-videos/CHANGELOG.md index 4ee18948..46a5017b 100644 --- a/storage-transcode-videos/CHANGELOG.md +++ b/storage-transcode-videos/CHANGELOG.md @@ -1,3 +1,7 @@ +## Version 0.0.6 + +fix: allow periods in storage path validation for INPUT_VIDEOS_PATH and OUTPUT_VIDEOS_PATH parameters + ## Version 0.0.5 chore: bump runtime to Node.js 22 diff --git a/storage-transcode-videos/extension.yaml b/storage-transcode-videos/extension.yaml index af1c3562..c0a47527 100644 --- a/storage-transcode-videos/extension.yaml +++ b/storage-transcode-videos/extension.yaml @@ -1,5 +1,5 @@ name: storage-transcode-videos -version: 0.0.5 +version: 0.0.6 specVersion: v1beta displayName: Transcode Videos on Google Cloud Storage