Skip to content

Releases: rkotze/git-mob

Fix to default commit template

10 Aug 13:28
Compare
Choose a tag to compare

git-mob-core 0.9.3

Added

  • Migrate git template git-messages function to TypeScript.

Fixes

  • When no path set for the commit template, default to the global template. Don't use a relative path.

Override global coauthor file path

06 May 14:09
Compare
Choose a tag to compare

git-mob-core 0.9.2

Fixes

  • Global path to .git-coauthors can be overwritten by env var GITMOB_COAUTHORS_PATH.

Git mob core: fix create global co-author

05 May 15:47
Compare
Choose a tag to compare

git-mob-core 0.9.1

Fixes

  • When creating a new .git-coauthors using the createCoAuthorsFile it is created only globally by providing internally the global path.

What's Changed

  • fix(pre-commit): Remove blob/master information from raw git reposito… by @abelazo in #124
  • Fix: Create global coauthor file by @rkotze in #125

New Contributors

Full Changelog: v3.2.0...v3.2.1

Breaking core updates with more promises

21 Jan 15:55
Compare
Choose a tag to compare

git-mob-core 0.9.0

Added

  • Specify authors to save when creating the coAuthor file.
  • Clean up unused features in author file: coAuthor, author format functions and no need for the write method.
  • Remove unused old command API
  • Convert GitAuthors function to TypeScript and define new internal type CoAuthorSchema.
  • Breaking: getSelectedCoAuthors now returns a promise with type Author[].
  • Breaking: getPrimaryAuthor now returns a promise with type Author.
  • Breaking: setPrimaryAuthor now returns a promise void.
  • New: searchGitHubAuthors search by name and this will return Author[]. #122

git-mob 3.2.0

Added

  • Integrate breaking changes in core API: getPrimaryAuthor, getSelectedCoAuthors, setPrimaryAuthor.
  • New flag -p path will print out path to .git-coauthors file

Full Changelog: v3.1.1...v3.2.0

Filter suggested authors

22 Nov 00:30
Compare
Choose a tag to compare

git-mob 3.1.1

Added

  • git suggest-coauthors [author name or author email] can filter by author name or email. Addresses issue 90

Refactored

  • Remove legacy git-message API and replace it with git-mob-core git-message API
  • 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-coauthors to TypeScript
  • git mob-print -i uses git mob core to print out initials of selected co-authors
  • Post install script to create global coauthor file uses createCoAuthorsFile from git mob core
  • Migrated mob print file to TypeScript
  • Removed legacy git mob commands no longer used.
  • Removed legacy git commands no longer used.

git-mob-core 0.8.2

Added

  • Added function to create a global coauthor file createCoAuthorsFile.

git-mob-core 0.8.0

Added

  • Added repoAuthorList which will list all contributors from a repo
  • Added filter to repoAuthorList which uses --author flag from git shortlog.

Refactored

  • 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-path migrated to TypeScript
  • Changed to async resolveGitMessagePath, setCommitTemplate

What's Changed

  • Remove legacy git-message api by @rkotze in #118
  • Git mob core extract the list of contributors by @rkotze in #119
  • Migrate mob print to TypeScript and use Git Mob Core by @rkotze in #120

Full Changelog: v3.0.0...v3.1.1

Run ESM and requires Node 16

05 Nov 13:24
Compare
Choose a tag to compare

git-mob 3.0.0

Added

  • 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

git-mob-core 0.7.0

  • Requires Node 16+
  • Module systems support ESM and CJS

What's Changed

Full Changelog: v2.5.0...v3.0.0

Git mob core used by Git mob cli

22 Oct 15:33
Compare
Choose a tag to compare

git-mob-core 0.6.0

Added

gitMobConfig = {
  localTemplate(): <Promise<boolean>>,
  fetchFromGitHub(): <Promise<boolean>>,
};

gitConfig = {
  getLocalCommitTemplate(): <Promise<string>>,
  getGlobalCommitTemplate(): <Promise<string>>,
};

gitRevParse = {
  insideWorkTree(): string,
  topLevelDirectory(): boolean,
};

git-mob 2.5.0

Added

  • Integrated git-mob-core for main git mob features
  • Reduced the calls to git CLI to speed up command execution for git mob
  • Convert src git-mob and spec files from JS to TS
  • Several dependencies updated in all packages

What's Changed

Full Changelog: v2.4.1...v2.5.0

Git mob core config manager

11 Jun 22:40
Compare
Choose a tag to compare

Added

  • Added config manager feature to set the child process cwd when needed see issue 109. New functions getConfig and updateConfig. #109

Local co-authors

21 May 18:19
Compare
Choose a tag to compare

git-mob 2.4.0

Added

  • Integrated git-mob-core solo function
  • Override the global .git-coauthors file with one specified in root folder of a Git repository. Thanks to @tlabeeuw

git-mob-core 0.4.0

Added

  • updateGitTemplate will keep global template up to date if local one is used for current repository.
  • pathToCoAuthors will return the path to .git-coauthors file.

Fix: error if co-author initials missing

13 Feb 00:02
Compare
Choose a tag to compare

Added

Git Mob core v0.3.0

  • Add fetch GitHub authors API
  • Add TypeScript types

Fixed

Git Mob cli v2.3.5

  • Give an error message if co-author initials are missing and suggest enabling GitHub fetch config. See issue #97.

Full Changelog: v2.3.2...v2.3.5