Follows Semantic Versioning.
- If an email has partially the same email as another co-author they will get included. This addresses this issue. Issue 213
- Update to
suggest-coauthorswill show a select interactive list usinginquirer/checkbox. Select one or more authors to save. Reducing the number of steps to add new co-authors. - Finished migration to TypeScript for the main files in git-mob and git-mob-core packages. Issue 83
- Removed the following commands because I think they are low value to maintain. See readme on how to edit/delete co-authors.
git delete-coauthorgit edit-coauthor
- Expose a public function to format Git message co-author trailers in one place. For consumers like Git Mob VS Code extension.
- Migrate git template
git-messagesfunction to TypeScript.
- When no path set for the commit template, default to the global template. Don't use a relative path.
- Global path to
.git-coauthorscan be overwritten by env varGITMOB_COAUTHORS_PATH.
- When creating a new
.git-coauthorsusing thecreateCoAuthorsFileit is created only globally by providing internally the global path.
- Specify authors to save when creating the coAuthor file.
- Clean up unused features in author file:
coAuthor,authorformat functions and no need for thewritemethod. - Remove unused old command API
- Convert
GitAuthorsfunction to TypeScript and define new internal typeCoAuthorSchema. - Breaking:
getSelectedCoAuthorsnow returns a promise with typeAuthor[]. - Breaking:
getPrimaryAuthornow returns a promise with typeAuthor. - Breaking:
setPrimaryAuthornow returns a promisevoid. - New:
searchGitHubAuthorssearch by name and this will returnAuthor[].
- Integrate breaking changes in core API:
getPrimaryAuthor,getSelectedCoAuthors,setPrimaryAuthor. - New flag
-ppath will print out path to.git-coauthorsfile.
-- git suggest-coauthors [author name or author email] can filter by author name or email. Addresses issue 90
- Remove legacy git-message API and replace it with git-mob-core
git-messageAPI - Remove legacy git-add-coauthor API and replace it with git-mob-core
saveNewCoAuthors - Remove legacy git-suggest-coauthor API and replace it with git-mob-core
repoAuthorList - Migrated
git-suggest-coauthorsto TypeScript git mob-print -iuses git mob core to print out initials of selected co-authors- Post install script to create global coauthor file uses
createCoAuthorsFilefrom git mob core - Migrated mob print file to TypeScript
- Removed legacy git mob commands no longer used.
- Removed legacy git commands no longer used.
- Added function to create a global coauthor file
createCoAuthorsFile.
- Added
repoAuthorListwhich will list all contributors from a repo - Added filter to
repoAuthorListwhich uses--authorflag fromgit shortlog.
- Add new co-author module migrated to TypeScript and tested
- Change to async
topLevelDirectory,insideWorkTree- may not be needed in future versions resolve-git-message-pathmigrated to TypeScript- Changed to async
resolveGitMessagePath,setCommitTemplate
- Now uses ESM modules and requires Node 16+ (Most parts work with Node 14)
- CI run tests in 3 Node environments 14, 16, 18
- Updated dependencies and dev dependencies to patch security issues
- Updated tests to support ESM
- Requires Node 16+
- Module systems support ESM and CJS
gitMobConfig = {
localTemplate(): <Promise<boolean>>,
fetchFromGitHub(): <Promise<boolean>>,
};
gitConfig = {
getLocalCommitTemplate(): <Promise<string>>,
getGlobalCommitTemplate(): <Promise<string>>,
};
gitRevParse = {
insideWorkTree(): string,
topLevelDirectory(): boolean,
};- Integrated git-mob-core for main
git mobfeatures - Reduced the calls to
gitCLI to speed up command execution forgit mob - Convert src git-mob and spec files from JS to TS
- Added config manager feature to set the child process cwd when needed see issue 109. New functions
getConfigandupdateConfig.
- Integrated git-mob-core solo function
- Override the global
.git-coauthorsfile with one specified in root folder of a Git repository. Thanks to @tlabeeuw
updateGitTemplatewill keep global template up to date if local one is used for current repository.pathToCoAuthorswill return the path to.git-coauthorsfile.