Releases: src-d/go-git
v4.7.0
Here is a new release of go-git, containing a mix of performance improvements (#929, #942), new features and issue fixing, take a log to the change log.
Change Log
- storage/dotgit: add KeepDescriptors option #942 (jfontan)
- plumbing/storer: add ExclusiveAccess option to Storer #941 (jfontan)
- plumbing: object, Clamp object timestamps before unix epoch to unix epoch #939 (taruti)
- config: add commentChar to core config struct #937 (zaquestion)
- storage/dotgit: search for incoming dir only once #935 (jfontan)
- storage/dotgit: Remove empty dirs when cleaning with Dir opt. #933 (kuba--)
- plumbing, storage: add bases to the common cache #929 (jfontan)
- plumbing/idxfile: object iterators returns entries in offset order #927 (jfontan)
- plumbing/format: gitignore, fixed an edge case for .gitignore #924 (fkorotkov)
v4.6.0
Finally here is a new release of go-git, coming with big performance improvements thanks to the new packfile representation #899 (erizocosmico) and parser #898 (jfontan), speeding up the execution of read operation from 25% to almost a 300% depending on the repository topology.
Also, this release comes with some new features and bug fixes, take a look at the change log.
Change Log
- plumbing/format: packfile, new packfile representation #899 (erizocosmico)
- plumbing/format: packfile, new packfile parser #898 (jfontan)
- plumbing/format: packfile, improve packfile reading performance #906 (erizocosmico) #916 (jfontan)
- plumbing/transport/internal: common, support Gogs for ErrRepositoryNotFound #888 (jeromedoucet)
- plumbing/format/idxfile: add new Index and MemoryIndex #896 (erizocosmico)
- plumbing/object: fix PGP signature encoder/decoder #892 (jfontan)
- git: Add ability to PGP sign commits #920 (vancluever)
- git: fix cloning of a single tag #910 (fkorotkov)
- plumbing: object, return ErrFileNotFound in FindEntry. Fixes #883 #885 (jsravn)
v4.5.0
This release includes a variety of different changes, some performance improvements for packafile index decoding, but as well as some functions at storage were made public, plus some other fixes and improvements.
Change Log
- plumbing: add context to allow cancel on diff/patch computing #874 (smola)
- utils: diff, skip useless rune->string conversion #873 (smola)
- Remote.Fetch: error on missing remote reference #870 (mcuadros)
- packfile: optimise NewIndexFromIdxFile for a very common case #869 (dsymonds)
- storage/filesystem: avoid norwfs build flag #864 (smola)
- plumbing/transport: http, Adds token authentication support [Fixes #858] #859 (ebilling)
- storage: filesystem, make ObjectStorage constructor public #857 (erizocosmico)
v4.4.1
Here is a new version of go-git
including some memory optimizations by dsymonds and a couple of bug fixes, #480 and #793.
Change Log
- plumbing: packfile, Don't copy empty objects. Fixes #840 #856 (kuba--)
- plumbing: object, adds tree path cache to trees. Fixes #793 #855 (jfontan)
- dotgit: Move package outside internal. #854 (ajnavarro)
- config: modules, worktree: Submodule fixes for CVE-2018-11235 #848 (josephvusich)
- packfile: improve Index memory representation to be more compact #846 (dsymonds)
- idxfile: optimise allocations in readObjectNames #845 (dsymonds)
v4.4.0
New go-git
version including a new functionality to support excludes on the Worktree
and also a big improvement of performance for repositories with thousands of references.
Change Log
v4.3.1
Maintenance release including purely bug fixes.
Change Log
v4.3.0
A small feature release including the new PlainOpenWithOptions
function able to locate the .git
folder by @mvdan and a basic feature that was missing, the tracking branches on Clone
by @TheHipbot
Change Log
Implemented enhancements:
v4.2.1
Changes
Merged pull requests:
- Add commit hash to blame result #795 (shanedasilva)
- *: Use CheckClose with named returns and fix tests #794 (jfontan)
- Resolve HEAD if symRefs capability is not supported #792 (ajnavarro)
- *: skip time consuming tests #786 (mcuadros)
- Fix RefSpec.Src() #783 (maguro)
- Worktree.Checkout: handling of symlink on Windows #778 (fkollmann)
- plumbing: format: pktline, Accept oversized pkt-lines up to 65524 bytes #797 (jvusich)
v4.2.0
After a very busy week, at Git Merge 2018, here is a new release of go-git, doesn't include anything very relevant besides the new Worktree.[AddGlob|RemoveBlob]
methods and the new traversal order for Repository.Log
done by @ilius
Changes
Fixed bugs:
- Basic Auth: Encode special characters in password #723
- Plain clone throws error even when repo doesn't exist #755
Merged pull requests:
- repository.Log: add alternatives for commit traversal order #771 (ilius)
- storage/filesystem: optimize packfile iterator #769 (dennwc)
- Unused params, unused code, make Go tip's vet happy #766 (mvdan)
- plubming: transport, Escape the user and pswd for endpoint. Fixes #723 #762 (zkry)
- plumbing: ssh, return error when creating public keys from invalid PEM #759 (mdelillo)
- blame: Add blame line data #754 (shanedasilva)
- new methods Worktree.[AddGlob|RemoveBlob] and recursive Worktree.[Add|Remove] #739 (mcuadros)
v4.1.1
Maintenance release including purely bug fixes. The only API change is Clone.NoCheckout
option #721 beeing added.
Changes
Fixed bugs:
- transport: http, fix services redirecting only info/refs #751 (mcuadros)
- plumbing: diff, fix crash when a small ending equal-chunk #749 (irias)
- plumbing: format/packfile, fix panic retrieving object hash. #744 (jfontan)
- storage/filesystem/shallow: fix error checking #740 (ferhatelmas)
- plumbing: format/packfile, fix crash with cycle deltas #731 (jfontan)
Merged pull requests: