This PR contains the following updates:
Release Notes
motdotla/dotenv (dotenv)
Compare Source
Changed
- Fixed typescript error definition (#912)
Compare Source
Added
- 🙏 A big thank you to new sponsorTuple.app -the premier screen sharing app for developers on macOS and Windows. Go check them out. It's wonderful and generous of them to give back to open source by sponsoring dotenv. Give them some love back.
Compare Source
Changed
- Fix clickable tip links by removing parentheses (#897)
Compare Source
Added
- Optionally specify
DOTENV_CONFIG_QUIET=true
in your environment or.env
file to quiet the runtime log (#889) - Just like dotenv any
DOTENV_CONFIG_
environment variables take precedence over any code set options like({quiet: false})
Compare Source
Added
- Add additional security and configuration tips to the runtime log (#884)
- Dim the tips text from the main injection information text
constTIPS=['🔐 encrypt with dotenvx: https://dotenvx.com','🔐 prevent committing .env to code: https://dotenvx.com/precommit','🔐 prevent building .env in docker: https://dotenvx.com/prebuild','🛠️ run anywhere with `dotenvx run -- yourcommand`','⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }','⚙️ enable debug logging with { debug: true }','⚙️ override existing env vars with { override: true }','⚙️ suppress all logs with { quiet: true }','⚙️ write to custom object with { processEnv: myObject }','⚙️ load multiple .env files with { path: [\'.env.local\', \'.env\'] }']
Compare Source
Changed
- Patched injected log to count only populated/set keys to process.env (#879)
Compare Source
Changed
- Default
quiet
to false - informational (file and keys count) runtime log message shows by default (#875)
Compare Source
Changed
- Default
quiet
to true – hiding the runtime log message (#874) - NOTICE: 17.0.0 will be released with quiet defaulting to false. Use
config({ quiet: true })
to suppress. - And check out the newdotenvx. As coding workflows evolve and agents increasingly handle secrets, encrypted .env files offer a much safer way to deploy both agents and code together with secure secrets. Simply switch
require('dotenv').config()
forrequire('@​dotenvx/dotenvx').config()
.
Compare Source
Added
- Default log helpful message
[dotenv@16.6.0] injecting env (1) from .env
(#870) - Use
{ quiet: true }
to suppress - Aligns dotenv more closely withdotenvx.
Compare Source
Added
- 🎉 Added new sponsorGraphite -the AI developer productivity platform helping teams on GitHub ship higher quality software, faster.
[!TIP]
Become a sponsor
The dotenvx README is viewed thousands of times DAILY on GitHub and NPM.
Sponsoring dotenv is a great way to get in front of developers and give back to the developer community at the same time.
Changed
- Remove
_log
method. Use_debug
#862
Compare Source
Changed
- Ignore
.tap
folder when publishing. (oops, sorry about that everyone. -@motdotla)#848
Compare Source
Changed
- Clean up stale dev dependencies#847
- Various README updates clarifying usage and alternative solutions usingdotenvx
Compare Source
Changed
- 🐞 Fix recent regression when using
path
option. return to historical behavior: do not attempt to auto find.env
ifpath
set. (regression was introduced in16.4.3
)#814
Compare Source
Changed
- 🐞 Replaced chaining operator
?.
with old school&&
(fixing node 12 failures)#812
Compare Source
Changed
- 🐞 Fix recent regression when using
path
option. return to historical behavior: do not attempt to auto find.env
ifpath
set. (regression was introduced in16.4.3
)#814
Compare Source
Changed
Compare Source
- Patch support for array as
path
option#797
Compare Source
- Add
error.code
to error messages around.env.vault
decryption handling#795 - Add ability to find
.env.vault
file when filename(s) passed as an array#784
Compare Source
Added
- Add debug message when no encoding set#735
Changed
- Fix output typing for
populate
#792 - Use subarray instead of slice#793
Configuration
📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated byMend Renovate. View therepository job log.
Uh oh!
There was an error while loading.Please reload this page.
This PR contains the following updates:
^16.3.1
->^17.0.0
Release Notes
motdotla/dotenv (dotenv)
v17.2.3
Compare Source
Changed
v17.2.2
Compare Source
Added
v17.2.1
Compare Source
Changed
v17.2.0
Compare Source
Added
DOTENV_CONFIG_QUIET=true
in your environment or.env
file to quiet the runtime log (#889)DOTENV_CONFIG_
environment variables take precedence over any code set options like({quiet: false})
v17.1.0
Compare Source
Added
v17.0.1
Compare Source
Changed
v17.0.0
Compare Source
Changed
quiet
to false - informational (file and keys count) runtime log message shows by default (#875)v16.6.1
Compare Source
Changed
quiet
to true – hiding the runtime log message (#874)config({ quiet: true })
to suppress.require('dotenv').config()
forrequire('@​dotenvx/dotenvx').config()
.v16.6.0
Compare Source
Added
[dotenv@16.6.0] injecting env (1) from .env
(#870){ quiet: true }
to suppressv16.5.0
Compare Source
Added
Changed
_log
method. Use_debug
#862v16.4.7
Compare Source
Changed
.tap
folder when publishing. (oops, sorry about that everyone. -@motdotla)#848v16.4.6
Compare Source
Changed
v16.4.5
Compare Source
Changed
path
option. return to historical behavior: do not attempt to auto find.env
ifpath
set. (regression was introduced in16.4.3
)#814v16.4.4
Compare Source
Changed
?.
with old school&&
(fixing node 12 failures)#812v16.4.3
Compare Source
Changed
path
option. return to historical behavior: do not attempt to auto find.env
ifpath
set. (regression was introduced in16.4.3
)#814v16.4.2
Compare Source
Changed
dotenvx.com
v16.4.1
Compare Source
path
option#797v16.4.0
Compare Source
error.code
to error messages around.env.vault
decryption handling#795.env.vault
file when filename(s) passed as an array#784v16.3.2
Compare Source
Added
Changed
populate
#792Configuration
📅Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated byMend Renovate. View therepository job log.