Changelog
2026.03.20 v7.8.0 (Released)
v7.8.0 "Foundation Solidification" Release!
This release focuses on quality assurance, ensuring users can confidently use the tool.
Core Improvements
- Fixed build compatibility issue with
import ... with { type: 'json' }syntax - Migrated ESLint configuration to
@eslint-sets/eslint-config - Migrated sub-package devDependencies to use pnpm
catalog:format for centralized version management - Added
catalogconfiguration topnpm-workspace.yamlfor unified dependency versions - Changed publish script from
npm publishtopnpm publishfor automatic workspace protocol conversion - Fixed lint errors across multiple files
- Extracted common
AnyFunctiontype for callback function signatures - Optimized README documentation structure
- Upgraded dependencies
Test Coverage Significantly Improved
- Expanded test coverage for
@gitmars/gitpackage from 5.4% to 82.67% - Added comprehensive tests for git functions: getConfig, readPkg, searchBranches, getAheadLogs, getBehindLogs, getBranchesFromID, getGitLogs, getGitLogsByCommitIDs, checkout, fetch, prune, checkGitStatus, getStashList, getCommandMessage, getIsMergeAction, getIsMergedTargetBranch, getIsUpdatedInTime
- Added
@gitmars/gitmarscore workflow test files:commands.test.ts- Core command tests (start, update, combine, end)workflow.test.ts- Workflow tests (copy, undo, redo, save, get)p0-validation.test.ts- P0 priority command validation testserror-handling.test.ts- Error handling and boundary case tests
- Total test cases reached 422+, with 10 test files and over 4355 lines of test code
v7.8.0 Acceptance Criteria Achieved
- [x] Core workflow test coverage ≥70%
- [x] All P0 command functionality verified
- [x] Quick start documentation complete
- [x] Zero P1 level bugs
2025.12.10 v7.7.0
- Optimized
gitm copy - Upgraded dependencies
2025.01.10 v7.6.0
- Switched to
git switch - Optimized
gitm startbranch creation flow - Upgraded dependencies
2024.08.08 v7.4.0
build-mpadded version type selection step, added baseInfo input
2024.08.02 v7.3.0
- Fixed
miniprogramTokenminiprogramSessionrequired parameter issue
2024.07.17 v7.2.0
miniprogramTokenminiprogramSessionparameters now read from git config
2024.06.18 v7.1.0
- Added
--pushparameter to push target branch to remote after copy
2024.05.10 v7.0.1
- Fixed version control bug
2024.05.10 v7.0.0
- Refactored project, reorganized code structure
- Added
build-mpcommand for building miniprograms - Added
miniprogramcommand for operating miniprograms endandcombinecommands now support batch operationsbuildcommand refactored to optional parameters, project parameter no longer required- Build config now supports setting token in list
- Cleaned up unnecessary dependencies
- Upgraded dependencies
2024.03.17 v6.4.0
- Optimized prompts
- Upgraded dependencies
2024.03.01 v6.3.0
adminandcombinecommands added build prompts- Upgraded dependencies
2024.02.02 v6.2.0
buildcommand added--confirmparameter, skip confirmation when true
2024.02.01 v6.1.0
- Added parameter confirmation step to build command
- Removed build parameter encoding
- Upgraded dependencies
2024.01.08 v6.0.0
- Removed
serveranduisub-projects - From v6.0.0,
tokenis read from git configuser.token, API no longer needs to return token - Deprecated
gitm mergecommand - Upgraded dependencies
2023.09.09 v5.3.0
combine,admin publish,buildcommands added--dataparameter for custom build parameters- Fixed
upgradenot working with registry - Removed
compareVersionmethod, using js-cool's compareVersion instead - Upgraded dependencies
2023.08.16 v5.2.0
- Fixed some issues
- Upgraded dependencies
2023.07.03 v5.1.6
- Using os-lang to get system language
- Upgraded dependencies
2023.05.31 v5.1.5
- Fixed bugs and improved experience
- Upgraded dependencies
2023.03.26 v5.1.3
- Using userdir
- Fixed type output
- Upgraded dependencies
2023.02.17 v5.1.1
- Fixed
spawnSynccommand parsing error - Version control now supports
prerelease,premajor,preminor,prepatchversions - Build outputs gitmars type files
- Upgraded dependencies
2023.02.04 v5.0.0
- Fully migrated to rollup v3.0
- Added
versionControlTypeconfig parameter for controlling forced update version type, pass false to disable - Upgraded dependencies, now using commander v10, reinstarter v2
2023.01.14 v4.1.1
- Upgraded dependencies
2023.01.05 v4.1.0
- Added
stringifyandisWin32methods to handle Windows environment script compatibility - Fixed
getIsMergedTargetBranchcompatibility issue on Windows - Upgraded spawn and spawnSync to handle Windows environment script compatibility
2023.01.05 v4.0.4
- Fixed
getIsMergedTargetBranchcompatibility issue on Windows
2023.01.04 v4.0.3
- Fixed
getIsMergedTargetBranchcompatibility issue on Windows - Downgraded os-local
2023.01.02 v4.0.1
- Started using reinstaller
2022.12.30 v4.0.0
- Added multi-language support, currently supports
zh-CNanden-US getIsMergedTargetBranchmethod changed parameter passing, added strictly, changed default judgment method- Fully migrated to ESM specification, dropped support for node12 and below
- Removed
msgUrlfrom config - Fixed
updatecommand inaccurate merge detection bug - Moved global from core to gitmars
- Refactored
copycommand to self-select commit records - Added
prunemethod - Fixed
checkGitStatusmethod bug - Removed default values for
lastetandlimit - Upgraded dependencies
2022.08.22 v3.3.5
combine,update,admin publish,admin updatecommands added--forceto force merge request
2022.08.14 v3.3.4
postmsgcommand now works outside git directory
2022.08.12 v3.3.3
- Fixed remaining
admincommand merge detection issues - Added
fetchpublic method
2022.08.12 v3.3.2
- Fixed build process causing gitm-ui to not run
2022.08.11 v3.3.1
- Fixed
admincommand inaccurate merge detection
2022.08.09 v3.3.0
combine,update,admincommands added merge detection, no longer merge when not needed- Upgraded dependencies
2022.07.19 v3.2.0
- Fixed
gitm getcommand not finding corresponding stash content - Fixed
gitm undocommand error - Improved typescript types
2022.07.03 v3.1.0
- Updated versionControl strategy, officially deprecated lite channel
2022.06.12 v3.0.1
- Improved experience
- Fixed some issues
2022.06.10 v3.0.0
- Monorepo refactoring, split into
core,gitmars,server,ui,docssub-projects - Removed restriction that
aliascommand only works in git projects - Upgraded dependencies
2022.04.07 v2.18.1
- Deleting branches now auto-executes
git remote prune originto clean records - Upgraded dependencies
2022.03.24 v2.18.0
- Added
gitm aliascommand, init:git alias init, remove:git alias remove - Added alias commands to use gitmars, can use
git mars xxxorgit flow xxx, both equivalent togitm xxx - Added
apisto config, originalconfig.apimoved toconfig.apis.userInfo - Added
config.apis.buildConfigAPI config for reading build config, higher priority thanconfig.apolloConfig - Upgraded dependencies
2022.02.24 v2.17.0
- Added
level=3reviewer permission, reviewers have merge permission and can executeadmin publish, but unlike admins, reviewers push code to remote. Developer permission adjusted to 4
2022.02.24 v2.16.6
- Optimized project name extraction logic
2021.12.27 v2.16.5
approveandreviewcommands added--quiet, removed--postmsg, now send messages by default
2021.12.27 v2.16.4
- Extended
requestmethod to support gzip
2021.12.23 v2.16.3
- Optimized
approvecommand batch operation experience
2021.12.23 v2.16.2
approvecommand now shows comment count- Adjusted prompts
2021.12.20 v2.16.0
Features
- Added
approvecommand for approving remote merge requests, supports diff preview, addedgitm admin approvecommand - Added
reviewcommand for code review, submits review records - Extended
requestmethod to supportPUTandDELETE
Improvements
- Fixed
servicecache issue - Optimized documentation
2021.12.14 v2.15.4
- Added
statuscommand to view current branch status
2021.12.13 v2.15.3
logcommand added--jsonparameter for JSON output, defaults to table
2021.12.12 v2.15.2
- Added
debugmethod, enable debug functionality
2021.12.11 v2.15.1
gitm uinow supportsundoandredogitm gonow supportsundoandredo
2021.12.06 v2.15.0
Features
- Switched to native script executor for better performance, replacing shelljs
sh.exec - Added
undocommand for reverting code - Added
redocommand for restoring reverted code - Optimized
cleanbranchcommand flow, can select branches to clean after preview undocommand added--no-merges,--limit,--lastet,--calc,--calcAllparameterslogcommand added--no-mergesparameter to exclude merge records- Replaced
sh.exitwithprocess.exit
Improvements
- Optimized
git logreading experience - Added
echo,gitLogsFormatter,revertCache,writeFileSyncmethods - Removed
filterBranchmethod - Improved
typescripttypes
2021.12.02 v2.14.6
- Replaced
curlscripts for build and group message, handled win7 curl compatibility issue
2021.12.02 v2.14.5
- Extended
queuemethod to support promise functions - Replaced
curlscript for creating remote merge requests, handled win7 curl compatibility issue - Fixed script queue
continuecache save failure issue - Fixed
circular dependencyissue
2021.11.30 v2.14.4
- Replaced
curlscripts, handled win7 curl compatibility issue - Encapsulated
requestmethod
2021.11.28 v2.14.3
cleanbranchcommand no longer auto-switches branches- Optimized
logcommand experience
2021.11.27 v2.14.2
- Optimized
cleanbranchcommand prompts uiinterface now supportscleanbranch/admin publish/clean/logcommands
2021.11.26 v2.14.1
- Optimized code
- Changed license to
GPL-3.0
2021.11.26 v2.14.0
- Refactored core code
cleanbranchcommand removed restriction on secondary branches only
2021.11.22 v2.13.9
cleanbranchcommand added--keyparameter for filter keywordscleanbranchcommand added--includeparameter for regex branch filteringcleanbranchcommand changed--exceptto--exclude, usage unchanged
2021.11.21 v2.13.8
- Optimized script execution prompts, added
processingstatus cleancommand no longer cleans gitmars config,--forcenow deletes execution cache- Optimized
upgradecommand flow - Optimized
cleancommand experience
2021.11.20 v2.13.7
cleanbranchcommand addedbranchesparameter to specify branches to clean, multiple branches separated by spacescleanbranchcommand added--targetparameter for target branches to check merge status, multiple branches separated by commas, default: develop,release- Optimized prompts
2021.11.20 v2.13.6
cleanbranchcommand compatible with older git versions
2021.11.19 v2.13.5
cleanbranchcommand added--confirmparameter, skip confirmation when true- Fixed inaccurate detection issue
2021.11.19 v2.13.3
cleanbranchcommand removed permission controlgocommand now supports cleanbranch
2021.11.19 v2.13.2
- Improved
searchBranchesmethod, removedlocalparameter - Corrected branchs spelling error
2021.11.19 v2.13.1
cleanbranchcommand added--listparameter to preview before deleting- Optimized
cleanbranchcommand flow with animations and prompts cleanbranchadded short commandgitm clbcleanbranchcommand added permission control, only admin level and above (level < 3) can executecleanbranchcommand auto-switches branches before execution
2021.11.18 v2.13.0
- Added
cleanbranchcommand to clean merged feature branches - Improved
searchBranchesmethod, supports multi-type search, addedlocalparameter andexcluderegex
2021.11.18 v2.12.8
gocommand now supports clean method- Optimized
cleancommand flow
2021.11.17 v2.12.7
- Fixed
startcommand code not found when creating branch from tag
2021.11.16 v2.12.6
- Build config now supports saving multiple configs
cleancommand now cleanspackageInfocache
2021.11.14 v2.12.5
continuecommand now checks for forgotten commit code before execution
2021.11.12 v2.12.3
- Fixed Windows environment
UIinterfacextermruntime error
2021.11.11 v2.12.2
- Build now supports multiple apps separated by commas
2021.11.11 v2.12.1
copycommand removed push action
2021.11.10 v2.12.0
Features
combine,end,start,updatecommands added version detection to solve fragmentation issue- Adjusted
apolloconfig caching scheme - Added
packageInfocache
Improvements
- Improved typescript types
- Optimized
apolloconfig reading scheme
2021.11.08 v2.11.1
- Fixed inaccurate
devbranch merge detection
2021.11.08 v2.11.0
Features
- Added global config
descriptionValidatorfor validating commit reason description, supports regex and regex string combine,end,admin.publish,admin.updatemethods added--descriptionparameter with validation
Improvements
- Extracted shell script generation method
2021.11.06 v2.10.2
Features
upgradecommand added--registryand--clientparameters for specifying mirror address and client
2021.11.05 v2.10.1
Improvements
combineandendcommands now use remote branches by default to check if merged to dev
2021.11.02 v2.10.0
Features
copycommand usage adjusted, from parameter changed to--source. Usage:gitm copy [commitid...]orgitm copy [-s --source [source]] [-k --key [keyword]] [-a --author [author]]copycommand now requires--keyparameter for fuzzy batch copy, minimum 3 characters
Improvements
continuecommand now cleans execution cache after successful execution
2021.10.31 v2.9.7
- Adjusted database storage location to prevent data loss after upgrade
logcommand now exposes more log details
2021.10.30 v2.9.6
endcommand now intelligently determines whether to merge code, won't merge when not needed without--no-combinegetIsMergedDevBranchchanged togetIsMergedTargetBranch, addedremoteparameter- Abstracted
getIsBranchOrCommitExistmethod for checking branch or commit existence
2021.10.29 v2.9.5
- Optimized
getIsUpdatedInTimemethod detection strategy
2021.10.28 v2.9.4
- Added
nameValidatorconfig parameter for validating branch name, supports regex and regex string - Branch name now supports slashes:
gitm start feature saqqdy/10000
2021.10.28 v2.9.3
- Fixed custom port
UIstartup not working
2021.10.25 v2.9.2
uicommand added--portparameter for custom port number
2021.10.24 v2.9.1
- Upgraded dependencies
- Improved documentation
2021.10.23 v2.9.0
gocommand addedcommandparameter to directly enter corresponding command- Improved help prompts for each command
- Improved type definitions
2021.10.22 v2.8.9
- Improved UI interface branch creation functionality
- Optimized user experience
2021.10.22 v2.8.8
- Fixed cross-platform script escaping issue
2021.10.22 v2.8.6
gitm uinow auto-opens browser
2021.10.21 v2.8.5
- Fixed inaccurate
devmerge detection
2021.10.20 v2.8.3
- Fixed
devmerge detection bug - Fixed method export error
2021.10.20 v2.8.0
startcommand now supports creating bugfix branch from tag
2021.10.19 v2.7.0
- Corrected
logandhookcommand parameter error: changedlatesttolastet combinecommand addeddevbranch sync check, won't allow prod merge if not syncedcombinecommand added check for not syncing main branch code for over 1 week
2021.10.18 v2.6.5
- Optimized
uiuser experience endcommand now has checks when deleting branches- Fixed some config bugs
2021.10.18 v2.6.4
- Fixed
endcommand--no-combineparameter not working
2021.10.17 v2.6.3
- Optimized
uiinterface, split task and workflow into 2 Terminals - Optimized experience and styles
2021.10.16 v2.6.2
- Fixed several
uibugs
2021.10.15 v2.6.1
endcommand added--as-featureand--no-combineparameters- Upgraded dependencies
- Optimized code
2021.09.17 v2.6.0
- Refactored
serverwith typescript - Optimized
getcommand
2021.09.12 v2.5.1
upgradecommandversionparameter now supports tag names:alpha,beta,release,lite,latest,next,x.x.x, defaultlatest
2021.09.12 v2.5.0
- Refactored project with typescript
- Cleaned
bindirectory to reduce npm package size - Fixed
upgradeexecution error
2021.09.04 v2.4.0
- Migrated
gitm uitovue3+vite+typescriptframework - Cleaned
staticdirectory to reduce npm package size
2021.08.28 v2.3.0
- Adjusted
link/unlinkusage - Reduced npm package size
2021.08.25 v2.2.10
- Adjusted build config storage directory
- Added runtime environment checks to commands
- Upgraded dependencies
2021.08.20 v2.2.9
gitm endcommand now deletes remote branchbranchcommand now supports deleting remote branchesgocommand now supportslink/unlink/postmsg
2021.08.10 v2.2.8
- Fixed
postmsgChinese encoding issue
2021.08.10 v2.2.7
- Send group message notification when making git operation requests
postmsgcommand supports custom message notificationurl
2021.08.05 v2.2.6
- Fixed
windowsmerge request failure issue
2021.07.22 v2.2.5
- Fixed build issue without merge permission
- Deprecated
babel, usingesbuild - Cleaned unnecessary dependencies, fixed code issues
2021.07.15 v2.2.4
- Fixed build being triggered without merge permission
2021.07.04 v2.2.3
gitm updatesupports--allto update all local branches at oncegitm updatenow usesmergeby default, added--use-rebaseparameter- Added branch search method for better performance
2021.05.29 v2.2.2
- Organized documentation
2021.05.15 v2.2.1
- Organized code
2021.05.15 v2.2.0
- Optimized
gitmars UIinterface startup - Upgraded dependencies
- Fixed some bugs
2021.05.03 v2.1.0
gocommand now supportsadmin.create/admin.update/admin.clean/branch/get/save/copy/revert- Parameter validation now uses sub-option config first
2021.04.27 v2.0.3
- Added
admincommand auto-createsmergerequest, optimized logic
2021.03.27 v2.0.2
- Added
gitm uicommand to start UI interface - Added auto merge request for no git permission, need to configure
api,gitHost,gitID - Upgraded
checkBranch,searchBranches,getCurrentBranchmethods for better performance - Removed forced api config
git configandgit initnow supportapi/gitHost/gitIDparameter settings
2021.1.29 v1.4.2
- Upgraded dependencies
- Fixed bugs
2021.1.11 v1.4.1
- Upgraded get
configmethod, upgraded updateconfigmethod - Optimized reading
gitmarsconfig and git config - Changed config method, deprecating
gitmarsconfig.json, using.gitmarsrc - Fixed
Apolloconfig issue
2020.12.29 v1.4.0
- Added
gocommand, supportsadmin.publish/build/combine/end/start/update
2020.10.16 v1.3.6
- Added
postmsgcommand for pushing messages
2020.08.14 v1.3.4
bugfixbranch with--as-featureno longer auto-merges tobugline- Extracted command config, preparing for
gitmars ui
2020.08.14 v1.3.3
- Changed method to get current branch status
2020.08.02 v1.3.2
- Changed method to get current branch name, fixed Windows compatibility
2020.07.23 v1.3.1
- Optimized
link/unlinkfor Windows compatibility
2020.07.22 v1.3.0
- Added
linkcommand for creating local package symlinks
2020.07.07 v1.2.9
- Optimized
combinecommandstatuscheck - Upgraded dependencies
2020.07.07 v1.2.8
- Fixed
jenkinsnot starting bug
2020.06.30 v1.2.7
- Upgraded
combine/end/updatecommands, branch name is optional, defaults to current branch combinecommand added-aand-mparameters for autoaddandcommit- Upgraded documentation
2020.06.27 v1.2.6
- Upgraded
upgradecommand, Windows users can now use upgrade command!
2020.06.27 v1.2.5
- Upgraded
get/savecommands, stash now "bound" to git branch, added advanced usage - Fixed
configcommand bug - Fixed
continuecommand bug
2020.06.16 v1.2.4
- Fixed compatibility issue with node v14
- Fixed missing package bug
- Code transpiled to ES5 for publishing
2020.05.29 v1.2.2
- Added
buildcommand to trigger Jenkins build combineandadmin publishcommands added--buildparameter to trigger Jenkins build after merging- Build config fetched from remote and cached for 24 hours, auto-refreshed after expiration or
gitm clean - Optimized code structure, cleaned redundant operations, improved performance
- Fixed historical bugs
2020.05.21 v1.1.2
- Fixed
permissionoccasional inaccurate detection (important)
2020.05.19 v1.1.1
- Added
cleancommand to clear gitmars cache and config files upgradecommand addedversionparameter for upgrading to specific version
2020.05.19 v1.1.0
- Added
permissioncommand to restrict direct commits tomasterbranch - Optimized execution logic, allows running
gitmin subdirectories - Optimized logging and execution output, no more large garbled text
2020.05.15 v1.0.20
- Fixed
copycommand bug
2020.05.13 v1.0.19
updatecommand added--use-mergeconfigadmincommand--rebaseconfig changed to--use-rebase
2020.05.11 v1.0.18
copycommand removed keyword limit- Optimized version upgrade command
- Optimized command execution prompts
2020.04.28 v1.0.17
combinecommand added--as-featureconfig, pass--as-featurewhenbugfixbranch needs to merge torelease
2020.04.17 v1.0.16
- Optimized message prompts
2020.04.08 v1.0.15
- Optimized commands
- Added
postmsgsupport to commands
2020.04.08 v1.0.14
combinecommand allows--no-bugfixwhen mergingsupporttype branches to not merge tobugbranch- Added
postmsgswitch - Optimized command execution message prompts
2020.04.02 v1.0.13
gitm branchsupports setting remote branch association- Added
upgrademethod
2020.03.31 v1.0.12
startcommand now auto-pulls latest code when creating branch
2020.03.27 v1.0.11
- Updated
bugfixandreleasebranch support for forcing use of incoming or current code - Message push supports template config. Supported params:
message,time,project,pwd(execution directory),user(local config username). Default template:${message}; Project: ${project}; Path: ${pwd}
2020.03.25 v1.0.10
- Added message push
- No longer blocks execution when switching branches with unversioned files
- Optimized
adminmethod
2020.03.22 v1.0.9
- Adjusted
adminmerge strategy - Fixed some Windows compatibility issues
2020.03.18 v1.0.8
- Added
supportbranch support
2020.03.08 v1.0.7
- Optimized
gitm revertfunctionality - Optimized command execution prompt method
2020.03.04 v1.0.6
adminaddedcleancommand for Jenkins build branch cleanup- Updated
readme
2020.03.02 v1.0.5
- Added
continueandbranchmethods - Improved execution main program
- Added
log - Improved
copyfunctionality - Fixed some bugs
- Optimized command execution methods
- Optimized code
- Improved
readme - Improved
endandstartfunctionality - Improved
adminfunctionality:update,create,publish