dotenv
18.0.10 · 9 Nov 2026BSD-2-Clause284.8M / weekRepositoryHomepagenpmAtom feed
15.0.1 is the newest release of 15.x.
In short
4 breaking
- Breaking
v15.0.0is a major new release with some important breaking changes. - Breaking
Breaking: Multiline parsing support (just works. no need for the flag.)
- Breaking
Breaking:
#marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your.envfiles to wrap in quotes any values containing#. For example:SECRET_HASH="something-with-a-#-hash"). - Breaking
Breaking: Remove multiline option (just works out of the box now. no need for the flag.)
Release note
v15.0.0 is a major new release with some important breaking changes.
Added
- Breaking
Breaking: Multiline parsing support (just works. no need for the flag.)
Changed
- Breaking
Breaking:
#marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your.envfiles to wrap in quotes any values containing#. For example:SECRET_HASH="something-with-a-#-hash").
..Understandably, (as some teams have noted) this is tedious to do across the entire team. To make it less tedious, we recommend using dotenv cli going forward. It's an optional plugin that will keep your .env files in sync between machines, environments, or team members.
Removed
- Breaking
Breaking: Remove multiline option (just works out of the box now. no need for the flag.)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.