Resolves an issue whereby using git.log with a callback (or awaiting the promise created from the now deprecated
simple-git/promise import) would fail to return the response to the caller.
2.25.0 TypeScript Types & Unit Tests, Commit Parsing
To help keep the TypeScript definitions in line with functionality, unit tests are now written in TypeScript.
When using git.commit, the first argument must be a string or array of strings. Passing another data type has long
been considered an error, but now a deprecation warning will be shown in the log and will be switched to an error
in version 3.
Fixes an issue in git.commit whereby a commit that included only deleted lines would be parsed as though the
deletions were inclusions.
2.24.0 Types updated
pull, push and pushTags parameter types updated to match new functionality and tests switched to TypeScript to ensure they are kept in sync
2.23.0 update debug dependency & master -> main
Upgrade debug dependency and remove use of now deprecated debug().destroy()
Renames the default source branch from master to main
2.22.0 add git.hashObject interface
Adds support for git hash-object FILE and git hash-object -w FILE
with new interface git.hashObject(...), with thanks to @MiOnim
2.21.0 add string[] to LogOptions type
Adds string[] to the set of types supported as options for git.log
Fix readme typos
2.20.1 Bug-fix: LogOptions type definition
LogOptions should be intersection rather than union types
2.19.0 - Upgrade task option filters
move the command/task option processing function to TypeScript
2.18.0 - Upgrade Clone / Mirror tasks
git.clone and git.mirror rewritten to fit the TypeScript tasks style.
resolves issue whereby git.clone didn't accept an object of options despite being documented as supporting.
2.17.0 - Add remote message parsing to git pull
git pull (and by extension git merge) adds remote message parsing to the PullResult type
Remote message parsing adds property remoteMessages.objects of type RemoteMessagesObjectEnumeration to capture the objects transferred in fetch and push.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps simple-git from 1.132.0 to 2.26.0.
Changelog
Sourced from simple-git's changelog.
Commits
b85fad3
2.26.069a4b6a
Resolves an issue whereby usinggit.log
with a callback (or awaiting the pr...be261e3
2.25.06e08e1c
Fix version scriptf4a01a8
TypeScript Unit Tests (#533)082bcc1
2.24.0adb7500
Types - pull, push, pushTags (#532)2df0f45
2.23.0d15ac3f
Debug destroy (#525)94d0808
2.22.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)