NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #172 most downloaded on PyPI
GitPython is a Python library used to interact with Git repositories
Last release 4 days ago
30 Sep 2026
Release timing varies
gaps range from 8 days to 9 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
8 versions withdrawn
withdrawn after publishing
17 years old
116 releases · first in 2010
test: cover subdirectory discovery and pathspec commands in bare-repository worktrees by @christianvuerings in #2228
Full Changelog: 3.1.62...3.2.0
One column per quarter.
Drops support for Python 3.7 (5 years after its EOL).
Security fixes for
Deprecate the pure-Python GitDB object database backend due to security and performance issues. Selecting it or a subclass through odbt now emits a DeprecationWarning. Remove odbt=GitDB to use GitCmdObjectDB, the existing default, or select odbt=GitCmdObjectDB explicitly. The gitdb package remains a dependency for shared types and utilities.
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-gq48-pqfc-9p58
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-w8jc-g24h-crhw
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-m64x-33q8-m5h7
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0
prepare next release by @Byron in #2222
Full Changelog: 3.1.61...3.1.62
Security fixes for
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62
Fix accidental removal of exploitable regex in Actor by bringing it back, and deprecating it.
Fix accidental removal of exploitable regex in Actor by bringing it back, and deprecating it.
Full Changelog: 3.1.60...3.1.61
A fixup release to avoid accidental removal of public class regex on Actor. It's now deprecated instead.
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.61
prepare changelog prior to release by @Byron in #2212
Security fixes for
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-g5vv-9gxw-82hx
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-whh4-5q6c-9v3x
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-239g-whfq-7xj9
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.60
prepare changelog for upcoming release by @Byron in #2207
repo.index.add() now respects worktree filters #2209Full Changelog: 3.1.58...3.1.59
repo.index.add() now respects worktree filters https://github.com/gitpython-developers/GitPython/pull/2209Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.58...3.1.59
Security fixes for
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-5xxx-qhh7-9287
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3wxw-xv34-2frg
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-8mcc-hrx5-hvxc
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-284h-m62q-gf8w
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.59
test: allow Python startup before timeout by @Byron in #2195
Full Changelog: 3.1.57...3.1.58
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.57...3.1.58
Security fixes for
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hh9p-6wh2-4mfc
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-rf2p-w77r
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-4gmw-gg2m-w46p
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-wvpp-8hx9-p66j
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-jm78-9fvv-mhgr
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-hmq2-w58f-27jc
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.58
Merge gitdb and smmap into the GitPython repository by @Byron in #2179
Full Changelog: 3.1.56...3.1.57
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.56...3.1.57
A security fix for
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57
Add support for Python 3.15 by @hugovk in #2183
Full Changelog: 3.1.55...3.1.56
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.55...3.1.56
A security fix for
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.56
fix: prevent environment expansion in remote URLs by @Byron in #2181
Full Changelog: 3.1.54...3.1.55
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.54...3.1.55
A security fix for
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.55
Harden unsafe Git option validation by @Byron in #2180
Full Changelog: 3.1.53...3.1.54
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.53...3.1.54
A security fix for
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fjr4-x663-mwxc
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.54
feat(submodule): add deinit method to Submodule ( #2014 ) by @mvanhorn in #2129
submodule.update() after submodule.deinit() work by @Byron in #2175Full Changelog: 3.1.52...3.1.53
submodule.update() after submodule.deinit() work by @Byron in https://github.com/gitpython-developers/GitPython/pull/2175Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.52...3.1.53
A security fix for https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3rp5-jjmw-4wv2
If you can, also try and provide feedback on the upcoming v4 branch https://github.com/gitpython-developers/GitPython/pull/2177 - patches welcome.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.53
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573: Environment-variable exfiltration via os.path.expandvars()
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.51...3.1.52
GHSA-rwj8-pgh3-r573: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL
Full Changelog: 3.1.51...3.1.52
A security fix for https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rwj8-pgh3-r573.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.52
Add AI-disclosure and quality requirements to the contribution guidelines by @Byron in https://github.com/gitpython-developers/GitPython/pull/2143
335c0f6 to 0a019a2 by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/21490a019a2 to 4950ea9 by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/2165Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.50...3.1.51
335c0f6 to 0a019a2 by @dependabot[bot] in #21490a019a2 to 4950ea9 by @dependabot[bot] in #2165Full Changelog: 3.1.50...3.1.51
This is primarily a security release. It prevents additional argument-injection paths that could allow execution of arbitrary commands or writing to arbitrary files through unsafe Git options (GHSA-956x-8gvw-wg5v), and closes bypasses of the existing protections using abbreviated long options or joined short options (GHSA-2f96-g7mh-g2hx).
The release also improves support for relative worktree paths and diffs against the empty tree, preserves stderr from failed diff processes, supports relative configuration include paths, and includes assorted documentation, typing, test, and CI improvements.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.51
Bump https://github.com/astral-sh/ruff-pre-commit from v0.15.8 to 0.15.12 in the pre-commit group by @dependabot [bot] in #2140
335c0f6 to 53c94d6 by @dependabot[bot] in #2141Full Changelog: 3.1.49...3.1.50
Save setting of configuration values, this time sections as well, as follow-up to 3.1.49.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.50
reject control chars in written values in configuration by @Byron in https://github.com/gitpython-developers/GitPython/pull/2137
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.48...3.1.49
Save setting of configuration values, which could be used to inject other more configuration.
Also more conforming rev-parse implementation.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49
Accidentally deleted the previous GH release, it did mention the advisory this fixes.
Accidentally deleted the previous GH release, it did mention the advisory this fixes.
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.47...3.1.48
Safe reference creation in the face of untrusted input.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.48
https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-rpm5-65cw-6hj4
335c0f6 to 4c63ee6 by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/20964c63ee6 to 5c1b303 by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/2106gc.collect() twice in test_rename on Python 3.12 by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2109Repo.active_branch resolution for reftable-backed repositories by @Copilot in https://github.com/gitpython-developers/GitPython/pull/2114with_stdout=False by @ngie-eign in https://github.com/gitpython-developers/GitPython/pull/2126shlex by @Byron in https://github.com/gitpython-developers/GitPython/pull/2130Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.46...3.1.47
Address various security issues related to bypassing injection-protection of unsafe Git flags.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.47
Prepare a new release by @Byron in https://github.com/gitpython-developers/GitPython/pull/2063
335c0f6 to 39d7dbf by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/206839d7dbf to f8fdfec by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/2071SymbolicReference.reference property by @emmanuel-ferdman in https://github.com/gitpython-developers/GitPython/pull/2074f8fdfec to 65321a2 by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/2082mypy==1.18.2 by @George-Ogden in https://github.com/gitpython-developers/GitPython/pull/2087os.Pathlike by @George-Ogden in https://github.com/gitpython-developers/GitPython/pull/208665321a2 to 4c63ee6 by @dependabot[bot] in https://github.com/gitpython-developers/GitPython/pull/2093Pathlike Object to Tree by @George-Ogden in https://github.com/gitpython-developers/GitPython/pull/2094Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.45...3.1.46
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.46
Fail test_installation on warnings, and remove deprecated license classifier by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/…
SECURITY.md files by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1992test_installation by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2007test_installation xfail on Cygwin CI by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2009IndexFile._to_relative_path - fix case where absolute path gets stripped of trailing slash by @kamilkozik7 in https://github.com/gitpython-developers/GitPython/pull/2012uname-cmd that doesn't point to an executable file by @gcmarx in https://github.com/gitpython-developers/GitPython/pull/2026contents: read workflow permissions by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2033mypy command on free-threaded Python by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2040performance and performance test jobs by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2042setuptools requirement statically by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2043_safer_popen_windows comment by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2044USE_SHELL warning helper signature by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2045ConfigParser with whitespace outside the value by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2046"" handling in ConfigParser by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2047\ or " are present inside by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2048cat_file.py fixture without site customizations by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2052pip by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2053test_installation on warnings, and remove deprecated license classifier by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/2054Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.44...3.1.45
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.45
Fix typo in _get_exe_extensions PATHEXT fallback by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1890
--mixed and paths by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1894IndexError in GitConfigParser When a Quoted Config Value Contains a Trailing New Line by @DaveLak in https://github.com/gitpython-developers/GitPython/pull/1908fuzz_tree.py Harness With a Better Alternative by @DaveLak in https://github.com/gitpython-developers/GitPython/pull/1910fix -> format by @Borda in https://github.com/gitpython-developers/GitPython/pull/1912Diff Fuzz Target by @DaveLak in https://github.com/gitpython-developers/GitPython/pull/1914.git subdir as another safe.directory on Cygwin CI by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1916validate-pyproject by @Borda in https://github.com/gitpython-developers/GitPython/pull/1921fuzz_submodule Fuzzer by @DaveLak in https://github.com/gitpython-developers/GitPython/pull/1926end-of-file-fixer by @Borda in https://github.com/gitpython-developers/GitPython/pull/1920fuzz_submodule Causing a lot of False Alarms in the OSS-Fuzz Bug Tracker by @DaveLak in https://github.com/gitpython-developers/GitPython/pull/1950PermissionError exceptions that crash fuzzer by @DaveLak in https://github.com/gitpython-developers/GitPython/pull/1951Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.43...3.1.44
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.44
Issue and test deprecation warnings by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1886
These are likely to affect you, please do take a careful look.
repo.blame and repo.blame_incremental now accept None as the rev parameter. by @Gaubbe in https://github.com/gitpython-developers/GitPython/pull/1846create_patch=True by @can-taslicukur in https://github.com/gitpython-developers/GitPython/pull/1832flake8 with ruff check by @Borda in https://github.com/gitpython-developers/GitPython/pull/1862ruff-format by @Borda in https://github.com/gitpython-developers/GitPython/pull/1865Submodule.__init__ parent_commit parameter by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1877Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.42...3.1.43
A major visible change will be the added deprecation- or user-warnings, and greatly improved typing.
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.43
Remove deprecated section in README.md by @marcm-ml in https://github.com/gitpython-developers/GitPython/pull/1823
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.41...3.1.42
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42
Deprecate compat.is_ , rewriting all uses by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1732
The details about the Windows security issue can be found in this advisory.
Special thanks go to @EliahKagan who reported the issue and fixed it in a single stroke, while being responsible for an incredible amount of improvements that he contributed over the last couple of months ❤️.
__all__ in git.exc by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/17198ec2390 to ec58b7e by @dependabot in https://github.com/gitpython-developers/GitPython/pull/1722Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.40...3.1.41
This release is relevant for security as it fixes a possible arbitrary code execution on Windows.
See this PR for details: https://github.com/gitpython-developers/GitPython/pull/1792 An advisory is available soon at: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-2mqj-m65w-jghx
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.41
Add missing info in Submodule.remove docstring by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1714
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.38...3.1.40
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.40
Add missing assert keywords by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1678
49c3178 to 8ec2390 by @dependabot in https://github.com/gitpython-developers/GitPython/pull/17048ec2390 to 6a22706 by @dependabot in https://github.com/gitpython-developers/GitPython/pull/1705Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.37...3.1.38
See the following for all changes. https://github.com/gitpython-developers/GitPython/releases/tag/3.1.38
Improve Python version and OS compatibility, fixing deprecations by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1654
@NoEffect annotations by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1677Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.36...3.1.37
This release contains another security fix that further improves validation of symbolic references and thus properly fixes this CVE: https://github.com/advisories/GHSA-cwvm-v4w8-q58c .
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/67?closed=1
Note that this release should be a no-op, it's mainly for testing the changed release-process.
Note that this release should be a no-op, it's mainly for testing the changed release-process.
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/66?closed=1
Fix CVE-2023-41040 by @facutuesca in https://github.com/gitpython-developers/GitPython/pull/1644
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.34...3.1.35
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/65?closed=1
util: close lockfile after opening successfully by @skshetry in https://github.com/gitpython-developers/GitPython/pull/1639
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.33...3.1.34
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/64?closed=1
Fix CVE-2023-40590 by @EliahKagan in https://github.com/gitpython-developers/GitPython/pull/1636
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.32...3.1.33
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/63?closed=1
Bump cygwin/cygwin-install-action from 3 to 4 by @dependabot in https://github.com/gitpython-developers/GitPython/pull/1572
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.31...3.1.32
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/62?closed=1
Fix Sphinx rendering errors by @stephan-cr in https://github.com/gitpython-developers/GitPython/pull/1524
command -v instead of third-party which program by @mgorny in https://github.com/gitpython-developers/GitPython/pull/1525Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.30...3.1.31
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/61?closed=1
See https://github.com/gitpython-developers/GitPython/issues/1515 for details.
See https://github.com/gitpython-developers/GitPython/issues/1515 for details.
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.29...3.1.30
Make injections of command-invocations harder or impossible for clone and others. See https://github.com/gitpython-developers/GitPython/pull/1518 for details. Note that this might constitute a breaking change for some users, and if so please let us know and we add an opt-out to this.
Prohibit insecure options and protocols by default, which is potentially a breaking change, but a necessary fix for https://github.com/gitpython-developers/GitPython/issues/1515. Please take a look at the PR for more information and how to bypass these protections in case they cause breakage: https://github.com/gitpython-developers/GitPython/pull/1521.
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/60?closed=1
Make the git.__version__ re-appear.
Make the git.__version__ re-appear.
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/59?closed=1
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/58?closed=1
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/58?closed=1
Reduced startup time due to optimized imports.
Reduced startup time due to optimized imports.
Fix a vulenerability that could cause great slowdowns when encountering long remote path names when pulling/fetching.
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/57?closed=1
Fixes a leaked file descriptor when reading the index, which would cause make writing a previously read index on windows impossible. See https://githu
Fixes a leaked file descriptor when reading the index, which would cause make writing a previously read index on windows impossible. See https://github.com/gitpython-developers/GitPython/issues/1395 for details.
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/56?closed=1
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/55?closed=1
See the following for all changes. https://github.com/gitpython-developers/gitpython/milestone/55?closed=1
Newly added timeout flag is not be enabled by default, and was renamed to kill_after_timeout
Newly added timeout flag is not be enabled by default, and was renamed to kill_after_timeout
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/54?closed=1 https://github.com/gitpython-developers/gitpython/milestone/53?closed=1
Remove distutils ahead of deprecation in standard library.
This is the second typed release with a lot of improvements under the hood.
General:
Remove python 3.6 support
Remove distutils ahead of deprecation in standard library.
Update sphinx to 4.1.12 and use autodoc-typehints.
Include README as long_description on PyPI
Test against earliest and latest minor version available on Github Actions (e.g. 3.9.0 and 3.9.7)
Typing:
Add types to ALL functions.
Ensure py.typed is collected.
Increase mypy strictness with disallow_untyped_defs, warn_redundant_casts, warn_unreachable.
Use typing.NamedTuple and typing.OrderedDict now 3.6 dropped.
Make Protocol classes ABCs at runtime due to new behaviour/bug in 3.9.7 & 3.10.0-rc1
Remove use of typing.TypeGuard until later release, to allow dependent libs time to update.
Tracking issue: https://github.com/gitpython-developers/GitPython/issues/1095
Runtime improvements:
Add clone_multi_options support to submodule.add()
Delay calling get_user_id() unless essential, to support sand-boxed environments.
Add timeout to handle_process_output(), in case thread.join() hangs.
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/53?closed=1
Nothing published for this version
Fix Py.typed discovery by @Yobmod in https://github.com/gitpython-developers/GitPython/pull/1297
Full Changelog: https://github.com/gitpython-developers/GitPython/compare/3.1.19...3.1.20
This is the second typed release with a lot of improvements under the hood. * Tracking issue: https://github.com/gitpython-developers/GitPython/issues/1095
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/52?closed=1
This is the second typed release with a lot of improvements under the hood.
This is the second typed release with a lot of improvements under the hood. * Tracking issue: https://github.com/gitpython-developers/GitPython/issues/1095
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/51?closed=1
drop support for python 3.5 to reduce maintenance burden on typing. Lower patch levels of python 3.5 would break, too.
drop support for python 3.5 to reduce maintenance burden on typing. Lower patch levels of python 3.5 would break, too.
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/50?closed=1
Fix issues from 3.1.16 (see https://github.com/gitpython-developers/GitPython/issues/1238)
Fix issues from 3.1.16 (see https://github.com/gitpython-developers/GitPython/issues/1238)
Fix issues from 3.1.15 (see https://github.com/gitpython-developers/GitPython/issues/1223)
Add more static typing information
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/49?closed=1
Fix issues from 3.1.15 (see https://github.com/gitpython-developers/GitPython/issues/1223)
Fix issues from 3.1.15 (see https://github.com/gitpython-developers/GitPython/issues/1223)
Add more static typing information
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/48?closed=1
add deprecation warning for python 3.5
add deprecation warning for python 3.5
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/47?closed=1
git.Commit objects now have a replace method that will return a copy of the commit with modified attributes.
git.Commit objects now have a replace method that will return a copy of the commit with modified attributes.
Add python 3.9 support
Drop python 3.4 support
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/46?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/45?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/45?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/44?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/44?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/43?closed=1
Fixes regression of 3.1.10.
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/43?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/42?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/42?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/41?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/41?closed=1
support for 'includeIf' in git configuration files
support for 'includeIf' in git configuration files
tests are now excluded from the package, making it conisderably smaller
See the following for more details: https://github.com/gitpython-developers/gitpython/milestone/40?closed=1
Fix tutorial examples, which disappeared in 3.1.6 due to a missed path change.
Fix tutorial examples, which disappeared in 3.1.6 due to a missed path change.
Greatly reduced package size, see https://github.com/gitpython-developers/GitPython/pull/1031
Greatly reduced package size, see https://github.com/gitpython-developers/GitPython/pull/1031
rollback: package size was reduced significantly not placing tests into the package anymore. See https://github.com/gitpython-developers/GitPython/iss
rollback: package size was reduced significantly not placing tests into the package anymore. See https://github.com/gitpython-developers/GitPython/issues/1030
all exceptions now keep track of their cause
all exceptions now keep track of their cause
package size was reduced significantly not placing tests into the package anymore.
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/39?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/38?closed=1
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/38?closed=1
Re-release of 3.1.1, with known signature
Re-release of 3.1.1, with known signature
See the following for details: https://github.com/gitpython-developers/gitpython/milestone/37?closed=1
Your coding agent can read these notes before it upgrades. Set up the MCP server →