diff --git a/.changeset/curly-radios-visit.md b/.changeset/curly-radios-visit.md index 4832ad34d..c578c8550 100644 --- a/.changeset/curly-radios-visit.md +++ b/.changeset/curly-radios-visit.md @@ -14,5 +14,7 @@ Add a new `@trigger.dev/ai` package with: - rejection of invisible separator wrappers around otherwise valid `baseURL` values (for example `\u200B...` and `\u2060...`) - support for trimming additional unicode wrapper whitespace (`\u1680`, `\u3000`) while still rejecting values that normalize to empty after trimming +- expanded unicode whitespace handling coverage to include figure space (`\u2007`) and medium + mathematical space (`\u205F`) for both wrapper trimming and internal-whitespace rejection - deterministic baseURL validation error ordering for multi-issue inputs (internal whitespace → protocol → query/hash → credentials) - explicit default `baseURL` behavior (`https://api.trigger.dev`) and case-insensitive `HTTP(S)` protocol acceptance diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index 2b9044b21..deade890e 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -30,6 +30,8 @@ - Clarified that invisible separator characters are rejected even when wrapped around an otherwise valid `baseURL`. - Added explicit test/docs coverage for additional unicode-trimmable wrappers (`\u1680`, `\u3000`) and confirmed empty-after-trim values still throw `baseURL must not be empty`. +- Expanded unicode whitespace coverage with `\u2007` (figure space) and `\u205F` (medium mathematical space) + across internal-whitespace rejection, wrapper trimming acceptance, and empty-after-trim validation. - Documented that `HTTP://` and `HTTPS://` are accepted (case-insensitive protocol matching). - Added deterministic validation ordering for multi-issue baseURL values (internal whitespace → protocol → query/hash → credentials).