Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency dotenv to v16 #4191

Merged
merged 2 commits into from
Feb 8, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dotenv ^10.0.0 -> ^16.0.0 age adoption passing confidence

Release Notes

motdotla/dotenv

v16.0.0

Compare Source

Added
  • Breaking: Backtick support 🎉 (#​615)

If you had values containing the backtick character, please quote those values with either single or double quotes.

v15.0.1

Compare Source

Changed
  • Properly parse empty single or double quoted values 🐞 (#​614)

v15.0.0

Compare Source

v15.0.0 is a major new release with some important breaking changes.

Added
  • Breaking: Multiline parsing support (just works. no need for the flag.)
Changed
  • Breaking: # marks the beginning of a comment (UNLESS the value is wrapped in quotes. Please update your .env files 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: Remove multiline option (just works out of the box now. no need for the flag.)

v14.3.2

Compare Source

Changed
  • Preserve backwards compatibility on values containing # 🐞 (#​603)

v14.3.1

Compare Source

Changed
  • Preserve backwards compatibility on exports by re-introducing the prior in-place exports 🐞 (#​606)

v14.3.0

Compare Source

Added
  • Add multiline option 🎉 (#​486)

v14.2.0

Compare Source

Added
  • Add dotenv_config_override cli option
  • Add DOTENV_CONFIG_OVERRIDE command line env option

v14.1.1

Compare Source

Added
  • Add React gotcha to FAQ on README

v14.1.0

Compare Source

Added
  • Add override option 🎉 (#​595)

v14.0.1

Compare Source

Added
  • Log error on failure to load .env file (#​594)

v14.0.0

Compare Source

Added
  • Breaking: Support inline comments for the parser 🎉 (#​568)

v13.0.1

Compare Source

Changed
  • Hide comments and newlines from debug output (#​404)

v13.0.0

Compare Source

Added
  • Breaking: Add type file for config.js (#​539)

v12.0.4

Compare Source

Changed
  • README updates
  • Minor order adjustment to package json format

v12.0.3

Compare Source

Changed
  • Simplified jsdoc for consistency across editors

v12.0.2

Compare Source

Changed
  • Improve embedded jsdoc type documentation

v12.0.1

Compare Source

Changed
  • README updates and clarifications

v12.0.0

Compare Source

Removed
  • Breaking: drop support for Flow static type checker (#​584)
Changed
  • Move types/index.d.ts to lib/main.d.ts (#​585)
  • Typescript cleanup (#​587)
  • Explicit typescript inclusion in package.json (#​566)

v11.0.0

Compare Source

Changed
  • Breaking: drop support for Node v10 (#​558)
  • Patch debug option (#​550)

Configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@github-actions github-actions bot added the type: bug code to address defects in shipped code label Feb 7, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Feb 7, 2022
@github-actions
Copy link

github-actions bot commented Feb 7, 2022

📊 Benchmark results

Comparing with 2193d1c

Package size: 377 MB

⬆️ 0.02% increase vs. 2193d1c

^  368 MB  368 MB  368 MB  368 MB  368 MB  368 MB                                                  377 MB 
│   ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐    ┌──┐   363 MB  363 MB  363 MB  363 MB  363 MB  362 MB   ┌──┐  
│ ──┼──┼────┼──┼────┼──┼────┼──┼────┼──┼────┼──┼────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────┌──┐────|▒▒|──
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
│   |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |  |    |▒▒|  
└───┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴────┴──┴──>
    T-12    T-11    T-10    T-9     T-8     T-7     T-6     T-5     T-4     T-3     T-2     T-1      T    
Legend

Copy link
Contributor

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ehmicky, @lukasholzer

This is breaking for us due to the following:

Users will need to change:

VAR1=hello#world
VAR2=hello`world

to

VAR1="hello#world"
VAR2="hello`world"

if they have a .env.

That is, they'll have to quote the value if it has # or `.

Should we release this under a new major version? WDYT?

@ehmicky
Copy link
Contributor

ehmicky commented Feb 8, 2022

I think we should, since this is technically a breaking change.

@erezrokah erezrokah enabled auto-merge (squash) February 8, 2022 14:13
@erezrokah erezrokah disabled auto-merge February 8, 2022 14:30
@erezrokah erezrokah merged commit 333c5d9 into main Feb 8, 2022
@erezrokah erezrokah deleted the renovate/dotenv-16.x branch February 8, 2022 14:31
@SteveALee
Copy link

Thanks for following semver :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants