withastro / astro

The web framework for content-driven websites. ⭐️ Star to support our work!
https://astro.build
Other
46.93k stars 2.49k forks source link

Remove default throw behavior in astro:env #12480

Closed matthewp closed 2 days ago

matthewp commented 2 days ago

Changes

Testing

Docs

N/A, bug fix

changeset-bot[bot] commented 2 days ago

🦋 Changeset detected

Latest commit: 2ae06b195e618c368cce3090a874908bfa86a5e0

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codspeed-hq[bot] commented 2 days ago

CodSpeed Performance Report

Merging #12480 will not alter performance

Comparing env-no-throw (2ae06b1) with main (46f6b38)

Summary

✅ 6 untouched benchmarks

florian-lefebvre commented 2 days ago

More stuff can be removed:

matthewp commented 2 days ago

@florian-lefebvre made the changes you suggested. We're still doing validation though, @ematipico is going to work on another approach that doesn't rely on setGetEnv.