All notable changes to the "git-hooks" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- not chaing
GitHooks.hooksDirectory
configuration on load to prevent it from git tracking - workspace bug fix while switching between scm and activity bar view
- remove hook selection on workspace which has more than one folder
- bug fix in getting git config for hooks directory
- CacheContainer class added to cache git hooks directory reads
- Single Hook Directory read correction
- Added support for vscode workspaces
- Improve performance by caching git hooks directory reads
- Decreased command execution time to find out git hooks directory
- removed date time snippet and python snippet (which are not used by many users)
- Added
path
anddirectoryPath
attributes toHook
class
- looger improvement (detecting
GitHooks.logLevel
configuration) - folder selection for
GitHooks.hooksDirectory
configuration - adding git local assets to REAME.md
- restrict text snippet scope to hooks only
- Added
GitHooks.logLevel
configuration to set the log level of the extension. - Render
shebang
snippet only on the first line of the file. - Removed a bug that caused badge rendering issues when toggling the view from SCM to Core View.
- Cached the hookProvider.
- Removed an unnecessary activeHooks increment in the getHooks private method.
visibility
of SCM and ActivityBar is now expanded by default- Added context to Activity bar and title to SCM View
- Added support for relative path for
GitHooks.hooksDirectory
configuration - security fix for
GitHooks.hooksDirectory
configuration to prevent shell injection
- Introduced
GitHooks
output channel to display the output logs of the extension - avoid await inside
activate
function ofextension.ts
to improve startup time
- Bug fix for
git_hooks_scm
icon display inActivityBar
(SCM view badge was removed because of this bug)
- Improve startup performance by caching git hooks directory reads
- conditionally render
git_hooks_scm
andgit_hooks_view
based on configuration - Bug fix for
ViewBadge
count when non-predefined hooks are present - Computing
ActiveHooksCount
inGitHooksProvider
class constructor - tooltip correction while changing from
git_hooks_scm
togit_hooks_view
(buggy for now)
- Designed a new logo with new banner color
- Improved README.md by including description and context of the extension
- Line decoration for light theme color correction and code refactoring
- Added configuration to set git.core.hooksPath only (at workspace level)
- CHANGELOG.md format correction
- Supporting various launguge binaries for shell and shebang suggetions
- Making
core.hooksPath
update to workspace scope - hookDirectory path correction in windows operating system
- first step for including test cases
- Added configuration to give hook path (just to run and toggle the hooks)
- Improved
runHook
performace by caching git results - Bug fix for conventional hook run
- Added and option for predefinedHooks(all default hooks supplied by git)
- editor/title regex correction
- galleryBanner color change
- regex correction for including
.git/hooks
for all Operating Systems
- regex correction for including
.git/hooks
path in windows OS
Promise.all
toPromise.allSelected
for detecting launguage shell- Regex improvement to detect
.git/hook
folder - change
python.json
snippet scope tobash
andshellscript
- Added Run Button to
editor/title
for every hook present under .git directory - Removed
PyMySQL
snippent - Added shebang snippets
- Improved
hook_descriptions
on lineAnnotation
- Include
Webpack
to minify the extension and improving extension load time
- Added
ViewBadge
Feature which can be viewed forcode
version >1.72.0
- resolved bash shell detection issue for both
MAC
andLinux
operating systems
- new feature to run
git hook run
command ( new feature ingit
version2.36.1
) - new snippets for detecting
shell
paths for launguages like [python
,bash
,node
,java
,cpp
] - new snippet for
dateTime
forTypeScript
- Bug fix for runing hook using
terminal.sendText
- Included Context of Tree Elements
- Added SCM display to the extension
- Added Configuration to toggle the display between
SCM
andActivityBar
- Improved Search KeyWords
- Added
PyMySQL
&PreCommit hook
Python Snippets - Added
Hook Description
for each git hook - Using user defined shell to run git hooks