Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Improve Zod error messages and user config error messages

#12634Merged
Comparing
chris/better-error-messages
(
2170904
) with
main
(
22e405a
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
4
New
0
Dropped
0
Ignored
2

Benchmarks

Passed

Rendering: streaming [false], .astro file
benchmark/bench/codspeed.bench.js::Bench rendering::Rendering: streaming [false], .astro file
CodSpeed Performance Gauge
0%
1.5 s
1.5 s
Rendering: streaming [true], .astro file
benchmark/bench/codspeed.bench.js::Bench rendering::Rendering: streaming [true], .astro file
CodSpeed Performance Gauge
0%
1.4 s
1.4 s
Rendering: streaming [true], .md file
benchmark/bench/codspeed.bench.js::Bench rendering::Rendering: streaming [true], .md file
CodSpeed Performance Gauge
0%
12.8 ms
12.8 ms
Rendering: streaming [false], .md file
benchmark/bench/codspeed.bench.js::Bench rendering::Rendering: streaming [false], .md file
CodSpeed Performance Gauge
-2%
14.4 ms
14.7 ms

Ignored

Rendering: streaming [false], .mdx fileIgnored
benchmark/bench/codspeed.bench.js::Bench rendering::Rendering: streaming [false], .mdx file
CodSpeed Performance Gauge
-34%
729.8 ms
1,107.9 ms
Rendering: streaming [true], .mdx fileIgnored
benchmark/bench/codspeed.bench.js::Bench rendering::Rendering: streaming [true], .mdx file
CodSpeed Performance Gauge
0%
922.3 ms
921.5 ms

Commits

Click on a commit to change the comparison range
Base
main
22e405a
+52%
Upstream Zod error map improvements from Starlight
541e4d1
21 days ago
by delucis
+2%
Update tests
84fbe30
21 days ago
by delucis
-35%
Tweak colours
94dcab6
20 days ago
by delucis
+35%
Separate colour and indentation steps for clarity
f0aad56
20 days ago
by delucis
0%
Fix broken link to experimental flag documentation
b6f17bc
20 days ago
by delucis
-54%
Add changeset
00ae858
20 days ago
by delucis
0%
Update tests
66674d6
20 days ago
by delucis
-1%
Fix one more test
7e8c299
20 days ago
by delucis
0%
Extract codeRegex to top level
2c93b93
20 days ago
by delucis
0%
Don’t dim text and tweak indentation
2170904
20 days ago
by delucis
Home Terms PrivacyDocs