Upgrading dotenv 16 to 17
Review needed16.6.1 → 17.4.2New3Changed7Fixed2Other4
Review neededUpgrade verdict
7 behavior changes.
In plain terms
- A log message now says "injected" instead of "injecting".
- The console messages dotenv prints are now shorter and cleaner.
- TypeScript users can now pass a Node.js process environment object where the library expects its populate input type.
- Settings made through DOTENV_CONFIG_ environment variables now override the options you pass in code, such as quiet: false.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- changed:
function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvConfigOptions): void → function populate(processEnv: DotenvPopulateInput, parsed: DotenvPopulateInput, options?: DotenvPopulateOptions): DotenvPopulateOutput - changed:
index DotenvPopulateInput[name: string]: string → index DotenvPopulateInput[name: string]: string | undefined - changed:
property DotenvConfigOutput.error?: Error → property DotenvConfigOutput.error?: DotenvError - added:
index DotenvPopulateOutput[name: string]: string - added:
interface DotenvPopulateOutput