KEMBAR78
Comparing v0.14.0...v0.15.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.14.0
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.15.0
Choose a head ref
  • 8 commits
  • 13 files changed
  • 6 contributors

Commits on Jul 16, 2020

  1. Fix empty expanded value for duplicate key

    Example problematic file:
    
    ```bash
    hello=hi
    greetings=${hello}
    goodbye=bye
    greetings=${goodbye}
    ```
    
    It would result in `greetings` being associated with the empty string
    instead of `"bye"`.
    
    The problem came from the fact that bindings were converted to a dict,
    and so deduplicated by key, before being interpolated.  The dict would
    be `{"hello": "hi", "greetings": "${goodbye}", "goodbye": "bye"}` in the
    earlier example, which shows why interpolation wouldn't work: `goodbye`
    would not be defined when `greetings` was interpolated.
    
    This commit fixes that by passing all values in order, even if there are
    duplicated keys.
    bbc2 committed Jul 16, 2020
    Configuration menu
    Copy the full SHA
    4b43436 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2020

  1. Fix import error on Python 3.5.0 and 3.5.1

    While `typing` was added in 3.5.0, `typing.Text` was only added in
    3.5.2, and so causes an `AttributeError`, not an `ImportError`
      exception.
    gongqingkui authored and bbc2 committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    78be0f8 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    transcranial authored and bbc2 committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    92ec3b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2020

  1. Add --export to set and make it create env file

    - Add `--export` option to `set` to make it prepend the binding with
      `export`.
    - Make `set` command create the `.env` file in the current directory if
      no `.env` file was found.
    jadutter authored and bbc2 committed Sep 6, 2020
    Configuration menu
    Copy the full SHA
    6ca2e2a View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2020

  1. Fix parsing of unquoted values with two spaces

    If a value is unquoted and has two or more adjacent spaces (like in `a=b
    c`), the parser would detect an error.  This commit fixes that.
    
    Tabs and other whitespace characters are now also considered like space
    characters in this case and I added relevant test cases.
    bbc2 committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    7b172fe View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Add python 3.9 to CI

    peymanslh authored and bbc2 committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    6fc3458 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2020

  1. Configuration menu
    Copy the full SHA
    fa354ce View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Release v0.15.0

    bbc2 committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    e13d957 View commit details
    Browse the repository at this point in the history
Loading