libgit2sharp/CHANGELOG.md

5.2 KiB

LibGit2Sharp Changelog

LibGit2Sharp brings all the might and speed of libgit2, a native Git implementation, to the managed world of .Net and Mono.

v0.8

Additions

  • Add Repository.Reset() and support of Soft and Mixed modes
  • Make Repository.Commit() able to amend the current tip of the Head
  • Make the constructor of Repository able to open a repository from a working directory path
  • Make Repository.Index.RetriveStatus honor the .gitgnore files

Changes

  • Remove Repository.HasObject()
  • Change Repository.Init() to make it return an instance of the Repository type, instead of a string containing the path of the repository
  • Update libgit2 binaries to libgit2/libgit2@6d39c0d

Fixes

  • Reinit a repository doesn't throw anymore (#54)
  • Embedded libgit2 binaries are now compiled with THREADSAFE=ON flag (#64)
  • Prevent Repository.Head.IsCurrentRepositoryHead from throwing when the Repository is empty (#105)

v0.7

Additions

  • Allow access to System and Global configuration outside the context of a repo
  • Add overloads to index methods that accept collection of paths

Changes

  • Make Index.RetrieveStatus() return native file paths
  • Make IndexEntry able to cope with native file paths
  • Update libgit2 binaries to libgit2/libgit2@be00b00
  • Deprecate Repository.HasObject()

Fixes

  • Fix the build script to be fully XBuild compatible on Linux/Mono 2.10
  • Fix Index.Remove() to correctly handle files which have been deleted and modified in the working directory

v0.6.2

Fixes

  • Make Index methods (Stage, Unstage, Move... ) able to cope with native Windows directory separator char

v0.6.1

Changes

Fixes

  • Prevent segfault when determining the status a of repository
  • Fix retrieval of buggy status in some (not that rare) cases

v0.6

Additions

  • Add Configuration.Get() overload that takes key in parts
  • Add tracking branch details (#75)
  • Allow creation of commit using signature from configuration files
  • Add Index.Remove() (#78)
  • Add a string indexer to the Commit and Tree types in order to ease retrieval of TreeEntries

Changes

  • Provide default value for non existent configuration setting (#67)
  • Change the tree structure into which libgit2 binaries are located (#70)
  • Update libgit2 binaries to libgit2/libgit2@28c1451

Fixes

  • Prevent enumeration of branches from throwing when the repository contains remote branches (#69)
  • Fix Index.Stage(), Index.Unstage() (#78)

v0.5

Additions

  • Add Repository.Index.RetrieveStatus() (#49)
  • Add handling of configuration settings of the repository and retrieval of Remotes (#60)

Changes

  • Can now enumerate from multiple starting points
  • While enumerating commits, automatically dereference objects to a commit object id
  • Defer resolving of Branch.Tip, Tag.Target and Tag.Annotation
  • Replace usage of ApplicationException with LibGit2Exception
  • Update libgit2 binaries to libgit2/libgit2@35e9407

Fixes

  • Prevent enumeration of commits from throwing when starting from a tag which points at a blob or a tree (#62)
  • Prevent a branch from being removed if it's the current HEAD
  • References are now being enumerated in a ordered way
  • Fix Repository.Discover() implementation when no .git folder exists

v0.4

Additions

  • Add Repository.Index.Move()
  • Add handling of abbreviated identifiers
  • Add Repository.Discover() (#25)
  • Add TreeEntry.Type

Changes

Fixes

  • Prevents GitSharp from throwing when browsing a repository initialized with LibGit2Sharp (#56)
  • Hide the .git directory when initializing a new standard repository (#53)
  • Fix Repository.IsEmpty implementation when HEAD is in detached state (#52)
  • Relaxed handling of bogus signatures (#51)
  • Improve Mono compatibility (#46 and #47)
  • Remove dependency to msvcr100.dll

v0.3

Additions

  • Add basic Commit feature (#32)
  • Add Repository.Index.Unstage()
  • Add branch renaming feature
  • Add symbolsource.org support (#37)

Changes

  • Make Repository.Head return a Branch instead of a Reference
  • Defer resolving of Repository.Info
  • Update libgit2 binaries to libgit2/libgit2@a5aa5bd
  • Improved Mono compatibility (#34)

Fixes

  • Add required msvcr100.dll dependency (#43)
  • Fix index updating issue
  • Fix branch creation issue

v0.2.0

Changes

Fixes

  • Fix Repository.Info.IsEmpty
  • Fix default CommitCollection sorting behavior
  • Fix creation of reference to prevent it from choking on corrupted ones
  • Fix interop issue in a IIS hosted application

v0.1.1

Additions

  • Update staging mechanism to authorize full paths to be used (#23)

Fixes

  • Fix NuGet packaging

v0.1.0

  • Initial release