You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

282 lines
19 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
8 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. ## Release Notes
  2. ### 2.9.0
  3. - To accomodate the realization that blame information is invalid when a file has unsaved changes, the following behavior changes have been made
  4. - Status bar blame information will hide
  5. - CodeLens change to a `Cannot determine...` message and become unclickable
  6. - Many menu choices and commands will hide
  7. - Fixes [#38](https://github.com/eamodio/vscode-gitlens/issues/38) - Toggle Blame Annotation button shows even when it isn't valid
  8. - Fixes [#36](https://github.com/eamodio/vscode-gitlens/issues/36) - Blame information is invalid when a file has unsaved changes
  9. ### 2.8.2
  10. - Adds `gitlens.blame.annotation.dateFormat` to specify how absolute commit dates will be shown in the blame annotations
  11. - Adds `gitlens.statusBar.date` to specify whether and how the commit date will be shown in the blame status bar
  12. - Adds `gitlens.statusBar.dateFormat` to specify how absolute commit dates will be shown in the blame status bar
  13. - Fixes [#39](https://github.com/eamodio/vscode-gitlens/issues/39) - Add date format options for status bar blame
  14. ### 2.8.1
  15. - Fixes issue where `Compare with *` commands fail to open when there is no active editor
  16. ### 2.8.0
  17. - Adds new `Open File` command on the `gitlens.showQuickCommitDetails` quick pick list to open the commit version of the file
  18. - Adds new `Open File` command on the `gitlens.showQuickCommitDetails` quick pick list to open the commit version of the files
  19. - Adds `alt+left` keyboard shortcut in quick pick list to `go back`
  20. - Adds `alt+right` keyboard shortcut in quick pick list to execute the currently selected item while keeping the quick pick open (in most cases)
  21. - `alt+right` keyboard shortcut on commit details file name, will open the commit version of the file
  22. - Indents the file statuses on the `gitlens.showQuickCommitDetails` quick pick list
  23. - Renames `Open File` to `Open Working File` on the `gitlens.showQuickCommitDetails` quick pick list
  24. - Renames `Open File` and `Open Working Files` on the `gitlens.showQuickCommitDetails` quick pick list
  25. - Reorders some quick pick lists
  26. - Fixes [#34](https://github.com/eamodio/vscode-gitlens/issues/34) - Open file should open the selected version of the file
  27. - Fixes some issue where some editors opened by the quickpick would not be opened in preview tabs
  28. - Fixes issue where copy to clipboard commands would fail if there was no active editor
  29. - Fixes issue where active line annotations would show for opened versioned files
  30. - Fixes issue where CodeLens compare commands on opened versioned files would fail
  31. ### 2.7.1
  32. - Adds proper support for multi-line commit messages
  33. - Fixes [#33](https://github.com/eamodio/vscode-gitlens/issues/33) - Commit message styled as title in popup, when message starts with hash symbol
  34. ### 2.7.0
  35. - Adds file status icons (added, modified, deleted, etc) to the `gitlens.showQuickCommitDetails` quick pick list
  36. - Adds `Copy Commit Sha to Clipboard` command to commit files quick pick list
  37. - Adds `Copy Commit Message to Clipboard` command to commit files quick pick list
  38. - Changes `Show Commit History` to `Show File History` on the `gitlens.showQuickCommitDetails` quick pick list
  39. - Changes `Show Previous Commit History` to `Show Previous File History` on the `gitlens.showQuickCommitDetails` quick pick list
  40. - Fixes issue with repository status when there are no changes
  41. - Fixes issue with `.` showing in the path of quick pick lists
  42. - Fixes logging to clean up on extension deactivate
  43. ### 2.6.0
  44. - Adds `gitlens.showQuickRepoStatus` command to show a quick pick list of files changed including status icons (added, modified, deleted, etc)
  45. - Adds `alt+s` shortcut for the `gitlens.showQuickRepoStatus` command
  46. ### 2.5.6
  47. - Fixes [#32](https://github.com/eamodio/vscode-gitlens/issues/32) - 00000000 Uncommitted changes distracting
  48. ### 2.5.5
  49. - Fixes [#25](https://github.com/eamodio/vscode-gitlens/issues/25) - Blame information isn't updated after git operations (commit, reset, etc)
  50. ### 2.5.4
  51. - Fixes extra spacing in annotations
  52. ### 2.5.3
  53. - Fixes [#27](https://github.com/eamodio/vscode-gitlens/issues/27) - Annotations are broken in vscode insider build
  54. ### 2.5.2
  55. - Adds `Open File` command to `gitlens.showQuickCommitDetails` quick pick list
  56. - Adds `Open Files` command to `gitlens.showQuickCommitDetails` quick pick list
  57. - Changes `Not Committed Yet` author for uncommitted changes to `Uncommitted`
  58. - Improves performance of git-log operations in `gitlens.diffWithPrevious` and `gitlens.diffWithWorking` commands
  59. - Fixes showing `gitlens.showQuickCommitDetails` quick pick list for uncommitted changes -- now shows the previous commit details
  60. ### 2.5.1
  61. - Adds `gitlens.copyMessageToClipboard` command to copy commit message to the clipboard
  62. - Adds `gitlens.copyMessageToClipboard` to the editor content menu
  63. - Adds `Copy Commit Message to Clipboard` command to `gitlens.showQuickCommitDetails` quick pick list
  64. - Changes behavior of `gitlens.copyShaToClipboard` to copy the sha of the most recent commit to the repository if there is no active editor
  65. - Changes behavior of `gitlens.showQuickFileHistory` to execute `gitlens.showQuickRepoHistory` if there is no active editor
  66. - Fixes issue where shortcut keys weren't disabled if GitLens was disabled
  67. ### 2.5.0
  68. - Overhauls the `gitlens.showQuickRepoHistory`, `gitlens.showQuickFileHistory`, and `gitlens.showQuickCommitDetails` quick pick lists
  69. - Adds `Show Repository History` command to `gitlens.showQuickFileHistory` quick pick list
  70. - Adds `Show Previous Commits History` command to `gitlens.showQuickCommitDetails` quick pick list
  71. - Adds `Show Commits History` command to `gitlens.showQuickCommitDetails` quick pick list
  72. - Adds `Copy Commit Sha to Clipboard` command to `gitlens.showQuickCommitDetails` quick pick list
  73. - Adds `Show Changed Files` command to `gitlens.showQuickCommitDetails` quick pick list
  74. - Adds more robust `go back` navigation in quick pick lists
  75. - Adds commit message to placeholder text of many quick pick lists
  76. - Adds icons for some commands
  77. - Adds `gitlens.diffWithPrevious` command to the editor content menu
  78. - Adds `gitlens.diffWithWorking` command to the editor content menu
  79. - Adds `gitlens.showQuickRepoHistory` and `gitlens.showQuickCommitDetails` commands to CodeLens
  80. - Adds `gitlens.showQuickRepoHistory` and `gitlens.showQuickCommitDetails` commands to the status bar
  81. - Changes the default command of `gitlens.codeLens.recentChange.command` to `gitlens.showQuickCommitDetails`
  82. - Changes the default command of `gitlens.statusBar.command` to `gitlens.showQuickCommitDetails`
  83. - Changes Changes behavior of `gitlens.showQuickCommitDetails` to show commit commands rather than file set (use `Show Changed Files` command to get to the file set)
  84. - Changes `gitlens.diffWithPrevious` command to behave as `gitlens.diffWithWorking` if the file has uncommitted changes
  85. - Renames `gitlens.diffWithPrevious` command from `Diff Commit with Previous` to `Compare with Previous Commit`
  86. - Renames `gitlens.diffLineWithPrevious` command from `Diff Commit (line) with Previous` to `Compare Line with Previous Commit`
  87. - Renames `gitlens.diffWithWorking` command from `Diff Commit with Working Tree` to `Compare with Working Tree`
  88. - Renames `gitlens.diffLineWithWorking` command from `Diff Commit (line) with Working Tree` to `Compare Line with Working Tree`
  89. - Fixes issues with certain git commands not working on Windows
  90. - Fixes [#31](https://github.com/eamodio/vscode-gitlens/issues/31) - Disable gitlens if the project does not have `.git` folder
  91. - Fixes issue where quick pick lists could fail if there was no active editor
  92. - Fixes CodeLens not updating in response to configuration changes
  93. ### 2.1.1
  94. - Fixes overzealous active line annotation updating on document changes
  95. ### 2.1.0
  96. - Adds a new GitLens logo and changes all images to svg
  97. - Adds `alt+p` shortcut for the `gitlens.diffLineWithPrevious` command
  98. - Adds `shift+alt+p` shortcut for the `gitlens.diffWithPrevious` command
  99. - Adds `alt+w` shortcut for the `gitlens.diffLineWithWorking` command
  100. - Adds `shift+alt+w` shortcut for the `gitlens.diffWithWorking` command
  101. - Adds `gitlens.copyShaToClipboard` command to copy commit sha to the clipboard ([#28](https://github.com/eamodio/vscode-gitlens/issues/28))
  102. - Adds `gitlens.showQuickCommitDetails` command to show a quick pick list of details for a commit
  103. - Adds `go back` choice to `gitlens.showQuickCommitDetails`, `gitlens.showQuickFileHistory`, and `gitlens.showQuickRepoHistory` quick pick lists
  104. - Adds `gitlens.blame.annotation.highlight` to specify whether and how to highlight blame annotations ([#24](https://github.com/eamodio/vscode-gitlens/issues/24))
  105. - Greatly improves performance of line navigation when either active line annotations or status bar blame is enabled
  106. - Fixes [#29](https://github.com/eamodio/vscode-gitlens/issues/29) - Commit info tooltip duplicated for current line when blame is enabled
  107. - Fixes issue where sometimes the commit history shown wasn't complete
  108. - Fixes issues with `gitlens.diffLineWithPrevious` and `gitlens.diffWithPrevious` not following renames properly
  109. - Fixes issues with `gitlens.diffLineWithPrevious` and `gitlens.diffWithPrevious` not always grabbing the correct commit
  110. ### 2.0.2
  111. - Adds auto-enable of whitespace toggling when using font-ligatures because of [vscode issue](https://github.com/Microsoft/vscode/issues/11485)
  112. - Adds `gitlens.blame.annotation.characters.*` settings to provide some control over how annotations are displayed
  113. - Fixes [#22](https://github.com/eamodio/vscode-gitlens/issues/22) - Cannot read property 'sha' of undefined
  114. ### 2.0.1
  115. - Fixes [#26](https://github.com/eamodio/vscode-gitlens/issues/26) - Active line annotation doesn't disappear properly after delete
  116. ### 2.0.0
  117. - Adds `gitlens.blame.annotation.activeLine` to specify whether and how to show blame annotations on the active line
  118. - Adds full commit message (rather than just summary) to active line hover if `gitlens.blame.annotation.activeLine` is not `off`
  119. - Adds new `trailing` blame annotation style -- adds annotations after the code lines rather than before
  120. - Adds `gitlens.blame.annotation.message` to show the commit message in `expanded` and `trailing` blame annotation styles
  121. - Adds support for relative dates in blame annotations. Use `gitlens.blame.annotation.date`
  122. - Changes the design of hover annotations -- much cleaner now
  123. - Disables automatic whitespace toggling by default as it is seemingly no longer needed as [vscode issue](https://github.com/Microsoft/vscode/issues/11485) seems fixed. It can be re-enabled with `gitlens.advanced.toggleWhitespace.enabled`
  124. - Fixes issue where the status bar blame would get stuck switching between editors
  125. - Fixes issue where CodeLens aren't updated properly after a file is saved
  126. - Re-adds context menu for `gitlens.diffLineWithPrevious` -- since [vscode issue](https://github.com/Microsoft/vscode/issues/15395)
  127. - Re-adds context menu for `gitlens.diffLineWithWorking` -- since [vscode issue](https://github.com/Microsoft/vscode/issues/15395)
  128. ### 1.4.3
  129. - Adds some logging to hopefully trap [#22](https://github.com/eamodio/vscode-gitlens/issues/22) - Cannot read property 'sha' of undefined
  130. - Fixes issue with the latest insiders build (1.9.0-insider f67f87c5498d9361c0b29781c341fd032815314b) where there is a collision of document schemes
  131. ### 1.4.2
  132. - Fixes issue where file history wouldn't compare correctly to working tree if the filename had changed
  133. ### 1.4.1
  134. - Adds `gitlens.advanced.gitignore.enabled` to enable/disable .gitignore parsing. Addresses [#20](https://github.com/eamodio/vscode-gitlens/issues/20) - Nested .gitignore files can cause blame to fail with a repo within another repo
  135. ### 1.4.0
  136. - Adds `alt+h` shortcut for the `gitlens.showQuickFileHistory` command
  137. - Adds `shift+alt+h` shortcut for the `gitlens.showQuickRepoHistory` command
  138. - Adds `gitlens.advanced.maxQuickHistory` to limit the number of quick history entries to show (for better performance); Defaults to 200
  139. - Adds `gitlens.diffLineWithPrevious` as `alt` context menu item for `gitlens.diffWithPrevious`
  140. - Adds `gitlens.diffLineWithWorking` as `alt` context menu item for `gitlens.diffWithWorking`
  141. - Adds `gitlens.showFileHistory` as `alt` context menu item for `gitlens.showQuickFileHistory`
  142. - Removes context menu for `gitlens.diffLineWithPrevious` -- since it is now the `alt` of `gitlens.diffWithPrevious`
  143. - Removes context menu for `gitlens.diffLineWithWorking` -- since it is now the `alt` of `gitlens.diffWithWorking`
  144. - Replaces `gitlens.menus.fileDiff.enabled` and `gitlens.menus.lineDiff.enabled` with `gitlens.menus.diff.enabled` -- since the switch between file and line diff is now controlled by the `alt` key
  145. ### 1.3.1
  146. - Renames `Diff` commands for better clarity
  147. - Removes `Git` from the commands as it feels unnecessary
  148. - Reorders the context menu commands
  149. - Adds `Diff Commit with Working Tree` to the explorer context menu (assuming `gitlens.menus.fileDiff.enabled` is `true`)
  150. - Adds `Diff Commit with Working Tree` & `Diff Commit with Previous` to the editor title context menu (assuming `gitlens.menus.fileDiff.enabled` is `true`)
  151. ### 1.3.0
  152. - Adds support for blame and history (log) on files opened via compare commands -- allows for deep navigation through git history
  153. ### 1.2.0
  154. - Adds compare (working vs previous) options to repository history
  155. - Adds compare (working vs previous) options to file history
  156. - Fixes issue with repository history compare with commits with multiple files
  157. ### 1.1.1
  158. - Allows `gitlens.showQuickRepoHistory` command to run without an open editor (falls back to the folder repository)
  159. - Adds logging for tracking [#18](https://github.com/eamodio/vscode-gitlens/issues/18) - GitLens only displayed for some files
  160. ### 1.1.0
  161. - Adds new `gitlens.showQuickFileHistory` command to show the file history in a quick-pick list (palette)
  162. - Adds new `gitlens.showQuickRepoHistory` command to show the repository history in a quick-pick list (palette)
  163. - Adds `gitlens.showQuickFileHistory` option to the `gitlens.codeLens.recentChange.command`, `gitlens.codeLens.authors.command`, and `gitlens.statusBar.command` settings
  164. - Removes `git.viewFileHistory` option from the `gitlens.codeLens.recentChange.command`, `gitlens.codeLens.authors.command`, and `gitlens.statusBar.command` settings
  165. - Changes the `gitlens.statusBar.command` settings default to `gitlens.showQuickFileHistory` instead of `gitlens.toggleBlame`
  166. ### 1.0.2
  167. - Fixes [#16](https://github.com/eamodio/vscode-gitlens/issues/16) - incorrect 'Unable to find Git' message
  168. ### 1.0.0
  169. - Adds support for git history (log)!
  170. - Adds support for blame annotations and git commands on file revisions
  171. - Adds ability to show multiple blame annotation at the same time (one per vscode editor)
  172. - Adds new `gitlens.showFileHistory` command to open the history explorer
  173. - Adds new `gitlens.showFileHistory` option to the `gitlens.codeLens.recentChange.command`, `gitlens.codeLens.authors.command`, and `gitlens.statusBar.command` settings
  174. - Adds per-language CodeLens location customization using the `gitlens.codeLens.languageLocations` setting
  175. - Adds new `gitlens.diffLineWithPrevious` command for line sensitive diffs
  176. - Adds new `gitlens.diffLineWithWorking` command for line sensitive diffs
  177. - Adds `gitlens.diffWithPrevious` command to the explorer context menu
  178. - Adds output channel logging, controlled by the `gitlens.advanced.output.level` setting
  179. - Switches on-demand CodeLens to be a global toggle (rather than per file)
  180. - Complete rewrite of the blame annotation provider to reduce overhead and provide better performance
  181. - Improves performance of the CodeLens support
  182. - Improves performance (significantly) when only showing CodeLens at the document level
  183. - Improves performance of status bar blame support
  184. - Changes `gitlens.diffWithPrevious` command to always be file sensitive diffs
  185. - Changes `gitlens.diffWithWorking` command to always be file sensitive diffs
  186. - Removes all debug logging, unless the `gitlens.advanced.debug` settings it on
  187. - Fixes many (most?) issues with whitespace toggling (required because of https://github.com/Microsoft/vscode/issues/11485)
  188. - Fixes issue where blame annotations would not be cleared properly when switching between open files
  189. ### 0.5.5
  190. - Fixes another off-by-one issue when diffing with caching
  191. ### 0.5.4
  192. - Fixes off-by-one issues with blame annotations without caching and when diffing with a previous version
  193. ### 0.5.3
  194. - Adds better uncommitted hover message in blame annotations
  195. - Adds more protection for dealing with uncommitted lines
  196. ### 0.5.2
  197. - Fixes loading issue on Linux
  198. ### 0.5.1
  199. - Adds blame information in the status bar
  200. - Add new status bar settings -- see **Extension Settings** above for details
  201. - Renames the `gitlens.codeLens.recentChange.command` & `gitlens.codeLens.authors.command` settings options (to align with command names)
  202. - Adds new `gitlens.diffWithPrevious` option to the `gitlens.codeLens.recentChange.command` & `gitlens.codeLens.authors.command` settings
  203. - Fixes Diff with Previous when the selection is uncommitted
  204. - Removes `gitlens.blame.annotation.useCodeActions` setting and behavior
  205. ### 0.3.3
  206. - Fixes [#7](https://github.com/eamodio/vscode-gitlens/issues/7) - missing spawn-rx dependency (argh!)
  207. ### 0.3.2
  208. - Fixes [#7](https://github.com/eamodio/vscode-gitlens/issues/7) - missing lodash dependency
  209. ### 0.3.1
  210. - Adds new CodeLens visibility & location settings -- see **Extension Settings** above for details
  211. - Adds new command to toggle CodeLens on and off when `gitlens.codeLens.visibility` is set to `ondemand`
  212. ### 0.2.0
  213. - Fixes [#1](https://github.com/eamodio/vscode-gitlens/issues/1) - Support blame on files outside the workspace repository
  214. - Replaces blame regex parsing with a more robust parser
  215. - Fixes failures with Diff with Previous command
  216. - Fixes issues with blame explorer CodeLens when dealing with previous commits
  217. - Fixes display issues with compact blame annotations (now skips blank lines)
  218. ### 0.1.3
  219. - Improved blame annotations, now with sha and author by default
  220. - Add new blame annotation styles -- compact and expanded (default)
  221. - Adds many new configuration settings; see **Extension Settings** above for details
  222. ### 0.0.7
  223. - Fixes [#4](https://github.com/eamodio/vscode-gitlens/issues/4) - Absolute paths fail on Windows due to backslash (Really!)
  224. - Fixes [#5](https://github.com/eamodio/vscode-gitlens/issues/5) - Finding first non-white-space fails sometimes
  225. - Adds .gitignore checks to reduce the number of blame calls
  226. ### 0.0.6
  227. - Fixes [#2](https://github.com/eamodio/vscode-gitlens/issues/2) - [request] Provide some debug info when things fail
  228. - Fixes [#4](https://github.com/eamodio/vscode-gitlens/issues/4) - Absolute paths fail on Windows due to backslash
  229. - Attempts to scroll to the correct position when opening a diff
  230. ### 0.0.5
  231. - Fixes issues where filename changes in history would cause diffs to fails
  232. - Fixes some issues with uncommitted blames
  233. - Removes CodeLens from fields and single-line properties to reduce visual noise
  234. - Automatically turns off blame only when required now
  235. ### 0.0.4
  236. - Candidate for preview release on the vscode marketplace.
  237. ### 0.0.1
  238. - Initial release but still heavily a work in progress.