KEMBAR78
Comparing v0.17.1...v0.18.0 · theskumar/python-dotenv · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: theskumar/python-dotenv
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.17.1
Choose a base ref
...
head repository: theskumar/python-dotenv
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.18.0
Choose a head ref
  • 5 commits
  • 8 files changed
  • 1 contributor

Commits on Jun 20, 2021

  1. Improve quoting of values in set_key

    The value of `quote_mode` must now be one of `auto`, `never` or
    `always`, to ensure that users aren't accidentally relying on any other
    value for their scripts to work.
    
    Surrounding quotes are no longer stripped.  This makes it possible for
    the user to control exactly what goes in the .env file.  Note that when
    doing `dotenv set foo 'bar'` in Bash, the shell will have already
    removed the quotes.
    
    Single quotes are used instead of double quotes.  This avoids
    accidentally having values interpreted by the parser or Bash (e.g. if
    you set a password with `dotenv set password 'af$rb0'`.
    
    Previously, the `auto` mode of quoting had the same effect as `always`.
    This commit restores the functionality of `auto` by not quoting
    alphanumeric values (which don't need quotes).  Plenty of other kinds of
    values also don't need quotes but it's hard to know which ones without
    actually parsing them, so we just omit quotes for alphanumeric values,
    at least for now.
    bbc2 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    b3c3195 View commit details
    Browse the repository at this point in the history
  2. Fix CI

    Mypy was failing because the new version requires some type packages to
    be installed even when `ignore_missing_imports` is set to `true`.
    bbc2 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    dbf8c7b View commit details
    Browse the repository at this point in the history
  3. Fix setuptools warning

    bbc2 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    72bc307 View commit details
    Browse the repository at this point in the history
  4. Fix license metadata

    bbc2 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    3c08eaf View commit details
    Browse the repository at this point in the history
  5. Release version 0.18.0

    bbc2 committed Jun 20, 2021
    Configuration menu
    Copy the full SHA
    97615cd View commit details
    Browse the repository at this point in the history
Loading