posh-git v1.0.0-beta4 Release Notes

Release Date: 2020-03-14 // over 2 years ago
  • ➕ Added

    • 🚚 Branch name completion to the new Remove-GitBranch command. (PR #678) (PR #705)
    • $global:GitPromptValues with the following properties to enable users to have access to the information necessary to display error status in their prompt as well as debug their prompt customizations:
      • DollarQuestion
      • IsAdmin
      • LastExitCode
      • LastPrompt (PR #684)
    • ➕ Added tab-completion for new git restore and git switch commands. (#691) (PR #702) (PR #743) Thanks @pinkfloydx33 for the direction and motivation to add this.
    • ➕ Added tab-completion for git merge --allow-unrelated-histories (#632) (PR #633)
    • 0️⃣ Abbreviate path from git root with new setting DefaultPromptAbbreviateGitDirectory (#719) (PR #720) (PR #729) Thanks Philippe Elsass (@elsassph)
    • Two new properties have been added to $global:GitTabSettings
      • EnableLogging - default is $false but when set to $true, tab expansion functions log to a file.
      • LogPath - the path to the log file that is appended to (created if necessary) when EnableLogging is $true.

    🔄 Changed

    • Module parameter changed from a [switch] that forced the posh-git prompt to be used to a bools. The use of this parameters during import is now simplified to: Import-Module posh-git -Args 1.
    • 🏁 Shortened up the Windows title text to work better with Windows Terminal tabs. Now only displays '32-bit' in 32-bit PowerShell, otherwise assumption is you're running 64-bit. Also display only PowerShell major.minor version number. (PR #707)
    • Switched from overriding TabExpansion function to using Register-ArgumentCompleter for tab-completion on PowerShell >= 6.0. posh-git can be configured to use the old TabExpansion function on PowerShell >= 6.0 by importing the module using the following arguments: Import-Module posh-git -ArgumentList 0,1 before importing posh-git. (#609) (PR #711) Thanks Andrew Bradley (@cspotcode)
      • (#733) (PR #741)
      • Fix conflict with TabExpansionPlusPlus module's Register-ArgumentCompleter command. (#715) (PR #714) Thanks Kris Borowinski (@kborowinski)
    • ⚡️ Update Ubuntu build system from 14.04 to 16.04 (PR #677) Thanks @ExE-Boss
    • $GitPromptSettings.BeforeIndex is always displayed even if there is nothing in the index. The intent of this separator setting is to provide a separator between the branch name / branch status and the following section of index/working/summary/stash indicators. (PR #723)
    • posh-git no longers sets missing HOME environment variable. (#718) (PR #722)
    • Get-GitStatus -Force now also overrides $GitPromptSettings.EnableFileStatus as well as $GitPromptSettings.EnablePromptStatus. (#657) (PR #721)

    🛠 Fixed

    • ✂ Remove .exe suffix from PowerTab integration to enable PowerTab integration to work with git, git.cmd or git.exe (#606)
    • BranchBehindAndAheadDisplay minimal/compact bug (#670) (PR #671)
    • 🛠 Fix(status): Only reset changed colors (PR #673) Thanks @ExE-Boss
    • 🛠 Fix rebase step count (PR #674) Thanks Saša Kajfeš (@skajfes)
    • 🛠 Fix typo in cherry-pick parameters - ´continue (PR #675) Thanks @KexyBiscuit
    • Prompt error in remote PSSession (#708) (PR #727
    • ✏️ Typos