-
Notifications
You must be signed in to change notification settings - Fork 568
Comparing changes
Open a pull request
base repository: theskumar/python-dotenv
base: v1.2.2
head repository: theskumar/python-dotenv
compare: v1.2.3
- 17 commits
- 17 files changed
- 12 contributors
Commits on Mar 1, 2026
-
Configuration menu - View commit details
-
Copy full SHA for dbc3882 - Browse repository at this point
Copy the full SHA dbc3882View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc71adb - Browse repository at this point
Copy the full SHA dc71adbView commit details
Commits on Mar 2, 2026
-
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>
Configuration menu - View commit details
-
Copy full SHA for da0c820 - Browse repository at this point
Copy the full SHA da0c820View commit details
Commits on Mar 6, 2026
-
Add missing interpolate parameter to the docstrings of functions `loa…
…d_dotenv` and `dotenv_values` (#614)
Configuration menu - View commit details
-
Copy full SHA for fa4e6a9 - Browse repository at this point
Copy the full SHA fa4e6a9View commit details
Commits on Apr 19, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 68ea2d1 - Browse repository at this point
Copy the full SHA 68ea2d1View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for bca6644 - Browse repository at this point
Copy the full SHA bca6644View commit details
Commits on May 8, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 3f0e3e0 - Browse repository at this point
Copy the full SHA 3f0e3e0View commit details
Commits on May 30, 2026
-
ci(security): harden CI/CD supply chain with SHA pinning and least-pr…
…ivilege permissions (#650) - Pin all GitHub Actions to full SHA with version comments - Add top-level permissions: contents: read to test.yml - Add top-level permissions: contents: read to release.yml (write only at job level) - Upgrade pypa/gh-action-pypi-publish from release/v1 tag to v1.14.0 SHA - Add pip ecosystem tracking to dependabot - Add commit-message prefixes and labels to dependabot config
Configuration menu - View commit details
-
Copy full SHA for 078325e - Browse repository at this point
Copy the full SHA 078325eView commit details -
ci(deps): bump peaceiris/actions-gh-pages from 4.0.0 to 4.1.0 in the …
…github-actions group (#651) Bumps the github-actions group with 1 update: [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages). Updates `peaceiris/actions-gh-pages` from 4.0.0 to 4.1.0 - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](peaceiris/actions-gh-pages@4f9cc66...84c30a8) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 72754a1 - Browse repository at this point
Copy the full SHA 72754a1View commit details -
docs: fix broken mkdocs link in CONTRIBUTING.md (#636)
Co-authored-by: liwenjun-dev <liwenjun.dev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 72896e9 - Browse repository at this point
Copy the full SHA 72896e9View commit details -
chore(deps): update pytest requirement from >=3.9 to >=9.0.3 (#653)
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@3.9.0...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 45b9372 - Browse repository at this point
Copy the full SHA 45b9372View commit details -
chore(deps): update mkdocs-include-markdown-plugin requirement from >…
…=6.0.0 to >=7.3.0 (#652) Updates the requirements on [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin) to permit the latest version. - [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases) - [Commits](mondeja/mkdocs-include-markdown-plugin@v6.0.0...v7.3.0) --- updated-dependencies: - dependency-name: mkdocs-include-markdown-plugin dependency-version: 7.3.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for f1937b6 - Browse repository at this point
Copy the full SHA f1937b6View commit details
Commits on Jun 8, 2026
-
ci(deps): bump actions/checkout from 6.0.2 to 6.0.3 in the github-act…
…ions group (#658) Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@de0fac2...df4cb1c) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 751f8c1 - Browse repository at this point
Copy the full SHA 751f8c1View commit details
Commits on Aug 16, 2026
-
fix: round-trip backslashes through set_key (#680)
`set_key` writes single-quoted values but only escaped single quotes, not backslashes. The single-quoted-value parser decodes `\` and `\'`, so any value with a backslash came back wrong: set_key(".env", "P", r"C:\Users") # writes P='C:\Users' get_key(".env", "P") # -> "C:Users" Escape backslashes before single quotes when writing. That alone is not enough for a value that ends in a backslash. The quoted-value patterns treated `\'` as an escape but not `\`, so in `P='back\'` the second backslash paired with the closing quote. `[^']` matches newlines, so the match ran on into the following lines and the binding failed to parse, taking the next entries with it. Both the single- and double-quoted patterns now treat a backslash as escaping whatever follows it. Fixes #661 Co-authored-by: Claude Opus 5 <noreply@anthropic.com>Configuration menu - View commit details
-
Copy full SHA for f7b18d9 - Browse repository at this point
Copy the full SHA f7b18d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb31c94 - Browse repository at this point
Copy the full SHA bb31c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ac846f - Browse repository at this point
Copy the full SHA 8ac846fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49515af - Browse repository at this point
Copy the full SHA 49515afView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.2.2...v1.2.3