python-dotenv v0.18.0 Release Notes
Release Date: 2021-06-20 // almost 3 years ago-
🔄 Changed
- Raise
ValueError
ifquote_mode
isn't one ofalways
,auto
ornever
inset_key
(#330 by [@bbc2]). - When writing a value to a .env file with
set_key
ordotenv set <key> <value>
(#330 by [@bbc2]):- Use single quotes instead of double quotes.
- Don't strip surrounding quotes.
- In
auto
mode, don't add quotes if the value is only made of alphanumeric characters (as determined bystring.isalnum
).
- Raise