Document expanded unicode whitespace coverage in release notes

Co-authored-by: Eric Allam <eric@trigger.dev>
This commit is contained in:
Cursor Agent
2026-02-15 06:48:51 +00:00
parent a9fd2930f4
commit cc0b1d6dd0
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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
+2
View File
@@ -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).