Release 0.19.0

API changes:

- New Oid type
- Changed signature of Repository.create_reference
- Reference.oid and Reference.hex removed, use Reference.target instead
- Drop "del Index[path]" from the API, use Index.remove(path) instead
- Drop TreeEntry.to_object
- Changed signature of Repository.checkout
- Repository.create_blob_from_file removed, use instead new methods
  Repository.create_blob_fromworkdir and
  Repository.create_blob_from_disk

New features:

- Add len(TreeBuilder) and TreeBuilder.get
- Add Repository.merge_base
- Support changing the head with "Repository.head = refname"
- Improved support for diff
- Add support for clone
- Python 2: Support hex oids as byte strings
- Add Reference.get_object()
- Add Remote.save
- Add support for branches, new type Branch

Other:

- Upgraded to libgit2 0.19
- Partial documentation review

Thanks to Nico von Geyso, Daniel Rodríguez Troitiño, Bernardo Heynemann,
Rémi Duraffort, Andrey Devyatkin, Hervé Cauwelier, Jiunn Haur Lim, Richo
Healey, Carlos Martín Nieto, David Fischer, Fraser Tweedale, Jun Omae
and Xu Tao.
This commit is contained in:
J. David Ibáñez 2013-07-13 12:04:14 +02:00
parent 075495cb80
commit 5a007802d0
4 changed files with 9 additions and 6 deletions

View File

@ -53,6 +53,7 @@ This is the list of authors of pygit2, sorted by number of commits (as shown by
- W Trevor King
- Dave Borowitz
- Carlos Martín Nieto
- Daniel Rodríguez Troitiño
- Richo Healey
- Christian Boos
- Julien Miotte
@ -64,6 +65,7 @@ This is the list of authors of pygit2, sorted by number of commits (as shown by
- John Szakmeister
- David Versmisse
- Petr Hosek
- Rémi Duraffort
- Sebastian Thiel
- Han-Wen Nienhuys
- Petr Viktorin
@ -71,9 +73,9 @@ This is the list of authors of pygit2, sorted by number of commits (as shown by
- Amit Bakshi
- Andrey Devyatkin
- Ben Davis
- Daniel Rodríguez Troitiño
- Hervé Cauwelier
- Jared Flatow
- Jiunn Haur Lim
- Sarath Lakshman
- Vicent Marti
- Zoran Zaric
@ -81,6 +83,7 @@ This is the list of authors of pygit2, sorted by number of commits (as shown by
- Benjamin Kircher
- Benjamin Pollack
- Bryan O'Sullivan
- David Fischer
- David Sanders
- Eric Davis
- Eric Schrijver

View File

@ -48,9 +48,9 @@ copyright = u'2013, J. David Ibáñez'
# built documents.
#
# The short X.Y version.
version = '0.18'
version = '0.19'
# The full version, including alpha/beta/rc tags.
release = '0.18.1'
release = '0.19.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@ -26,8 +26,8 @@ When those are installed, you can install pygit2:
$ python setup.py test
.. note:: A minor version of pygit2 must be used with the corresponding minor
version of libgit2. For example, pygit2 v0.18.x must be used with libgit2
v0.18.0.
version of libgit2. For example, pygit2 v0.19.x must be used with libgit2
v0.19.0.
Building on \*nix (including OS X)
===================================

View File

@ -23,4 +23,4 @@
# the Free Software Foundation, 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
__version__ = '0.18.1'
__version__ = '0.19.0'