- Introduce support for credentials
- Several memory issues fixed
- Compatibility fixes for Python 3.3, PyPy3 and Visual Studio
- And much more…
Thanks to Carlos Martín Nieto, Leonardo Rhodes, Devaev Maxim, Erik Meusel, Thomas Kluyver and earl.
- Support pypy
- Much improved support for remotes
- Improved support for index entries
- A couple of leaks fixed
- And much more…
Thanks to Carlos Martín Nieto, Xu Tao, Alexander Bayandin and Petr Hosek.
- New remote ref-specs API: #290
- New Repository.reset(...): #292, #294
- Export GIT_DIFF_MINIMAL: #293
- New Repository.merge(...): #295
- Fix Repository.blame argument handling: #297
- Fix build error on Windows: #298
- Fix typo in the README file, Blog → Blob: #301
- Now Diff.patch returns None if no patch: #232, #303
- New Walker.simplify_first_parent(): #304
Thanks to Jose Plana, Victor Garcia, Petr Hosek, Adam Spiers, Eric Schrijver, Óscar San José and Xu Tao.
New in this release is support for blame, and upgrade to libgit2 0.20. Detailed list of changes follows.
- Renamed Repository.head_is_orphaned to Repository.head_is_unborn
- Repository.listall_references and Repository.listall_branches now return a list, instead of a tuple
- The prototype of clone_repository changed
- Added support for blame
- Carlos Martín Nieto
- Xu Tao
- Huang Huang
- Petr Hosek
Just a week after the release of v0.17.1, here is v0.17.2, it fixes a single but rather important bug. The source distribution, as it was uploaded to pypi, was badly broken: it did not include fundamental files, so the package did not build at all. The problem was reported in issue 115
The bug was present forever actually, the MANIFEST file automatically generated by distutils did include everything, for instance test data files were missing. Things just get worse after the code refactoring that happened in v0.17.1
Now the setup.py file has been modified to generate the MANIFEST from Git itself, using git ls-files, so we don’t miss anything else again.
pygit2 is a Python package that gives access to core features of the Git control version system. These features are implemented by the libgit2 shared library written in C, pygit2 is just a Python wrapper around this library.
The new version 0.17.1 of pygit2 adds several new features: support for diffs, the reflog and configuration files.
There has been too a huge code refactoring. Before the whole code was in a single C file of almost 4.000 lines of code, it has been split in several smaller files. Also pygit2 is now a package and contains a (for now empty) utils.py file, where we will add utility functions written in Python.
Other changes include improved support for Windows, and integration with Travis, a continuous integration service.
Several people has contributed to this new release, but Nico von Geyso deserves a special mention as the author of the code refactoring and of serveral new features.
Many thanks too to András Veres-Szentkirályi, Christian Boos, Martin Lenders, Petr Hosek and pistacchio for their contributions.