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