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.

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