nodegit v0.28.0-alpha.1 Release Notes
Release Date: 2020-11-20 // over 3 years ago-
Summary of changes
- ๐ Notice We planned to fix / address Electron 11 compatibility, but ran into some roadblocks. Fix is coming soon, follow #114 for details
- โฌ๏ธ Drops support for Node 10.x.y, < 12.19.x, < 14.10.0
- Brings in LibGit2 1.0.0
- NodeGit.Config.prototype.setBool handles truthiness, and NodeGit.Config.prototype.getBool returns true or false
- ๐ Fix GC ownership memory issue
- ๐ฆ Exposes sidebandProgress callback in GitRemoteCallbacks
- ๐ Fixes issue with winhttp and optional client certificates
- โ Addresses proxy issue with certification validation in Windows
- ๐ Fix crash in NodeGit.Repository.prototype.refreshReferences
- ๐ Deprecations
- NodeGit.Cred is deprecated in favor of NodeGit.Credential
๐ Merged PRs into NodeGit
- Include libgit2 winhttp proxy fix #1824
- Return/accept boolean for Config#get/setBool #1827
- First stab at #1800 (async/await in examples) #1802
- returns_info: fix ownedByIndices #1823
- Remove block for sideband_progress in remote_callbacks #1801
- Use key to grab credential type #1828
- ๐ท Don't strdup nullptr from git_tag_message #1822
- ๐จ Refactor for context-awareness #1795
- โก๏ธ Update longpath enums to match libgit2 #1797
- Bump libgit2 to fork of v1.0.0 #1788
๐ Merged PRs into Libgit2
- winhttp: skip certificate check if unable to send request #5814
- โ sanitizer ci: skip negotiate tests
- ๐ท Add CI support for Memory and UndefinedBehavior Sanitizers
- Access HEAD via the refdb backends
- config_entries: Avoid excessive map operations
- mwindow: set limit on number of open files
- ๐จ refdb: a set of preliminary refactorings for the reftable backend
- CMake modernization pt2
- โ Make the tests run cleanly under UndefinedBehaviorSanitizer
- โ Make the tests pass cleanly with MemorySanitizer
- ๐ Enable building git2.rc resource script with GCC
- Make NTLMClient Memory and UndefinedBehavior Sanitizer-clean
- ๐จ Random fixes for diff-printing
- index: Update the documentation for git_index_add_from_buffer()
- ๐ท Introduce CI with GitHub Actions
- ๐ Random code cleanups and fixes
- ๐ examples: log: fix documentation generation
- Missing declarations
- clar: add tap output option
- ๐ diff::parse: don't include
diff.h
- ๐ release script: fix typo
- โ
tests: offer exact name matching with a
$
suffix - ๐ httpclient: support googlesource
- git_packbuilder_write: Allow setting path to NULL to use the default path
- ๐ mempack: Use threads when building the pack
- clar: use internal functions instead of /bin/cp and /bin/rm
- ๐จ strarray refactoring
- CMake cleanups
- git_pool_init: allow the function to fail
- โ diff::workdir: actually test the buffers
- ๐ง Handle unreadable configuration files
- Make git_index_write() generate valid v4 index
- OpenSSL certificate memory leak
- โ tests: checkout: fix flaky test due to mtime race
- ๐ cmake: Sort source files for reproducible builds
- futils: fix order of declared parameters for
git_futils_fake_symlink
- ๐ฆ Check the version in package.json
- ๐ tests: merge: fix printf formatter on 32 bit arches
- โก๏ธ Update package.json
- Introduce GIT_ASSERT macros
- ๐ README.md: Add instructions for building in MinGW environment
- Fix uninitialized stack memory and NULL ptr dereference in stash_to_index
- Honor GIT_CHECKOUT_DISABLE_PATHSPEC_MATCH for all checkout types
- ๐ docs: add documentation for our coding style
- MSVC: Enable Control Flow Guard (CFG)
- ๐ git__hexdump: better mimic
hexdump -C
- Feature: Allow blame to ignore whitespace change
- deps: ntlmclient: use htobe64 on NetBSD too
- sysdir: remove unused git_sysdir_get_str
- Fix typo causing removal of symbol 'git_worktree_prune_init_options'
- pack: Improve error handling for get_delta_base()
- repo::open: ensure we can open the repository
- ๐ examples: additions and fixes
- ๐ merge: cache negative cache results for similarity metrics
- Handle repository format v1
- CMake: backend selection streamlining
- ๐ refdb_fs: remove unused header file
- patch: correctly handle mode changes for renames
- gitignore: clean up patterns from old times
- ๐ README.md: update build matrix to reflect our latest releases
- ๐ Release v1.0
- ๐ refdb_backend: improve callback documentation
- credentials: provide backcompat for opaque structs
- Fix segfault when calling git_blame_buffer()
- Fix spelling error
- refdb_fs: initialize backend version
- ๐ repository: improve commondir docs
- cmake: use install directories provided via GNUInstallDirs
- azure: fix errors due to curl and removal of old VM images
- win32: don't canonicalize relative paths
- CMake booleans
- Set proper pkg-config dependency for pcre2
- ๐ httpclient: use a 16kb read buffer for macOS
- ci: provide globalsign certs for bionic
- deps: ntlmclient: fix htonll on big endian FreeBSD
- azure-pipelines: download GlobalSign's certificate manually
- deps: ntlmclient: fix missing htonll symbols on FreeBSD and SunOS
- README: add language binding link to wasm-git
- Fix #5410: fix installing libgit2.pc in wrong location
- ๐ Fix typo on GIT_USE_NEC
- โ tests: diff: verify that we are able to diff with empty subtrees
- ๐ README: update our build matrix to reflect current releases
- ๐ azure: docker: set up HOME variable to fix Coverity builds
- sha1_lookup: inline its only function into "pack.c"
- ๐ Coverity fixes
- ๐ Release 0.99
- ๐ Release script
- ๐ azure: fix ARM32 builds by replacing gosu(1)
- ๐ openssl: fix Valgrind issues in nightly builds
- ๐ fuzzers: Fix the documentation
- ๐จ azure: fix misleading messages printed to stderr being
- โ tests: iterator: fix iterator expecting too few items
- transports: http: fix custom headers not being applied
- azure: fix Coverity pipeline
- โ azure: tests: re-run flaky proxy tests
- fetchhead: strip credentials from remote URL
- azure-pipelines: properly expand negotiate passwords
- cred: change enum to git_credential_t and GIT_CREDENTIAL_*
- โก๏ธ Update link to libgit2 Julia language binding
- ๐ Return int from non-free functions
- ๐ HTTP: Support Apache-based servers with Negotiate
- internal types: change enums from
type_t
to_t
- ๐ merge: Return non-const git_repository from accessor method
- ๐ Do not return free'd git_repository object on error
- refs: refuse to delete HEAD
- index: replace map macros with inline functions
- Make type mismatch errors consistent
- win32: fix relative symlinks pointing into dirs
- โ ntlm: prevent (spurious) compiler warnings
- ๐ Adds support for multiple SSH auth mechanisms being used sequentially
- netops: handle intact query parameters in service_suffix removal
- ๐จ Refactor packfile code to use zstream abstraction
- Fix git_submodule_sync with relative url
- http: avoid generating double slashes in url
- Correct typo in name of referenced parameter
- ๐ patch_parse: fix undefined behaviour due to arithmetic on NULL pointers
- smart_pkt: fix overflow resulting in OOB read/write of one byte
- ๐ branch: clarify documentation around branches
- examples: checkout: implement guess heuristic for remote branches
- Minor doc improvements
- โก๏ธ attr: Update definition of binary macro
- ๐ Security fixes for master
- ๐ release.md: note that we do two security releases
- MSVC: Fix warning C4133 on x64: "function": Incompatible types - from "unsigned long *" to "size_t *"
- ๐ ci: only push docs from the libgit2/libgit2 repo
- global: convert to fiber-local storage to fix exit races
- Fix copy&paste in git_cherrypick_commit docstring
- ๐ patch_parse: fix out-of-bounds reads caused by integer underflow
- โ tests: fix compiler warning if tracing is disabled
- tests: config: only test parsing huge file with GITTEST_INVASIVE_SPEED
- ๐ diff: complete support for git patchid
- Memory optimizations for config entries
- ๐ ssh: include sha256 host key hash when supported
- Various examples shape-ups
- โ Improve trace support in tests
- Move
git_off_t
togit_object_size_t
- Add compat typdef for git_attr_t
- โก๏ธ CI Build Updates
- ๐ patch_parse: use paths from "---"/"+++" lines for binary patches
- Follow 308 redirect in WinHTTP transport
- fileops: correct error return on p_lstat failures when mkdir
- ๐ config_mem: implement support for snapshots
- ๐ patch_parse: fix segfault when header path contains whitespace only
- config_file: fix race when creating an iterator
- Fix crash if snapshotting a config_snapshot
- fix a bug introduced in 8a23597b
- ๐ reflogs: fix behaviour around reflogs with newlines
- commit: verify objects exist in git_commit_with_signature
- ๐ patch_parse: fixes for fuzzing errors
- apply: add GIT_APPLY_CHECK
- refs: unlock unmodified refs on transaction commit
- ๐ fuzzers: add a new fuzzer for patch parsing
- ๐ patch_parse: handle patches without extended headers
- ๐ฏ Provide a wrapper for simple submodule clone steps
- ๐ macOS GSS Support
- cmake: correct the link stanza for CoreFoundation
- Fix file locking on POSIX OS
- โก๏ธ cmake: update minimum CMake version to v3.5.1
- ๐ patch_parse: handle patches with new empty files
- ๐ DRY commit parsing
- ๐ azure: avoid building and testing in Docker as root
- regexp: implement a new regular expression API
- ๐ git_refdb API fixes
- Don't use enum for flags
- valgrind: suppress memory leaks in libssh2_session_handshake
- buffer: fix writes into out-of-memory buffers
- cred: add missing private header in GSSAPI block
- CMake pkg-config modulification
- โก๏ธ Update chat resources in README.md
- Circular header splitting