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: v1.2.2
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: main
Choose a head ref
  • 6 commits
  • 6 files changed
  • 7 contributors

Commits on Mar 1, 2026

  1. fix typo

    theskumar committed Mar 1, 2026
    Configuration menu
    Copy the full SHA
    dbc3882 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc71adb View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2026

  1. fix: print friendly error for missing command in dotenv run (#606)

    Changes for users:
    
    - (BREAKING) `dotenv run` exits with status code 1 instead of 2 if the command
      provided as argument can't be found.
    - `dotenv run` prints a friendly error message instead of a stack trace
      if the command provided as argument can't be found.
    
    Notes:
    
    The existing test case was wrongly testing for that situation: it was
    actually observing a "missing env file" error, not a "command not found
    error". I thus added an appropriate test case for full coverage.
    
    Co-authored-by: Saurabh Kumar <theskumar@users.noreply.github.com>
    bbc2 and theskumar authored Mar 2, 2026
    Configuration menu
    Copy the full SHA
    da0c820 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2026

  1. Add missing interpolate parameter to the docstrings of functions `loa…

    …d_dotenv` and `dotenv_values` (#614)
    edgarrmondragon authored Mar 6, 2026
    Configuration menu
    Copy the full SHA
    fa4e6a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2026

  1. Configuration menu
    Copy the full SHA
    68ea2d1 View commit details
    Browse the repository at this point in the history
  2. fix: strip UTF-8 BOM from .env files (#640)

    * Fix: strip UTF-8 BOM from .env files to prevent silent first-variable loss
    
    When a .env file is saved with a UTF-8 BOM (common with JetBrains IDEs
    on Windows), the BOM character (\ufeff) was prepended to the first
    variable name, making it silently inaccessible via its intended key.
    
    Strip the BOM in Reader.__init__ so all variables are parsed correctly
    regardless of whether the file contains a BOM.
    
    Fixes #637
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * docs: add changelog entry for BOM fix
    
    ---------
    
    Co-authored-by: h1whelan <h1whelan@users.noreply.github.com>
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    Co-authored-by: Saurabh Kumar <theskumar@users.noreply.github.com>
    4 people authored Apr 19, 2026
    Configuration menu
    Copy the full SHA
    bca6644 View commit details
    Browse the repository at this point in the history
Loading