BREAKING(dotenv): remove deprecated loaders - #7335
Open
tomas-zijdemans wants to merge 2 commits into
Open
tomas-zijdemans wants to merge 2 commits into
tomas-zijdemans wants to merge 2 commits into
Conversation
tomas-zijdemans
force-pushed
the
breaking/dotenv-remove-loaders
branch
from
September 26, 2026 11:19
ac193c8 to
ee1735a
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7335 +/- ##
=======================================
Coverage 95.04% 95.04%
=======================================
Files 619 618 -1
Lines 52012 51960 -52
Branches 9450 9438 -12
=======================================
- Hits 49434 49385 -49
+ Misses 2031 2029 -2
+ Partials 547 546 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
These cases previously ran through loadSync() in mod_test.ts.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes
load(),loadSync(),LoadOptionsand the@std/dotenv/loadexport, as agreed in #7246.parse()andstringify()stay, and the migration notes inmod.tsstay too.Version. The
@deprecatedtags say "removed in 0.227.0", but that assumed the deprecation would ship as 0.226.0. It shipped as 0.225.8, becausedeprecationtitles bump the patch. On a 0.x package a BREAKING title bumps the minor, so this lands as 0.226.0. Nobody gets surprised by it:^0.225.8doesn't match 0.226.0. If you'd rather keep the notice literal, the release PR can set 0.227.0 instead. Fine by me either way.Tests.
mod_test.tsheld the only tests forparse()reading from the process env, since they went throughloadSync(). I moved three of those cases toparse_test.ts:""expands to""NotCapableTested with
env -u NO_COLOR deno task ok.I used Claude Code to help investigate and write this change.