Upgrading dotenv 1 to 2
Breaking1.2.0 → 2.0.0Breaking2Other5
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Variables are no longer expanded or escaped inside .env files; each value is used exactly as written.
- Successful calls now give you the parsed values instead of just true.
Must act 2 items need code or config changes
What you must change
Breaking2
Removes variable expansion and escaping so environment variables are fully orthogonal.
Returns the parsed object on success instead of boolean true.