Skip to content

Commit 25ea212

Browse files
@W-19450863 feat: Site ID regex and prompt updated for correctness & clarity (#3410)
* Site ID prompt has been updated for correct clarity * update regex * update change log * update change log * revert prompt text * Update CHANGELOG.md Signed-off-by: sf-henry-semaganda <henry.semaganda@salesforce.com> --------- Signed-off-by: sf-henry-semaganda <henry.semaganda@salesforce.com>
1 parent 41e2490 commit 25ea212

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/pwa-kit-create-app/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
## v3.14.0-dev (Oct 20, 2025)
3+
- Prompt text for Site ID should match actual validation: Site ID may contain uppercase or lowercase letters, numbers, hyphens, or underscores. - Updated Site ID validator regex to allow both uppercase and lowercase letters for improved compatibility, clarity. [#3410] (https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3410)
4+
15
## v3.14.0-dev (Sep 26, 2025)
26

37
## v3.13.0 (Sep 25, 2025)

packages/pwa-kit-create-app/program.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@
726726
"name": "Valid Site ID",
727727
"description": "Ensures the Site ID is valid.",
728728
"message": "Valid characters are alphanumeric, hyphen, or underscore",
729-
"regex": "^[a-z0-9_-]+$"
729+
"regex": "^[A-Za-z0-9_-]+$"
730730
},
731731
{
732732
"id": "validShortCode",

0 commit comments

Comments
 (0)