Skip to content

Commit cc0b1d6

Browse files
Document expanded unicode whitespace coverage in release notes
Co-authored-by: Eric Allam <eric@trigger.dev>
1 parent a9fd293 commit cc0b1d6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.changeset/curly-radios-visit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ Add a new `@trigger.dev/ai` package with:
1414
- rejection of invisible separator wrappers around otherwise valid `baseURL` values (for example `\u200B...` and `\u2060...`)
1515
- support for trimming additional unicode wrapper whitespace (`\u1680`, `\u3000`) while still rejecting
1616
values that normalize to empty after trimming
17+
- expanded unicode whitespace handling coverage to include figure space (`\u2007`) and medium
18+
mathematical space (`\u205F`) for both wrapper trimming and internal-whitespace rejection
1719
- deterministic baseURL validation error ordering for multi-issue inputs (internal whitespace → protocol → query/hash → credentials)
1820
- explicit default `baseURL` behavior (`https://api.trigger.dev`) and case-insensitive `HTTP(S)` protocol acceptance

packages/ai/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
- Clarified that invisible separator characters are rejected even when wrapped around an otherwise valid `baseURL`.
3131
- Added explicit test/docs coverage for additional unicode-trimmable wrappers (`\u1680`, `\u3000`) and
3232
confirmed empty-after-trim values still throw `baseURL must not be empty`.
33+
- Expanded unicode whitespace coverage with `\u2007` (figure space) and `\u205F` (medium mathematical space)
34+
across internal-whitespace rejection, wrapper trimming acceptance, and empty-after-trim validation.
3335
- Documented that `HTTP://` and `HTTPS://` are accepted (case-insensitive protocol matching).
3436
- Added deterministic validation ordering for multi-issue baseURL values
3537
(internal whitespace → protocol → query/hash → credentials).

0 commit comments

Comments
 (0)