Releases: go-git/go-git
Releases · go-git/go-git
v5.12.0
What's Changed
- git: Worktree.AddWithOptions: add skipStatus option when providing a specific path by @moranCohen26 in #994
- git: Signer: fix usage of crypto.Signer interface by @wlynch in #1029
- git: Remote, fetch, adds the prune option. by @juliens in #366
- git: Add crypto.Signer option to CommitOptions. by @wlynch in #996
- git: Worktree checkout tag hash id (#959) by @aymanbagabas in #966
- git: Worktree, Don't panic on empty or root path when checking if it is valid by @tim775 in #1042
- git: Add commit validation for Reset by @pjbgf in #1048
- git: worktree_commit, Fix amend commit to apply changes. Fixes #1024 by @onee-only in #1045
- git: Implement Merge function with initial
FastForwardMerge
support by @pjbgf in #1044 - plumbing: object, Make first commit visible on logs filtered with filename. Fixes #191 by @onee-only in #1036
- plumbing: no panic in printStats function. Fixes #177 by @nodivbyzero in #971
- plumbing: object, Optimize logging with file. by @onee-only in #1046
- plumbing: object, check legitimacy in (*Tree).Encode by @niukuo in #967
- plumbing: format/gitattributes, close file in ReadAttributesFile by @prskr in #1018
- plumbing: check setAuth error. Fixes #185 by @nodivbyzero in #969
- plumbing: object, fix variable defaultUtf8CommitMessageEncoding name spell error by @Jerry-yz in #987
- utils: merkletrie, calculate filesystem node's hash lazily. by @candid82 in #825
- utils: update comment in node.go's Hash() by @codablock in #992
- _example: fix 404 link and added ssh-agent clone link by @grinish21 in #1022
- _example: checkout-branch example by @dlambda in #446
- _example: example for git clone using ssh-agent by @pjbgf in #998
New Contributors
- @candid82 made their first contribution in #825
- @codablock made their first contribution in #992
- @Jerry-yz made their first contribution in #987
- @wlynch made their first contribution in #996
- @moranCohen26 made their first contribution in #994
- @grinish21 made their first contribution in #1022
- @prskr made their first contribution in #1018
- @dlambda made their first contribution in #446
- @juliens made their first contribution in #366
- @onee-only made their first contribution in #1036
- @tim775 made their first contribution in #1042
- @niukuo made their first contribution in #967
- @avoidalone made their first contribution in #1047
Full Changelog: v5.11.0...v5.12.0
v5.11.0
What's Changed
- git: validate reference names (#929) by @aymanbagabas in #950
- git: stop iterating at oldest shallow when pulling. Fixes #305 by @dhoizner in #939
- plumbing: object, enable renames in getFileStatsFromFilePatches by @djmoch in #941
- storage: filesystem, Add option to set a specific FS for alternates by @pjbgf in #953
- Align worktree validation with upstream and remove build warnings by @pjbgf in #958
New Contributors
Full Changelog: v5.10.1...v5.11.0
v5.10.1
What's Changed
- Worktree, ignore ModeSocket files by @steiler in #930
- git: add tracer package by @aymanbagabas in #916
- remote: Flip clause for fast-forward only check by @adityasaky in #875
- plumbing: transport/ssh, Fix nil pointer dereference caused when an unreachable proxy server is set. Fixes #900 by @anandf in #901
- plumbing: uppload-server-info, implement upload-server-info by @aymanbagabas in #896
- plumbing: optimise memory consumption for filesystem storage by @pjbgf in #799
- plumbing: format/packfile, Refactor patch delta by @pjbgf in #908
- plumbing: fix empty uploadpack request error by @aymanbagabas in #932
- plumbing: transport/git, Improve tests error message by @pjbgf in #752
- plumbing: format/pktline, Respect pktline error-line errors by @aymanbagabas in #936
- utils: remove ioutil.Pipe and use std library io.Pipe by @aymanbagabas in #922
- utils: move trace to utils by @aymanbagabas in #931
- cli: separate go module for cli by @aymanbagabas in #914
- build: bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #887
- build: bump actions/setup-go from 3 to 4 by @dependabot in #891
- build: bump github.com/skeema/knownhosts from 1.2.0 to 1.2.1 by @dependabot in #888
- build: bump actions/checkout from 3 to 4 by @dependabot in #890
- build: bump golang.org/x/sys from 0.13.0 to 0.14.0 by @dependabot in #907
- build: bump golang.org/x/text from 0.13.0 to 0.14.0 by @dependabot in #906
- build: bump golang.org/x/crypto from 0.14.0 to 0.15.0 by @dependabot in #917
- build: bump golang.org/x/net from 0.17.0 to 0.18.0 by @dependabot in #918
New Contributors
Full Changelog: v5.10.0...v5.10.1
v5.10.0
What's Changed
- PlainInitOptions.Bare and allow using InitOptions with PlainInitWithOptions by @ThinkChaos in #782
- Worktree, apply ProxyOption on Pull by @nodivbyzero in #840
- Repository: add clone --shared feature by @enverbisevac in #860
- build: Add github workflow to check commit message format by @pjbgf in #867
- Improve handling of remote errors by @makkes in #866
- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #873
- plumbing: commitgraph, Add generation v2 support by @zeripath in #869
- plumbing: protocol/packp, Add validation for decodeLine by @pjbgf in #868
- plumbing: parse the encoding header of the commit object by @liwenqiu in #761
- plumbing: commitgraph, allow SHA256 commit-graphs by @zeripath in #853
- plumbing: commitgraph, Allow reading commit-graph chains by @zeripath in #854
- plumbing/object: Support mergetag in merge commits by @adityasaky in #847
New Contributors
- @nodivbyzero made their first contribution in #840
- @adityasaky made their first contribution in #847
- @hezhizhen made their first contribution in #836
- @0x34d made their first contribution in #855
- @liwenqiu made their first contribution in #761
- @enverbisevac made their first contribution in #860
- @makkes made their first contribution in #866
Full Changelog: v5.9.0...v5.10.0
v5.9.0
What's Changed
- git: worktree: add Amend option to CommitOptions by @john-cai in #438
- git: worktree, reset ignored files that are part of the worktree: Fixes #819 by @daolis in #821
- plumbing: Do not swallow http message coming from VCS providers by @matejrisek in #835
- plumbing: transport, handle IPv6 while parsing endpoint. Fixes #740 by @ninedraft in #820
- *: update goproxy dependency to fix CVE-2023-37788 vulnerability by @svghadi in #832
- *: bump dependencies and Go to 1.19 by @pjbgf in #837
New Contributors
Full Changelog: v5.8.1...v5.9.0
v5.8.1
v5.8.0
What's Changed
- git: Fix fetching after shallow clone. Fixes #305 by @AriehSchneier in #778
- git: enable fetch with unqualified references by @AriehSchneier in #762
- git: don't add to want if exists, shallow and depth 1 by @AriehSchneier in #763
- git: Clone HEAD should not force master. Fixes #363 by @AriehSchneier in #758
- git: fix the issue with submodules having the SCP style URL fail due to the wrong URL parsing by @matejrisek in #756
- git: add a clone option to allow for shallow cloning of submodules by @matejrisek in #765
- worktree: minor speedup for
doAddDirectory
by @ThinkChaos in #702 - _examples: Remove wrong comment by @pascal-hofmann in #357
- *: Handle paths starting with tilde by @ricci2511 in #808
- *: Handle paths starting with ~Username by @AriehSchneier in #809
- storage: filesystem/dotgit, add support for tmp_objdir prefix by @L11R in #812
- plumbing: gitignore, replace user dir in path by @Jleagle in #772
- plumbing: gitignore, fix incorrect parsing. Fixes #500 by @AriehSchneier in #781
- plumbing: http, Fix empty repos on Git v2.41+ by @pjbgf in #802
- plumbing: packp, A request is not empty if it contains shallows. Fixes #328 by @AriehSchneier in #792
- plumbing: blame, Complete rewrite. Fixes #603 by @AriehSchneier in #789
- plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any user home. Fixes #578 by @AriehSchneier in #785
New Contributors
- @Jleagle made their first contribution in #772
- @pascal-hofmann made their first contribution in #357
- @ricci2511 made their first contribution in #808
- @L11R made their first contribution in #812
Full Changelog: v5.7.0...v5.7.1
v5.7.0
What's Changed
- *: Add support for initializing SHA256 repositories by @pjbgf in #707
- git: add mirror clone option by @aymanbagabas in #735
- git: Add support to ls-remote with peeled references. Fixes #749 by @pjbgf in #750
- git: fix cloning with branch name by @AriehSchneier in #755
- git: Worktree, add check to see if file already checked in. Fixes #718 by @cbbm142 in #719
- git: Worktree, git grep bare repositories by @aymanbagabas in #728
- git: Add Depth to SubmoduleUpdateOptions by @matejrisek in #754
- git: Testing, Fix tests not cleaning temp folders by @AriehSchneier in #769
- git: remote, add support for a configurable timeout. by @andrewpollock in #753
- git: Allow Initial Branch to be configurable by @techknowlogick in #764
- storage: filesystem/dotgit, Improve load packed-refs by @fcharlie in #743
- storage: filesystem, Populate index before use. Fixes #148 by @AriehSchneier in #722
- plumbing: resolve non-external delta references by @ZauberNerd in #485
- plumbing/transport: fix regression in scp-like match by @jotadrilo in #715
- plumbing/transport: Add support for custom proxy settings by @aryan9600 in #744
- *: small fixes across the codebase by @pjbgf in #770
- *: bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 by @dependabot in #776
- *: bump dependencies by @pjbgf in #748
- *: bump Go version to 1.18 on go.mod by @pjbgf in #774
- *: add Codeql workflow and bump dependencies by @pjbgf in #775
- ci: fix upstream git build for master branch by @pjbgf in #739
New Contributors
- @ZauberNerd made their first contribution in #485
- @jotadrilo made their first contribution in #715
- @fcharlie made their first contribution in #743
- @AriehSchneier made their first contribution in #755
- @cbbm142 made their first contribution in #719
- @aryan9600 made their first contribution in #744
- @matejrisek made their first contribution in #754
- @andrewpollock made their first contribution in #753
- @techknowlogick made their first contribution in #764
Full Changelog: v5.6.1...v5.7.0
v5.6.1
What's Changed
- plumbing/transport: don't use the
firstErrLine
when it is empty by @ThinkChaos in #682 - plumbing/transport: ssh, unable to pass a custom HostKeyCallback func by @aymanbagabas in #655
- storage/filesystem: dotgit: fix a filesystem race in Refs/walkReferencesTree by @MichaelMure in #659
- *: bump golang.org/x/net from 0.2.0 to 0.7.0 by @dependabot in #684
- *: bump dependencies by @pjbgf in #697
- *: fix panic for empty revisions by @pjbgf in #696
- ci: bump GitHub actions, enable go test race detection and stop using developer's GPG keys during test execution by @pjbgf in #701
Full Changelog: v5.6.0...v5.6.1