posh-git v0.7.0 Release Notes

Release Date: 2017-02-14 // about 7 years ago
  • ๐Ÿš€ This release has focused on improving the "getting started" experience by adding an Add-PoshGitToProfile command that modifies the user's PowerShell profile script to import the posh-git module whenever PowerShell starts. When posh-git is imported, it will automatically install a posh-git prompt that displays Git status summary information. ๐ŸŽ Work was also done to improve performance of Get-GitStatus when inside large Git repositories. Work was begun to eliminate some obvious crashes on PowerShell on .NET Core but more work remains to be done.

    • ๐ŸŽ Performance of Get-GitStatus on large repos has been improved (PR #319)
    • ๐Ÿ›  Fix prompt and tab completion with non-ASCII characters (#64) (PR #223) (PR #359) (#374) (#389) (PR #397) (PR #403)
    • ๐Ÿ›  Fix incorrect tab expansion for git push --option <remote> (#234) (PR #379)
    • ๐Ÿ›  Fix support for bare repository (#291) (PR #370)
    • ๐Ÿ›  Fix syntax error on setenv calls (PR #297)
    • ๐Ÿ›  Fix temp path issue with ~ in 8.3 filenames (#298) (PR #299)
    • ๐Ÿ›  Fix problem on open source PowerShell, missing WindowsPrincipal/WindowsIdentity (#301) (PR #312)
    • ๐Ÿ›  Fix/simplify Chocolatey install and add uninstall (#358)
    • โœ‚ Remove invalid branch from tab expansion when HEAD is detached (PR #367)
    • ๐Ÿ›  Fix PowerShell Core error on EnvironmentVariableTarget (#317) (#369) (PR #318)
    • Fewer errors generated in global $Error collection (PR #370)
    • โœ‚ Remove error thrown by git symbolic-ref and git describe (PR #307)
    • Export command Write-VcsStatus to improve module auto-loading (PR #284)
    • Update module import so that it sets the prompt function iff the user does not have a customized prompt function (#217) (PR #349)
    • โšก๏ธ Update profile.example.ps1 to remove prompt function and tweak how module is imported (PR #349)
    • โž• Add tab completion for AVH git-flow commands (PR #231)
    • โž• Add new commmand Add-PoshGitToProfile (PR #361)
    • โž• Add about_posh-git help topic (PR #298)
    • โž• Add new settings for default posh-git prompt:
      • DefaultPromptPrefix (PR #393)
      • DefaultPromptSuffix (default includes nested prompt level, (PR #363))
      • DefaultPromptDebugSuffix
      • DefaultPromptEnableTiming (PR #371)
      • DefaultPromptAbbreviateHomeDirectory (#386)
    • โž• Add ahead/behind count to prompt (PR #256)
      • Add BranchBehindAndAheadDisplay setting to control count display (Full (default), Compact, Minimal)
    • ๐Ÿ›  Fix empty Git-SshPath issue (PR #268)
    • โž• Add new settings for prompt status summary text: FileAddedText, FileModifiedText, FileRemovedText and FileConflictText (PR #277)
    • โž• Add tags to 'push' tab-completion (PR #286)
    • โž• Add new branch status to indicate upstream is gone (PR #326)
    • โž• Add tab completion support for shorthand force-push syntax (git push <remote> +<tab>) (#173) (PR #174) (PR #343)
    • โž• Add tab completion of unique remote branch names for git checkout <tab> (#177) (PR #251) (PR #352)
    • โž• Add git worktree tab completion (PR #366)
    • โž• Add alias support for TortoiseGit commands (PR #394)
    • โž• Add support for tab-completion of Git parameters, long and short (PR #395)
    • Switch $GitPromptSettings type from PSObject to PSCustomObject. On PowerShell v5 and higher, this preserves the definition order of properties in $GitPromptSettings making it easier to find properties.
    • ๐Ÿ›  Fix prompt status in worktree (#407) (PR #408)
    • Quote tab completion for items containing special characters (#293) (PR #413)