FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Releases · libgit2/pygit2 · GitHub

Repository navigation

Releases: libgit2/pygit2

1.20.1 (2026-09-12)

Choose a tag to compare

Filter
github-actions released this 12 Sep 10:33
  • Update wheels to libgit2 1.9.7

  • New exception hierarchy: AlreadyExistsError, InvalidSpecError,
    InvalidError, NotFoundError, AmbiguousError, AuthError, and
    CertificateError all inherit from GitError and the appropriate Python
    built-in exception (ValueError/KeyError) for backward compatibility
    #830

  • Fix DiffDelta.is_binary and DiffDelta.flags returning stale values for
    deltas obtained from Diff.deltas; flags are now loaded lazily
    #962
    #1100

  • Fix repo.submodules.get() and name in repo.submodules raising
    AlreadyExistsError when a repository exists at the submodule path but was
    never registered as a submodule; they now return None and False
    respectively as documented
    #1487

  • Fix BlobIO cleanup deadlock on partial reads
    #1488
    #1491

  • Fix leaks and crashes in error paths
    #1478
    #1479
    #1480
    #1481

  • Fix custom ODB and refdb backend callbacks overwriting a pending Python
    exception (e.g. RuntimeError) with a stale libgit2 error message.

  • Documentation fixes
    #1490

  • CI (macOS): build architecture-specific OpenSSL/libssh2/libgit2
    dependencies instead of universal binaries, producing smaller wheels.

1.20.0 (2026-08-08)

Choose a tag to compare

Filter
github-actions released this 08 Aug 14:45
  • New RemoteCallbacks.custom_headers()
    #1465

  • New rebase API: Repository.rebase_init(...), Repository.rebase_open(...),
    Rebase, and RebaseOperation
    #1483

  • Fix Config.snapshot() for non-repository configs, allow PathLike in
    Config.__init__(), and improve config documentation
    #1468

  • Fix UnicodeDecodeError with non-UTF-8 file paths in Repository.status(),
    DiffFile.path, index paths, checkout callbacks, and related APIs
    #1451
    #1469

  • Fix enums.CheckoutStrategy.CONFLICT_STYLE_ZDIFF3, which was mistakenly
    bound to the DIFF3 constant
    #1483

  • Fix crashes and reference-lifetime bugs in custom refdb backends
    #1471
    #1474
    #1475
    #1476

  • Update wheels to libgit2 1.9.6 and OpenSSL 3.5.7

  • Add riscv64 wheels
    #1463

Breaking changes:

  • Remove deprecated pygit2.legacyenums module and GIT_* constants,
    use pygit2.enums instead

  • Remove deprecated support for passing str to Repository.merge(...),
    pass a Commit, Oid, or Reference object instead

  • Repository.merge_file_from_index(...) now returns MergeFileResult by
    default; pass use_deprecated=True for the previous string return, now
    deprecated.

  • Remove deprecated Remote.ls_remotes(...), use Remote.list_heads(...)
    instead

  • Remove pygit2.to_bytes(...) and pygit2.to_str(...); they were undocumented
    accidental public APIs

1.19.3 (2026-06-13)

Choose a tag to compare

Filter
github-actions released this 13 Jun 08:06

1.19.2 (2026-03-29)

Choose a tag to compare

Filter
github-actions released this 29 Mar 14:57
  • Fix refcount and error handling issues in filter_register(...)

  • Fix config with valueless keys
    #1457

  • New Repository.load_filter_list(...) and FilterList
    #1444

  • New Odb.read_header(...) and now Odb.read(...) returns enums.ObjectType instead of int
    #1450

  • Build and CI fixes
    #1446
    #1448
    #1455


Back | FazBrowse Home | New Git URL