Releases: nodegit/nodegit
Releases · nodegit/nodegit
Release list
v0.25.0-alpha.16 (2019-07-23)
Summary of changes
- Adds support for Node 12
- Updates lodash dependency to address security notice
- Expose Tree.prototype.createUpdated(repo, numUpdates, updates)
- Bumps libgit2
- Fixes gitignore issue with pattern negation
- Remote.list now gets the correct list of remotes if remotes are changed by external process
Merged PRs into NodeGit
- Bump libgit2 #1705
- Fix Tree#createUpdated #1704
- Fix failing tests on CI #1703
- Audit lodash and fix package-lock.json #1702
- Implement support for Node 12 #1696
Merged PRs into LibGit2
- config_file: refresh when creating an iterator #5181
- azure: drop powershell #5141
- fuzzer: use futils instead of fileops #5180
- w32: fix unlinking of directory symlinks #5151
- patch_parse: fix segfault due to line containing static contents #5179
- ignore: fix determining whether a shorter pattern negates another #5173
- patch_parse: handle missing newline indicator in old file #5159
- patch_parse: do not depend on parsed buffer's lifetime #5158
- sha1: fix compilation of WinHTTP backend #5174
- repository: do not initialize HEAD if it's provided by templates #5176
- configuration: cvar -> configmap #5138
- Evict cache items more efficiently #5172
- clar: fix suite count #5175
- Ignore VS2017 specific files and folders #5163
- gitattributes: ignore macros defined in subdirectories #5156
- clar: correctly account for "data" suites when counting #5168
- Allocate memory more efficiently when packing objects #5170
- fileops: fix creation of directory in filesystem root #5131
- win32: fix fuzzers and have CI build them #5160
- Config parser separation #5134
- config_file: implement stat cache to avoid repeated rehashing #5132
- ci: build with ENABLE_WERROR on Windows #5143
- Fix Regression: attr: Correctly load system attr file (on Windows) #5152
- hash: fix missing error return on production builds #5145
- Resolve static check warnings in example code #5142
- Multiple hash algorithms #4438
- More documentation #5128
- Incomplete commondir support #4967
- Remove warnings #5078
- Re-run flaky tests #5140
v0.25.0-alpha.15 (2019-07-15)
Summary of changes
- Removed NSEC optimization due to performance regressions in repositories that did not use NSEC optimization cloned via NodeGit.
Merged PRs into NodeGit
v0.25.0-alpha.14 (07-01-2019)
Summary of changes
- Always use builtin regex for linux for portability
Merged PRs into NodeGit
v0.25.0-alpha.13 (2019-06-27)
Summary of changes
- Turn on GIT_USE_NSEC on all platforms
- Use Iconv on OSX for better internationalization support.
- Bump libgit2 to bring in:
- NTLM proxy support
- Negotiate/Kerberos proxy support
- Various git config fixes
- Various git ignore fixes
- Various libgit2 performance improvements
- Windows/Linux now use PCRE for regex, OSX uses regcomp_l, this should address collation issues in diffing
- Fixed bug with Repository.prototype.refreshReferences dying on corrupted reference. We now ignore corrupted references
Merged PRs into NodeGit
- refresh_references.cc: skip refs that can't be directly resolved #1689
- Bump libgit2 to fork of latest master #1690
Merged PRs into LibGit2
- errors: use lowercase
- largefile tests: only write 2GB on 32-bit platforms
- Fix broken link in README
- net: remove unused
git_headlist_cb - cmake: default NTLM client to off if no HTTPS support
- attr: rename constants and macros for consistency
- Change API instances of
fromnountofrom_noun(with an underscore) - object: rename git_object__size to git_object_size
- Replace fnmatch with wildmatch
- Documentation fixes
- Removal of
p_fallocate - Modularize our TLS & hash detection
- tests: merge::analysis: use test variants to avoid duplicated test suites
- Rename options initialization functions
- deps: ntlmclient: disable implicit fallthrough warnings
- gitignore with escapes
- Handle URLs with a colon after host but no port
- Merge analysis support for bare repos
- Add memleak check docs
- Data-driven tests
- sha1dc: update to fix endianess issues on AIX/HP-UX
- Add NTLM support for HTTP(s) servers and proxies
- Callback type names should be suffixed with
_cb - tests: checkout: fix symlink.git being created outside of sandbox
- ignore: handle escaped trailing whitespace
- Ignore: only treat one leading slash as a root identifier
- online tests: use gitlab for auth failures
- Ignore files: don't ignore whitespace
- cache: fix cache eviction using deallocated key
- SECURITY.md: split out security-relevant bits from readme
- Restore NetBSD support
- repository: fix garbage return value
- cmake: disable fallthrough warnings for PCRE
- Configuration parsing: validate section headers with quotes
- Loosen restriction on wildcard "*" refspecs
- Use PCRE for our fallback regex engine when regcomp_l is unavailable
- Remote URL last-chance resolution
- Skip UTF8 BOM in ignore files
- We've already added
ZLIB_LIBRARIEStoLIBGIT2_LIBSso don't also add thezlibrary - Define SYMBOLIC_LINK_FLAG_DIRECTORY if required
- Support symlinks for directories in win32
- rebase: orig_head and onto accessors
- cmake: correctly detect if system provides
regcomp - Correctly write to missing locked global config
- [RFC] util: introduce GIT_DOWNCAST macro
- examples: implement SSH authentication
- git_repository_init: stop traversing at windows root
- config_file: check result of git_array_alloc
- patch_parse.c: Handle CRLF in parse_header_start
- fix typo
- sha1: don't inline
git_hash_global_initfor win32 - ignore: treat paths with trailing "/" as directories
- Test that largefiles can be read through the tree API
- Tests for symlinked user config
- patch_parse: fix parsing addition/deletion of file with space
- Optimize string comparisons
- Negation of subdir ignore causes other subdirs to be unignored
- xdiff: fix typo
- docs: clarify relation of safe and forced checkout strategy
- Each hash implementation should define
git_hash_global_init - [Doc] Update URL to git2-rs
- remote: Rename git_remote_completion_type to _t
- odb: provide a free function for custom backends
- Have git_branch_lookup accept GIT_BRANCH_ALL
- Rename git_transfer_progress to git_indexer_progress
- High-level map APIs
- refdb_fs: fix loose/packed refs lookup racing with repacks
- Allocator restructuring
- cache: fix misnaming of
git_cache_free - examples: produce single cgit2 binary
- Remove public 'inttypes.h' header
- Prevent reading out of bounds memory
- Fix a memory leak in odb_otype_fast()
- Make stdalloc__reallocarray call stdalloc__realloc
- Remove
git_time_monotonic - Fix a very improbable memory leak in git_odb_new()
- ci: publish documentation on merge
- Enable creation of worktree from bare repo's default branch
- Allow bypassing check for '.keep' file
- Release v0.28.1
v0.25.0-alpha.12 (2019-06-03)
Summary of changes
- Fix bug in Repository.prototype.refreshReferences where new remote references from a new remote added/fetched on a separte repo instance do not show up in the result.
- Fixed a prototype problem with cherrypick, merge, and other collections that have a function at their root. call, apply, and bind should now be on NodeGit.Cherrypick.
- Bumped libssh2 to resolve security notice.
Merged PRs into NodeGit
v0.25.0-alpha.11 (2019-05-20)
Summary of changes
- Improve speed and correctness of fileHistoryWalk. The API should not have changed; however, when the end of the walk has been reached,
reachedEndOfHistorywill be specified on the resulting array.
Merged PRs into NodeGit
v0.25.0-alpha.10 (2019-05-03)
Summary of changes
- SECURITY Drops support for Ubuntu 14 after EOL
- Fixes openssl prebuilt downloads for electron builds
- Fixes commits retrieved from Commit.prototype.parent
- DEPRECATION Support signing commits in Repository.prototype.mergeBranches. The last parameter
processMergeMessageCallbackis now deprecated, but will continue to work. Use the options object instead, which will contain theprocessMergeMessageCallback, as well as thesigningCb. - SECURITY Bump Node-Gyp to 4.0.0 to fix tar security vulnerability
- BREAKING
getRemotesno longer returns remote names, it now returns remote objects directly. UsegetRemoteNamesto get a list of remote names. - Optimized a set of routines in NodeGit. These methods as written in Javascript require hundreds or thousands of requests to async workers to retrieve data. We've batched these requests and performed them on a single async worker. There are now native implementations of the following:
- Repository.prototype.getReferences: Retrieves all references on async worker.
- Repository.prototype.getRemotes: Retrieves all remotes on async worker.
- Repository.prototype.getSubmodules: Retrieves all submodules on async worker.
- Repository.prototype.refreshReferences: Open sourced function from GitKraken. Grabs a lot of information about references on an async worker.
- Revwalk.prototype.commitWalk: Retrieves up to N commits from a revwalk on an async worker.
Merged PRs into NodeGit
- EOL for Node 6 and Ubuntu 14.04 #1649
- Ensures that commits from parent(*) has a repository #1658
- Update openssl conan distributions #1663
- Support signing in Repository#mergeBranches #1664
- Dependency upgrade node-gyp upgraded to 4.0.0 #1672
- Add additional getters to streamline information gathering (breaking change) #1671
v0.25.0-alpha.9 (2019-03-04)
Summary of changes
- Removed access to the diff_so_far param in git_diff_notify_cb and git_diff_progress_cb
- Changed FilterSource.prototype.repo to async to prevent segfaults on filters that run during Submodule.status
- Clean up deprecation messages to inform users of what was deprecated, not just what users should switch to
- When installing on a machine that has yarn and does not have npm, the preinstall script should succeed now
- ceiling_dirs is now an optional parameter to Repository.discover
Merged PRs into NodeGit
v0.25.0-alpha.8 (2019-02-27)
Summary of changes
- Fixed segfault in NodeGit.Merge.analysis and NodeGit.Merge.analysisForRef
Merged PRs into NodeGit
v0.25.0-alpha.7 (2019-02-20)
Summary of changes
- Fixed bug where repeated uses of extractSignature would fail because of the use of regex.prototype.match
- Added support for building on IBM i (PASE) machines
- Fixed bug where signingCb in rebases would not return error codes to LibGit2 if the signingCb threw or rejected
- Exposed AnnotatedCommit methods:
- AnnotatedCommit.prototype.ref
- Exposed Apply methods:
- Apply.apply applies a diff to the repository
- Apply.toTree applies a diff to a tree
- Exposed Config methods:
- Config.prototype.deleteEntry
- Config.prototype.deleteMultivar
- Config.prototype.getBool
- Config.prototype.getInt32
- Config.prototype.getInt64
- Config.prototype.setMultivar
- Config.prototype.snapshot
- Exposed ConfigIterator with methods:
- ConfigIterator.create
- ConfigIterator.createGlob
- ConfigIterator.createMultivar
- ConfigIterator.prototype.next
- Exposed Merge methods:
- Merge.analysis
- Merge.analysisForRef
- Expose Remote methods:
- Remote.createWithOpts