Skip to content

Tags: felipellrocha/pygit2

Tags

v0.20.0

Get ready to release v0.20.0

v0.19.1

Release 0.19.1

API changes:

- Rename Commit._message to Commit.raw_message
- Rename Signature._name to Signature.raw_name
- Rename Signature._email to Signature.raw_email

New features:

- Remote.push(refspec)
- Tag.get_object()

And some bugs fixed.

Thanks to Brodie Rao, Fraser Tweedale, Andrew Chin and Carlos Martín
Nieto.

v0.19.0

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.

v0.18.1

Release 0.18.1

Changes:

- (libgit2#203) Now Repository.head returns the resolved reference, not the
  commit

- (libgit2#210) Fix refcount error in Repository.create_remote

- (libgit2#212) Improved diff documentation

Thanks to Jun Omae and Nico von Geyso.

v0.18.0

Release v0.18.0

v0.17.3

Release v0.17.3

Features:

- New 'Blob.size' getter
- New 'Repository.create_blob_fromfile' method
- Signature, now the time and offset parameters are optional
- Improved diff support

Other:

- Add 'pygit2.__version__'
- Optimize usage of Travis
- Various fixes for the unit tests
- Various documentation improvements

Thanks to Alex Chamberlain, Carlos Martín Nieto, Eric Davis,
Eric Schrijver, Petr Viktorin, Ridge Kennedy and W. Trevor King.

v0.17.2

Release v0.17.2

Now the MANIFEST file is automatically built from Git. This fixes the
source distribution.

v0.17.1

Release v0.17.1

New features:

- Support for diffs
- Support for reflog
- Support for config files
- Add shortcut 'Repository.head'

Other changes:

- Improved support for Windows
- Improved documentation
- Refactoring: split the code into smaller files
- Refactoring: allow to add helper code written in Python
- Use Travis Continous-Integration service
  http://travis-ci.org/#!/libgit2/pygit2

Thanks to András Veres-Szentkirályi, Christian Boos, Martin Lenders,
Nico von Geyso, Petr Hosek and pistacchio.

v0.17.0

Release v0.17.0

Changes:

- Update to libgit2 v0.17.0
- New method 'Repository.create_blob'

Thanks to Nico von Geyso.

v0.16.2

Release v0.16.2

Highlights:

- Fix serious memory bug
- Change signature of 'TreeBuilder.insert'
- Improve support of Windows

Thanks to Benjamin Kircher, Han-Wen Nienhuys and Yonggang Luo.