Skip to content

Commit

Permalink
Merge pull request #141 from Noahnc/feat/release_v.0.5
Browse files Browse the repository at this point in the history
doc(Changelog): Add changelog and bump version
  • Loading branch information
Noahnc authored May 28, 2024
2 parents aba1851 + 9ba7432 commit 57fb2b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to the terraform-toolbox extension will be documented in this file.

## [0.5.0]

- (feat): Added a new Service that watches for changed .tf files and automatically initializes terraform directories when a provider is not installed or a module is missing.
- (feat): The extension will now automatically add the active Terraform / OpenTofu version to your PATH within VSCode. Any VSCode terminal and other extensions should respect this PATH change. If you want to use the installed Terraform / OpenTofu version outside of VSCode, you have configure your PATH manually.
- (refac): Make all file system operations async to improve performance.

## [0.4.0]

- (feat): This update adds OpenTofu support. You can now select OpenTofu as IaC provider in the settings.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Since the init command is required for many features of the official Hashicorp T

#### Auto-install providers

By enabling the setting `tftoolbox.iac.enableAutoProviderInitialization`, the extension will automatically initialize a terraform / opentofu project when a changed .tf file contains a provider version constraint for which no provider is currently installed. The extension will then run terraform / opentofu init in that folder.
By enabling the setting `tftoolbox.iac.enableAutoProviderInitialization`, the extension will automatically initialize a terraform / opentofu project when a changed .tf file contains a provider version constraint for which no provider is currently installed. The extension will then run terraform / opentofu init in that folder. The folder has to be initialized manually for the first time to be considered for auto-initialization.

> [!IMPORTANT]
> This feature is experimental and might use lots of system resources when switching branches in git with many provider version changes. It is also not recommended to use in combination with the vscode setting `Auto Save: afterDelay`. Instead, use the setting `Auto Save: onFocusChange` or `Auto Save: onWindowChange`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/Noahnc/vscode-terraform-toolbox"
},
"description": "VSCode extension adding a bunch of featurees regarding Terraform / OpenTofu and Spacelift.",
"version": "0.4.0",
"version": "0.5.0",
"icon": "Images/terraform_toolbox_icon.png",
"engines": {
"vscode": "^1.83.0"
Expand Down

0 comments on commit 57fb2b4

Please sign in to comment.