This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
Releases: src-d/go-git
Releases · src-d/go-git
v4.0.0-rc7
Public API
- remote: add Push (#178)
- server: add git server implementation (#190)
- doc: clarify return values of Pull/Fetch. (#205)
- remote: fix empty-git-upload-pack error in fetch, when the reference points
to a non-commit object (#209) - repository: fix pull when fetch returns up-to-date (#207)
- blame: make line and its members public so they can be actually used (#213)
Plumbing
- plumbing: fix signature with
>
before<
parsing (#204)
Formats
- packfile/decoder: speed up packfile iterator when specific type (#200)
- packfile/scanner: reset zlib reader instead of new one (#201)
Transport
Test
- fixtures: new fixture with multiple root commits (#212)
- fixtures: initialize fixtures into separated methods (#214)
- test: restore default protocol. (#215)
Internals
- fix typo in docs for plumbing/difftree/internal/merkletrie/iter.go (#192)
v4.0.0-rc6
v4.0.0-rc5
Public API:
- remote: make Fetch atomic. (#185)
- remote: sideband support (#164)
- move plumbing from top level package to plumbing (#183)
- repository: Ref -> Reference; Refs -> References. (#168)
- file: return error on File.Contents() if reader fails (#150)
- rev-list command implementation for objects (#135)
- difftree: merkletrie internal package with iterator (#133)
Config:
Storage:
Protocols:
- packp: add report status message. (#162)
- packp: add reference update request encoder. (#147)
- packp: add upload pack response message (#161)
- capabilities: implementation (#144, #151, #153, #170)
- sideband: muxer and demuxer (#143)
Formats:
- packfile: packfile write (#131)
- packfile: delta calculation (#182, #186, #172, #159)
- pktline: fix readPayloadLen err handling (#148)
Utils:
- fs: memory fix read offset
- fs: memory fix ReadDir, error getting filename
Transports:
v4.0.0-rc4
v4.0.0-rc3
v4.0.0-rc2
Core
- added Blobs, Trees and Objects iterators to Repository #114
Clients
- ssh: fix ssh client #96
Formats
- packp: package advrefs encodes and decodes advertised references messages #92
- packp: package ulreq encodes and decodes upload-request messages #106
- index: added index format support #91 #105
- config: package to encode, decode and manipulate git config files #97
Utils
v4.0.0-rc1
Core:
- reference logic implementation f0b12f7 3ad1e56 155de5e
- *Iter.ForEach method f1a93f9
- removing Object.Content, the Reader should be used always c97c955
- ObjectStore.Get with type hinting 524a28b
- ObjectStore transactions support 2da64ea
- ObjectStorage.Writer 1ae588f
Formats:
- packfile: new interfaces e88ca4b 148d586 f6f3148
- idxfile: CRC32 calculation d2d68d3
- fix: idxfile: fix errors of fanout on non-sorted hashes e8788ad 32fbb94
Clients:
- common: new Endpoint implementation and InstallProtocol function fcdabab
- common: Endpoint SCP like support 5bc503f
- fix: common: GitUploadPackInfo correct handling capabilities and symrefs b024ef7
- http: better error handling on empty repositories and connection errors 5135923
- http/ssh: default auth creation based on URL 8e282db
Storage:
- memory: implemented ReferenceStorage and Storage 3cce02e
- filesystem: support of unpacked objects d7e1fee
- filesystem: new FS abstration layer 490027a
- filesystem: idx file generation 49a8238 0023a4a
- filesystem: multiples packfiles support a42a12f 881bcd3 d998fde
Public API:
- important changes in Repository and Remote entities 998511e
- Repository.Clone and Remote.Fetch 5578008 b7c471f
- New Remote.Pull method 86a411c
- New Remote.Fetch method 501a972
- NewFilesystemRepository and example 890a0e3
- Repository and Remotes based on core.ConfigStore 1b72ad7
- Commit.History and new WalkCommitHistory 9013848
- Tree/Commit/Blob.Encode implementation cac95dd
- TreeWalker optimization 57f7a36
- DiffTree based on TreeWalker 180de1e
- impovements on *.String() methods a35adcf
v3.2.0
v3.1.1: Repository head (#61)
* add Repository.Head() tests * add head support for remote repos and more tests * add head support for local repos * clean code * remove dead code
v3.1.0
API changes:
- changed
repository.Commits()
: now it also returns an error. - changed
repository.Tags()
: now it also returns an error. - new function:
repository.NewRepositoryFromFS(fs, path)
creates go-git repositories from .git directories on disk, although, the filesystem is an interface that can be implemented to access git repositories stored anywhere in any format.