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

View File

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

View File

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

View File

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