Skip to content

Commit 75c1c3b

Browse files
committed
Bump to v0.28.0-alpha.1
1 parent 5e04ffa commit 75c1c3b

3 files changed

Lines changed: 193 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 191 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,194 @@
11
# Change Log
22

3+
## <a name="v0-28-0-alpha.1" href="#v0-28-0-alpha-1">v0.28.0-alpha.1</a> [(2020-11-20)](https://github.com/nodegit/nodegit/releases/tag/v0.28.0-alpha.1)
4+
5+
[Full Changelog](https://github.com/nodegit/nodegit/compare/v0.27.0...v0.28.0-alpha.1)
6+
7+
#### Summary of changes
8+
- Support for Electron 11
9+
- Drops support for Node 10.x.y, < 12.19.x, < 14.10.0
10+
- Drops support for Electron 9.x.y, < 10.1.4
11+
- Brings in LibGit2 1.0.0
12+
- Fixes issue with winhttp and optional client certificates
13+
- Deprecations
14+
- NodeGit.Cred is deprecated in favor of NodeGit.Credential
15+
16+
#### Merged PRs into NodeGit
17+
- [Merge pull request #1795 from ianhattendorf/refactor/context-awareness](https://github.com/nodegit/nodegit/pull/1795)
18+
- [Merge pull request #1797 from ianhattendorf/fix/longpaths-enum](https://github.com/nodegit/nodegit/pull/1797)
19+
- [Merge pull request #1788 from implausible/bump/libgit2-1.0.0](https://github.com/nodegit/nodegit/pull/1788)
20+
21+
#### Merged PRs into Libgit2
22+
- [sanitizer ci: skip negotiate tests](https://github.com/libgit2/libgit2/pull/5596)
23+
- [Add CI support for Memory and UndefinedBehavior Sanitizers](https://github.com/libgit2/libgit2/pull/5569)
24+
- [Access HEAD via the refdb backends](https://github.com/libgit2/libgit2/pull/5563)
25+
- [config_entries: Avoid excessive map operations](https://github.com/libgit2/libgit2/pull/5582)
26+
- [mwindow: set limit on number of open files](https://github.com/libgit2/libgit2/pull/5396)
27+
- [refdb: a set of preliminary refactorings for the reftable backend](https://github.com/libgit2/libgit2/pull/5570)
28+
- [CMake modernization pt2](https://github.com/libgit2/libgit2/pull/5547)
29+
- [Make the tests run cleanly under UndefinedBehaviorSanitizer](https://github.com/libgit2/libgit2/pull/5568)
30+
- [Make the tests pass cleanly with MemorySanitizer](https://github.com/libgit2/libgit2/pull/5567)
31+
- [Enable building git2.rc resource script with GCC](https://github.com/libgit2/libgit2/pull/5561)
32+
- [Make NTLMClient Memory and UndefinedBehavior Sanitizer-clean](https://github.com/libgit2/libgit2/pull/5571)
33+
- [Random fixes for diff-printing](https://github.com/libgit2/libgit2/pull/5559)
34+
- [index: Update the documentation for git_index_add_from_buffer()](https://github.com/libgit2/libgit2/pull/5419)
35+
- [Introduce CI with GitHub Actions](https://github.com/libgit2/libgit2/pull/5550)
36+
- [Random code cleanups and fixes](https://github.com/libgit2/libgit2/pull/5552)
37+
- [examples: log: fix documentation generation](https://github.com/libgit2/libgit2/pull/5553)
38+
- [Missing declarations](https://github.com/libgit2/libgit2/pull/5551)
39+
- [clar: add tap output option](https://github.com/libgit2/libgit2/pull/5541)
40+
- [diff::parse: don't include `diff.h`](https://github.com/libgit2/libgit2/pull/5545)
41+
- [release script: fix typo](https://github.com/libgit2/libgit2/pull/5543)
42+
- [tests: offer exact name matching with a `$` suffix](https://github.com/libgit2/libgit2/pull/5537)
43+
- [httpclient: support googlesource](https://github.com/libgit2/libgit2/pull/5536)
44+
- [git_packbuilder_write: Allow setting path to NULL to use the default path](https://github.com/libgit2/libgit2/pull/5532)
45+
- [mempack: Use threads when building the pack](https://github.com/libgit2/libgit2/pull/5531)
46+
- [clar: use internal functions instead of /bin/cp and /bin/rm](https://github.com/libgit2/libgit2/pull/5528)
47+
- [strarray refactoring](https://github.com/libgit2/libgit2/pull/5535)
48+
- [CMake cleanups](https://github.com/libgit2/libgit2/pull/5481)
49+
- [git_pool_init: allow the function to fail](https://github.com/libgit2/libgit2/pull/5526)
50+
- [diff::workdir: actually test the buffers](https://github.com/libgit2/libgit2/pull/5529)
51+
- [Handle unreadable configuration files](https://github.com/libgit2/libgit2/pull/5527)
52+
- [Make git_index_write() generate valid v4 index](https://github.com/libgit2/libgit2/pull/5533)
53+
- [OpenSSL certificate memory leak](https://github.com/libgit2/libgit2/pull/5522)
54+
- [tests: checkout: fix flaky test due to mtime race](https://github.com/libgit2/libgit2/pull/5515)
55+
- [cmake: Sort source files for reproducible builds](https://github.com/libgit2/libgit2/pull/5523)
56+
- [futils: fix order of declared parameters for `git_futils_fake_symlink`](https://github.com/libgit2/libgit2/pull/5517)
57+
- [Check the version in package.json](https://github.com/libgit2/libgit2/pull/5516)
58+
- [tests: merge: fix printf formatter on 32 bit arches](https://github.com/libgit2/libgit2/pull/5513)
59+
- [Update package.json](https://github.com/libgit2/libgit2/pull/5511)
60+
- [Introduce GIT_ASSERT macros](https://github.com/libgit2/libgit2/pull/5509)
61+
- [README.md: Add instructions for building in MinGW environment](https://github.com/libgit2/libgit2/pull/5512)
62+
- [Fix uninitialized stack memory and NULL ptr dereference in stash_to_index](https://github.com/libgit2/libgit2/pull/5510)
63+
- [Honor GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH for all checkout types ](https://github.com/libgit2/libgit2/pull/5378)
64+
- [docs: add documentation for our coding style](https://github.com/libgit2/libgit2/pull/5482)
65+
- [MSVC: Enable Control Flow Guard (CFG)](https://github.com/libgit2/libgit2/pull/5500)
66+
- [git__hexdump: better mimic `hexdump -C`](https://github.com/libgit2/libgit2/pull/5431)
67+
- [Feature: Allow blame to ignore whitespace change](https://github.com/libgit2/libgit2/pull/5383)
68+
- [deps: ntlmclient: use htobe64 on NetBSD too](https://github.com/libgit2/libgit2/pull/5487)
69+
- [sysdir: remove unused git_sysdir_get_str](https://github.com/libgit2/libgit2/pull/5485)
70+
- [Fix typo causing removal of symbol 'git_worktree_prune_init_options'](https://github.com/libgit2/libgit2/pull/5483)
71+
- [pack: Improve error handling for get_delta_base()](https://github.com/libgit2/libgit2/pull/5425)
72+
- [repo::open: ensure we can open the repository](https://github.com/libgit2/libgit2/pull/5480)
73+
- [examples: additions and fixes](https://github.com/libgit2/libgit2/pull/5421)
74+
- [merge: cache negative cache results for similarity metrics](https://github.com/libgit2/libgit2/pull/5477)
75+
- [Handle repository format v1](https://github.com/libgit2/libgit2/pull/5388)
76+
- [CMake: backend selection streamlining](https://github.com/libgit2/libgit2/pull/5440)
77+
- [refdb_fs: remove unused header file](https://github.com/libgit2/libgit2/pull/5461)
78+
- [patch: correctly handle mode changes for renames](https://github.com/libgit2/libgit2/pull/5466)
79+
- [gitignore: clean up patterns from old times](https://github.com/libgit2/libgit2/pull/5474)
80+
- [README.md: update build matrix to reflect our latest releases](https://github.com/libgit2/libgit2/pull/5478)
81+
- [Release v1.0](https://github.com/libgit2/libgit2/pull/5471)
82+
- [refdb_backend: improve callback documentation](https://github.com/libgit2/libgit2/pull/5464)
83+
- [credentials: provide backcompat for opaque structs](https://github.com/libgit2/libgit2/pull/5465)
84+
- [Fix segfault when calling git_blame_buffer()](https://github.com/libgit2/libgit2/pull/5445)
85+
- [Fix spelling error](https://github.com/libgit2/libgit2/pull/5463)
86+
- [refdb_fs: initialize backend version](https://github.com/libgit2/libgit2/pull/5456)
87+
- [repository: improve commondir docs](https://github.com/libgit2/libgit2/pull/5444)
88+
- [cmake: use install directories provided via GNUInstallDirs](https://github.com/libgit2/libgit2/pull/5455)
89+
- [azure: fix errors due to curl and removal of old VM images](https://github.com/libgit2/libgit2/pull/5451)
90+
- [win32: don't canonicalize relative paths](https://github.com/libgit2/libgit2/pull/5435)
91+
- [CMake booleans](https://github.com/libgit2/libgit2/pull/5422)
92+
- [Set proper pkg-config dependency for pcre2](https://github.com/libgit2/libgit2/pull/5439)
93+
- [httpclient: use a 16kb read buffer for macOS](https://github.com/libgit2/libgit2/pull/5432)
94+
- [ci: provide globalsign certs for bionic](https://github.com/libgit2/libgit2/pull/5437)
95+
- [deps: ntlmclient: fix htonll on big endian FreeBSD](https://github.com/libgit2/libgit2/pull/5426)
96+
- [azure-pipelines: download GlobalSign's certificate manually](https://github.com/libgit2/libgit2/pull/5433)
97+
- [deps: ntlmclient: fix missing htonll symbols on FreeBSD and SunOS](https://github.com/libgit2/libgit2/pull/5417)
98+
- [README: add language binding link to wasm-git](https://github.com/libgit2/libgit2/pull/5420)
99+
- [Fix #5410: fix installing libgit2.pc in wrong location](https://github.com/libgit2/libgit2/pull/5412)
100+
- [Fix typo on GIT_USE_NEC](https://github.com/libgit2/libgit2/pull/5413)
101+
- [tests: diff: verify that we are able to diff with empty subtrees](https://github.com/libgit2/libgit2/pull/5374)
102+
- [README: update our build matrix to reflect current releases](https://github.com/libgit2/libgit2/pull/5408)
103+
- [azure: docker: set up HOME variable to fix Coverity builds](https://github.com/libgit2/libgit2/pull/5409)
104+
- [sha1_lookup: inline its only function into "pack.c"](https://github.com/libgit2/libgit2/pull/5390)
105+
- [Coverity fixes](https://github.com/libgit2/libgit2/pull/5391)
106+
- [Release 0.99](https://github.com/libgit2/libgit2/pull/5291)
107+
- [Release script](https://github.com/libgit2/libgit2/pull/5372)
108+
- [azure: fix ARM32 builds by replacing gosu(1)](https://github.com/libgit2/libgit2/pull/5406)
109+
- [openssl: fix Valgrind issues in nightly builds](https://github.com/libgit2/libgit2/pull/5398)
110+
- [fuzzers: Fix the documentation](https://github.com/libgit2/libgit2/pull/5400)
111+
- [azure: fix misleading messages printed to stderr being](https://github.com/libgit2/libgit2/pull/5392)
112+
- [tests: iterator: fix iterator expecting too few items](https://github.com/libgit2/libgit2/pull/5393)
113+
- [transports: http: fix custom headers not being applied](https://github.com/libgit2/libgit2/pull/5387)
114+
- [azure: fix Coverity pipeline](https://github.com/libgit2/libgit2/pull/5382)
115+
- [azure: tests: re-run flaky proxy tests](https://github.com/libgit2/libgit2/pull/5381)
116+
- [fetchhead: strip credentials from remote URL](https://github.com/libgit2/libgit2/pull/5373)
117+
- [azure-pipelines: properly expand negotiate passwords](https://github.com/libgit2/libgit2/pull/5375)
118+
- [cred: change enum to git_credential_t and GIT_CREDENTIAL_*](https://github.com/libgit2/libgit2/pull/5336)
119+
- [Update link to libgit2 Julia language binding](https://github.com/libgit2/libgit2/pull/5371)
120+
- [Return int from non-free functions](https://github.com/libgit2/libgit2/pull/5365)
121+
- [HTTP: Support Apache-based servers with Negotiate](https://github.com/libgit2/libgit2/pull/5286)
122+
- [internal types: change enums from `type_t` to `_t`](https://github.com/libgit2/libgit2/pull/5364)
123+
- [merge: Return non-const git_repository from accessor method](https://github.com/libgit2/libgit2/pull/5358)
124+
- [Do not return free'd git_repository object on error](https://github.com/libgit2/libgit2/pull/5361)
125+
- [refs: refuse to delete HEAD](https://github.com/libgit2/libgit2/pull/5360)
126+
- [index: replace map macros with inline functions](https://github.com/libgit2/libgit2/pull/5351)
127+
- [Make type mismatch errors consistent](https://github.com/libgit2/libgit2/pull/5359)
128+
- [win32: fix relative symlinks pointing into dirs](https://github.com/libgit2/libgit2/pull/5355)
129+
- [ntlm: prevent (spurious) compiler warnings](https://github.com/libgit2/libgit2/pull/5354)
130+
- [Adds support for multiple SSH auth mechanisms being used sequentially](https://github.com/libgit2/libgit2/pull/5305)
131+
- [netops: handle intact query parameters in service_suffix removal](https://github.com/libgit2/libgit2/pull/5339)
132+
- [Refactor packfile code to use zstream abstraction](https://github.com/libgit2/libgit2/pull/5340)
133+
- [Fix git_submodule_sync with relative url](https://github.com/libgit2/libgit2/pull/5322)
134+
- [http: avoid generating double slashes in url](https://github.com/libgit2/libgit2/pull/5325)
135+
- [Correct typo in name of referenced parameter](https://github.com/libgit2/libgit2/pull/5348)
136+
- [patch_parse: fix undefined behaviour due to arithmetic on NULL pointers](https://github.com/libgit2/libgit2/pull/5338)
137+
- [smart_pkt: fix overflow resulting in OOB read/write of one byte](https://github.com/libgit2/libgit2/pull/5337)
138+
- [branch: clarify documentation around branches](https://github.com/libgit2/libgit2/pull/5300)
139+
- [examples: checkout: implement guess heuristic for remote branches](https://github.com/libgit2/libgit2/pull/5283)
140+
- [Minor doc improvements](https://github.com/libgit2/libgit2/pull/5320)
141+
- [attr: Update definition of binary macro](https://github.com/libgit2/libgit2/pull/5333)
142+
- [Security fixes for master](https://github.com/libgit2/libgit2/pull/5331)
143+
- [release.md: note that we do two security releases](https://github.com/libgit2/libgit2/pull/5318)
144+
- [MSVC: Fix warning C4133 on x64: "function": Incompatible types - from "unsigned long *" to "size_t *"](https://github.com/libgit2/libgit2/pull/5317)
145+
- [ci: only push docs from the libgit2/libgit2 repo](https://github.com/libgit2/libgit2/pull/5316)
146+
- [global: convert to fiber-local storage to fix exit races](https://github.com/libgit2/libgit2/pull/5314)
147+
- [Fix copy&paste in git_cherrypick_commit docstring](https://github.com/libgit2/libgit2/pull/5315)
148+
- [patch_parse: fix out-of-bounds reads caused by integer underflow](https://github.com/libgit2/libgit2/pull/5312)
149+
- [tests: fix compiler warning if tracing is disabled](https://github.com/libgit2/libgit2/pull/5311)
150+
- [tests: config: only test parsing huge file with GITTEST_INVASIVE_SPEED](https://github.com/libgit2/libgit2/pull/5313)
151+
- [diff: complete support for git patchid](https://github.com/libgit2/libgit2/pull/5306)
152+
- [Memory optimizations for config entries](https://github.com/libgit2/libgit2/pull/5243)
153+
- [ssh: include sha256 host key hash when supported](https://github.com/libgit2/libgit2/pull/5307)
154+
- [Various examples shape-ups](https://github.com/libgit2/libgit2/pull/5272)
155+
- [Improve trace support in tests](https://github.com/libgit2/libgit2/pull/5309)
156+
- [Move `git_off_t` to `git_object_size_t`](https://github.com/libgit2/libgit2/pull/5123)
157+
- [Add compat typdef for git_attr_t](https://github.com/libgit2/libgit2/pull/5310)
158+
- [CI Build Updates](https://github.com/libgit2/libgit2/pull/5308)
159+
- [patch_parse: use paths from "---"/"+++" lines for binary patches](https://github.com/libgit2/libgit2/pull/5303)
160+
- [Follow 308 redirect in WinHTTP transport](https://github.com/libgit2/libgit2/pull/5285)
161+
- [fileops: correct error return on p_lstat failures when mkdir](https://github.com/libgit2/libgit2/pull/5302)
162+
- [config_mem: implement support for snapshots](https://github.com/libgit2/libgit2/pull/5299)
163+
- [patch_parse: fix segfault when header path contains whitespace only](https://github.com/libgit2/libgit2/pull/5298)
164+
- [config_file: fix race when creating an iterator](https://github.com/libgit2/libgit2/pull/5282)
165+
- [Fix crash if snapshotting a config_snapshot](https://github.com/libgit2/libgit2/pull/5293)
166+
- [fix a bug introduced in 8a23597b](https://github.com/libgit2/libgit2/pull/5295)
167+
- [reflogs: fix behaviour around reflogs with newlines](https://github.com/libgit2/libgit2/pull/5275)
168+
- [commit: verify objects exist in git_commit_with_signature](https://github.com/libgit2/libgit2/pull/5289)
169+
- [patch_parse: fixes for fuzzing errors](https://github.com/libgit2/libgit2/pull/5276)
170+
- [apply: add GIT_APPLY_CHECK](https://github.com/libgit2/libgit2/pull/5227)
171+
- [refs: unlock unmodified refs on transaction commit](https://github.com/libgit2/libgit2/pull/5264)
172+
- [fuzzers: add a new fuzzer for patch parsing](https://github.com/libgit2/libgit2/pull/5269)
173+
- [patch_parse: handle patches without extended headers](https://github.com/libgit2/libgit2/pull/5273)
174+
- [Provide a wrapper for simple submodule clone steps](https://github.com/libgit2/libgit2/pull/4637)
175+
- [macOS GSS Support](https://github.com/libgit2/libgit2/pull/5238)
176+
- [cmake: correct the link stanza for CoreFoundation](https://github.com/libgit2/libgit2/pull/5265)
177+
- [Fix file locking on POSIX OS](https://github.com/libgit2/libgit2/pull/5257)
178+
- [cmake: update minimum CMake version to v3.5.1](https://github.com/libgit2/libgit2/pull/5260)
179+
- [patch_parse: handle patches with new empty files](https://github.com/libgit2/libgit2/pull/5248)
180+
- [DRY commit parsing](https://github.com/libgit2/libgit2/pull/4445)
181+
- [azure: avoid building and testing in Docker as root](https://github.com/libgit2/libgit2/pull/5239)
182+
- [regexp: implement a new regular expression API](https://github.com/libgit2/libgit2/pull/5226)
183+
- [git_refdb API fixes](https://github.com/libgit2/libgit2/pull/5106)
184+
- [Don't use enum for flags](https://github.com/libgit2/libgit2/pull/5242)
185+
- [valgrind: suppress memory leaks in libssh2_session_handshake](https://github.com/libgit2/libgit2/pull/5240)
186+
- [buffer: fix writes into out-of-memory buffers](https://github.com/libgit2/libgit2/pull/5232)
187+
- [cred: add missing private header in GSSAPI block](https://github.com/libgit2/libgit2/pull/5237)
188+
- [CMake pkg-config modulification](https://github.com/libgit2/libgit2/pull/5206)
189+
- [Update chat resources in README.md](https://github.com/libgit2/libgit2/pull/5229)
190+
- [Circular header splitting](https://github.com/libgit2/libgit2/pull/5223)
191+
3192
## <a name="v0-27-0" href="#v0-27-0">v0.27.0</a> [(2020-07-28)](https://github.com/nodegit/nodegit/releases/tag/v0.27.0)
4193

5194
[Full Changelog](https://github.com/nodegit/nodegit/compare/v0.26.5...v0.27.0)
@@ -12,7 +201,7 @@
12201
- Prebuilds for Node 14, deprecate Node 8
13202
- Persist RemoteCallbacks and ProxyOptions on the remote if using Remote.prototype.connect. This fixes a segfault when using any routines on a connected remote.
14203

15-
### #Merged PRs into NodeGit
204+
####Merged PRs into NodeGit
16205
- [Upgrade build environments #1785](https://github.com/nodegit/nodegit/pull/1785)
17206
- [Remote needs to persist the callback/proxyOpts/headers #1784](https://github.com/nodegit/nodegit/pull/1784)
18207
- [Remove promisify-node and remove old callback api remnants](https://github.com/nodegit/nodegit/pull/1772)
@@ -31,7 +220,7 @@
31220
- Replace unmaintained request library with got
32221
- Remove promisify-node and use vanilla promises for all NodeGit promises
33222

34-
### #Merged PRs into NodeGit
223+
#### Merged PRs into NodeGit
35224
- [Remove promisify-node and remove old callback api remnants](https://github.com/nodegit/nodegit/pull/1772)
36225
- [Replace deprecated package request with got](https://github.com/nodegit/nodegit/pull/1771)
37226
- [Bump OpenSSL prebuilt to 1.1.1c](https://github.com/nodegit/nodegit/pull/1770)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nodegit",
33
"description": "Node.js libgit2 asynchronous native bindings",
4-
"version": "0.27.0",
4+
"version": "0.28.0-alpha.1",
55
"homepage": "http://nodegit.org",
66
"keywords": [
77
"libgit2",

0 commit comments

Comments
 (0)