Releases: go-git/go-git
Releases · go-git/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
Utils:
- utils/fs: Fix O_CREATE flag check in OpenFile src-d/go-git#116
- utils/fs: utils/fs: added test for open-read-seek src-d/go-git#117
v4.0.0-rc2
Core
- added Blobs, Trees and Objects iterators to Repository src-d/go-git#114
Clients
- ssh: fix ssh client src-d/go-git#96
Formats
- packp: package advrefs encodes and decodes advertised references messages src-d/go-git#92
- packp: package ulreq encodes and decodes upload-request messages src-d/go-git#106
- index: added index format support src-d/go-git#91 src-d/go-git#105
- config: package to encode, decode and manipulate git config files src-d/go-git#97
Utils
- binary: new package that collect all the spare helper functions about binary operations src-d/go-git#102
- fs: move 'os' and 'test' to separate packages src-d/go-git#93
- fs: add Remove() src-d/go-git#94
- fs: add OpenFile method to filesystem interface src-d/go-git#104
- fs: new memory file system src-d/go-git#108
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: Adds support to open local repositories and to use file-based object …
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.