v0.20.0 (2017-08-16)
API Changes
Blob.createFromBufferis now asyncBlob.createFromWorkdiris now async- Added
Blob.createFromDiskto create a blob from a file on disk - Added
Blob.filteredContentto retrieve filtered content from a blob similar to as if it was being checked out to the working directory Status.fileis now asyncMerge.mergeis now asyncRebase.commitis now asyncRebase.abortis now asyncCommit.amendis now asyncReflog.writeis now async- Added
Branch.remoteNameto get the name of the remote of a branch Filter's functions are now async- Added
FilterRegistryto register and unregister filters.
Summary of changes bumping libgit2
PR #1329 bumped libgit2 which brought in many changes and bug fixes.
Included merged libgit2 PRs:
- Include fixups #4288
- Docs: Fix inline comments for git_diff_hunk #4330
- oid: use memcmp in git_oid__hashcmp #4328
- sha1_lookup: drop sha1_entry_pos function #4327
- sha1_position: convert do-while to while #4326
- patch_generate: represent buffers as void pointers #4304
- Remove unused 'sys/remote.h' header #4323
- tests: rebase::submodule: verify initialization method calls #4320
- tests: rewrite rebase-submodule .gitmodule file #4275
- tsort: remove idempotent conditional assignment #4314
- Build with patched libcurl #4317
- win32: provide fast-path for retrying filesystem operations #4311
- Configuration file fixes with includes #4250
- Patch ID calculation #4272
- signature: don't leave a dangling pointer to the strings on parse failure #4306
- git_reset_*: pass parameters as const pointers #4287
- tests: config: fix missing declaration causing error #4291
- Convert port with htons() in p_getaddrinfo() #4280
- Out of tree builds #4235
- cmake: Permit disabling external http-parser #4278
- merge: fix potential free of uninitialized memory #4277
- merge: perform exact rename detection in linear time #4202
- travis: upgrade container to Ubuntu 14.04 #4211
- Fix template dir empty string #4273
- adding GIT_FILTER_VERSION to GIT_FILTER_INIT as part of convention #4267
- travis: replace use of deprecated homebrew/dupes tap #4268
- Test improvements #4269
- Read prefix tests #4265
- Allow creation of a configuration object in an in-memory repository #4263
- travis: install openssl explicitly #4266
- smart_protocol: fix parsing of server ACK responses #4261
- odb_read_prefix: reset error in backends loop #4264
- Update version number to 0.26 #4262
- CHANGELOG: add various changes introduced since v0.25 #4254
- Ensure packfiles with different contents have different names #4088
- Update to forced checkout and untracked files #4260
- settings: rename
GIT_OPT_ENABLE_SYNCHRONOUS_OBJECT_CREATION#4259 - Buffer growing cleanups #4255
- Coverity fixes #4253
- SHA1DC update #4258
- Fix path computations for compressed index entries #4236
- (Temporarily) disable UNC tests #4256
- fix build with libressl #4251
- Fix issue with directory glob ignore in subdirectories #4239
- Submodule working directory #4243
- Introduce home directory expansion function for config files, attribute files #4179
- Fix proxy auto detect not utilizing callbacks #4097
- git_repository_set_head: use tag name in reflog #4174
- revparse: support open-ended ranges #4231
- Fix GCC warnings #4240
- Update README: VS -> VSTS #4238
- tests: repo: fix repo discovery tests on overlayfs #4232
- libssh2 shutdown #4229
- WIP: squash some memleaks #4226
- Verify object hashes #4197
- transport: provide a getter for the proxy options #4206
- Debian HTTPS feature test failure #4216
- Do not free config when creating remote #4224
- socket_stream: continue to next addrinfo on socket creation failure #4219
- Honor read-only flag when writing to config backends #4217
- diff_parse: free object instead of its pointer #4215
Included non-merged libgit2 PRs:
- Parallelize checkout_create_the_new for ntfs perf gains #4205
- negotiate always fails via libcurl #4126