vscode-maven/CHANGELOG.md

13 KiB

Change Log

All notable changes to the "vscode-maven" extension will be documented in this file.

0.21.2

Fixed

  • Destination folder was ingored when creating new project. #478

0.21.1

Changed

  • Reuse VS Code's icons. #469

Fixed

  • Terminals were opened in the wrong workspace root folder. #467
  • NoClassDefFoundError occurred when resolving unknown types. #474

0.21.0

Added

  • Support to debug favorite commands. #444
  • Add shortcut to view output when error occurs. PR#458
  • Support to browse to select local Maven executable if not found. PR#457

Changed

  • Remove unnecessary prefix cmd /c for powershell commands. #452
  • Walk up parent folders to find available Maven wrapper. #PR460

Fixed

  • Projects were not indexed when adding a folder to current workspace. #453

0.20.2

Fixed

  • Improve exposure of command "resolve unknown types". PR#448

0.20.1

Fixed

  • Insert the dependency into the wrong position when resolving unknown types. #441

0.20.0

Added

  • Support to "Collapse All" in Maven explorer. PR#414
  • Support to specify the project for command "Maven: Add a dependency". PR418

Changed

  • Update related icons in Maven explorer. PR#425
  • Upgrade embeded maven wrapper to 3.6.2. PR#416

Fixed

  • Java extension was unnecessarily activated. #424
  • Projects were not identified before expanding the Maven explorer. #429

0.19.1

Added

  • Provide more completion suggestions for groupId and artifactId on POM file authoring. PR#404

Fixed

  • No candidates when resolving unknown types. PR#405

0.19.0

Added

  • Add inline action buttons in Maven explorer.
  • Add icons for Maven explorer items. PR#397
  • Can add dependencies when hovering on unresolved types. PR#391

Fixed

  • Cannot show dependencies.
  • Expanded plugin nodes tend to collapse after loading. #364

0.18.2

Fixed

  • Typo in Hover information. #368
  • Unexpected error log on first use. #358
  • Switch to use new VS Code API (v1.37+) to get default shell. #337

Thank Christian Lutz @thccorni for contribution.

0.18.1

Fixed

  • Cannot show plugin goals. #340

0.18.0

Added

  • For Maven project creation:
    • Fallback to use an embedded Maven wrapper if no availble Maven executable is found. PR#344
    • Support to select archetype version. #354
  • Refresh explorer when config maven.pomfile.globPattern changes. #334

Changed

  • Change command name "Generate from Maven Archetype" to "Create Maven Project" for clarity. #345

0.17.1

Fixed

  • Provide a workaround for default shell detection. #319

0.17.0

Added

  • Add new config maven.pomfile.globPattern, which specifies how the extension searchs for POM files. #316
  • Add new config maven.pomfile.autoUpdateEffectivePOM, which specifies whether to update Effective-POM automatically. #319

Fixed

  • Unexpected insertion of code snippets. #310
  • A bug that Maven localRepository setting was not effective. #322
  • Cannot create Maven project when target directory has brackets and default shell is PowerShell. #324

Thank Justin Ridgewell (@jridgewell) for the contributions to make the extension even better.

0.16.2

Fixed

  • A regression issue which blocks auto-completion for pom files. #311

0.16.1

Fixed

  • An error on calculating effective pom when there is whitespace in project path. #304
  • A bug which causes to retry calculating effective pom all the time. #296

0.16.0

Added

  • Support to debug a plugin goal.
    • The feature is designed for debugging code of the plugin goal itself. It can also debug Java classes loaded in the same JVM.
    • Debugging Java classes loaded by a forked process is not supported. E.g. when devtools is present, breakpoints in application code will not be hit when debugging spring-boot:run according to its docs.
  • Add a shortcut to show dependency tree.

Fixed

  • Fix miscellaneous minor issues by enabling TS strict null check.

0.15.2

Fixed

  • A potential NPE when no folder is open. #279

0.15.1

Fixed

  • Errors on executing some commands when there is no open workspace. #274 #277
  • Missing description for favorite commands configuration. PR#275

0.15.0

Added

  • Allow to specify and execute "favorite" Maven commands. #72 #259
  • Hover to show effective version of a dependency. #260
  • Add a command "Maven: Add a dependency" for convenience when editing pom.xml. #253

0.14.2

Fixed

  • Use a simple and robust way to inject custom environment variables into terminals. PR#240
  • Fix a regression of executing custom goals from command palette. #243

0.14.1

Fixed

  • Fix the order of completion items for non-semantic versions. #236
  • Fix the issue that extension is not activated when opening an external pom.xml file. #232

0.14.0

Added

  • Provide completion suggestions leveraging info from both local and central repository. #195

Fixed

  • Fix the issue that mvn help:describe keeps grabbing the focus in MacOSX. #214
  • Fix WSL file path conversion when the root is changed in wsl.conf. #206

0.13.0

  • Support to switch between hierarchical and flat view of modules. #193
  • Support to complete dependencies when editing pom.xml file. #195
    • It is disabled by default, enable it by setting the value of maven.completion.enabled to true.
    • The dependency candidates are from the local Maven repository.

0.12.1

  • Chinese localization: Add a whitespace between English and Chinese characters. #184
  • Add a shortcut in Maven explorer to generate projects. PR#190

0.12.0

  • Support to view and execute plugin goals. #126
  • Change icons of Maven project nodes. PR#181
  • Add Chinese localization. #146

0.11.3

  • Fix vulnerability issue of event-stream. PR#154

0.11.2

  • Better support for WSL. PR#143 by @RobertDeRose
  • Add Chinese localization for configuration entries and command names. PR#147
  • Fix wording in documents.

Thank @RobertDeRose, @johanhammar and @apupier for the contribution.

0.11.1

  • Use the latest version of vscode-extension-telemetry dependency. #135

0.11.0

  • Sort Maven projects alphabetically in Explorer. PR#118 by @owenconti
  • Adjust order of steps when generating projects from an archetype. #122
  • Open trouble-shooting page in browser.PR#131
  • Fixed some bugs.

Thank Owen Conti (@owenconti) for the help to make the extension even better.

0.10.0

  • Supported to hide Maven explorer view by default. #51
  • Started to use a separate terminal for each root folder. #68
  • Improved performance of searching for pom.xml #77
  • Started to includes Maven archetypes in local catalog when generating projects. #82
  • Forced to use mvn wrapper as Maven executable file if one is found in root folder, and added a new configuration maven.executable.preferMavenWrapper allowing to turn it off. #84 #105
  • Refined command maven.history to re-run historical goals.#87
  • Started to use "cmd /c" to execute Maven commands for PowerShell.#112
  • Supported to update explorer automatically when workspace folders change. #27
  • Some code refactoring and bug fixing.

0.9.2

  • Fixed bug of using ./mvnw as maven executable.

0.9.1

  • Fetch list of popular archetypes on the fly. #63
  • Guide users to setup correct mvn executable path when error occurs. #66
  • Fixed some bugs.

0.9.0

  • Fixed vulnerabilities in package dependencies.
  • Formatted filepath for WSL Bash.
  • Added entry for historical commands in context menu.

0.8.0

  • Simplified the workflow for executing custom goals.
  • Supported to fast re-run maven command from history.
  • Supported to trigger maven command from command palette.
  • Fixed some bugs.

0.7.0

  • Added support for setting JAVA_HOME and other environment variables through configuration settings.
  • Supported to put popular archetypes ahead when generating projects.
  • Supported to append default options for mvn commands.

0.6.0

  • Supported to auto-update maven project explorer tree view when pom.xml has been created/modified/removed.
  • Started to collect anonymous data of selected Maven Archetype when users generate projects.

0.5.2

  • Updated extension name.

0.5.1

  • Excluded pom.xml in target folder by default. (to avoid duplicate item in explorer)
  • Fixed CRLF issue #10.

0.5.0

  • Supported to use maven wrapper.
  • Changed icon of treeItems for dark/light themes.
  • Fixed some bugs.

Early Versions

For historical releases earlier than v0.4.1, please refer to Eskibear/vscode-maven.