mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Repo updates to v1.8 (unreleased) (#1555)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
parent
d869923103
commit
34eac2e2da
122
.github/ISSUE_TEMPLATE/1_7_0_alpha1_feedback.yml
vendored
122
.github/ISSUE_TEMPLATE/1_7_0_alpha1_feedback.yml
vendored
@ -1,122 +0,0 @@
|
||||
# Copyright (c) The OpenTofu Authors
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
# Copyright (c) 2023 HashiCorp, Inc.
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
name: 1.7.0-alpha1 feedback
|
||||
description: Provide feedback for the 1.7.0-alpha1 preview release.
|
||||
labels: ["preview-release-feedback"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Thank you for testing the [1.7.0-alpha1](https://github.com/opentofu/opentofu/releases/tag/v1.7.0-alpha1) release.
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## State encryption
|
||||
|
||||
- [Documentation](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/state/encryption/)
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the state encryption?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the state encryption
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Removed block
|
||||
|
||||
- [Documentation](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/resources/syntax/#removing-resources)
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the removed block?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the removed block
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Testing feature
|
||||
|
||||
- `run{}` blocks now allow referencing previous block's module outputs.
|
||||
- `run{}` blocks now allow referencing the output from a previous run in variables.
|
||||
- `tofu test` now dumps the state file if it fails to clean up test resources.
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the testing feature changes?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the testing feature changes
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Built-in function changes
|
||||
|
||||
- New function: [templatestring](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/templatestring/)
|
||||
- New function: [base64gunzip](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/base64gunzip/)
|
||||
- New function: [cidrcontains](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/cidrcontains/)
|
||||
- New function: [urldecode](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/urldecode/)
|
||||
- New function: [issensitive](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/issensitive/)
|
||||
- [nonsensitive](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/nonsensitive/) no longer returns an error when the applied values are not sensitive.
|
||||
- [templatefile](https://1-7-0-alpha1.opentofu.pages.dev/docs/language/functions/templatefile/) now supports recursion up to a depth of 1024.
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the built-in functions?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the built-in functions
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## CLI changes
|
||||
|
||||
- `tofu plan` now has a `-concise` flag to shorten the plan output.
|
||||
- `tofu console` now works on Solaris and AIX.
|
||||
- The CLI now supports the XDG directory specification.
|
||||
- Aliases for `state list` → `state ls`, `state mv` → `state move`, `state rm` → `state remove`.
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the CLI changes?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the CLI changes
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Would you like to add anything else?
|
176
.github/ISSUE_TEMPLATE/1_7_0_beta1_feedback.yml
vendored
176
.github/ISSUE_TEMPLATE/1_7_0_beta1_feedback.yml
vendored
@ -1,176 +0,0 @@
|
||||
name: 1.7.0-beta1 feedback
|
||||
description: Provide feedback for the 1.7.0-beta1 preview release.
|
||||
labels: ["preview-release-feedback"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# Thank you for testing the [1.7.0-beta1](https://github.com/opentofu/opentofu/releases/tag/v1.7.0-beta1) release.
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Provider-defined functions
|
||||
|
||||
To test, you can use the [corefunc](https://library.tf/providers/northwood-labs/corefunc/latest) provider by [Ryan Parman](https://github.com/skyzyx):
|
||||
|
||||
```hcl
|
||||
terraform {
|
||||
required_providers {
|
||||
corefunc = {
|
||||
source = "northwood-labs/corefunc"
|
||||
version = "1.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "corefunc" {
|
||||
}
|
||||
|
||||
output "test" {
|
||||
value = provider::corefunc::str_snake("Hello world!")
|
||||
# Prints: hello_world
|
||||
}
|
||||
```
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the provider-defined functions?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the provider-defined functions
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Loopable import blocks
|
||||
|
||||
- [Documentation](https://1-7-0-beta1.opentofu.pages.dev/docs/language/import/#importing-multiple-resources)
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the `for_each` on the import block?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the import block
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## State encryption
|
||||
|
||||
- [Documentation](https://1-7-0-beta1.opentofu.pages.dev/docs/language/state/encryption/)
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the state encryption?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the state encryption
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Removed block
|
||||
|
||||
- [Documentation](https://1-7-0-beta1.opentofu.pages.dev/docs/language/resources/syntax/#removing-resources)
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the removed block?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the removed block
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Testing feature
|
||||
|
||||
- `run{}` blocks now allow referencing previous block's module outputs.
|
||||
- `run{}` blocks now allow referencing the output from a previous run in variables.
|
||||
- `tofu test` now dumps the state file if it fails to clean up test resources.
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the testing feature changes?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the testing feature changes
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## Built-in function changes
|
||||
|
||||
- New function: [templatestring](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/templatestring/)
|
||||
- New function: [base64gunzip](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/base64gunzip/)
|
||||
- New function: [cidrcontains](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/cidrcontains/)
|
||||
- New function: [urldecode](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/urldecode/)
|
||||
- New function: [issensitive](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/issensitive/)
|
||||
- [nonsensitive](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/nonsensitive/) no longer returns an error when the applied values are not sensitive.
|
||||
- [templatefile](https://1-7-0-beta1.opentofu.pages.dev/docs/language/functions/templatefile/) now supports recursion up to a depth of 1024.
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the built-in functions?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the built-in functions
|
||||
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
## CLI changes
|
||||
|
||||
- `tofu init` now supports the -json flag for JSON output.
|
||||
- `tofu plan` now has a `-concise` flag to shorten the plan output.
|
||||
- `tofu console` now works on Solaris and AIX.
|
||||
- The CLI now supports the XDG directory specification.
|
||||
- Aliases for `state list` → `state ls`, `state mv` → `state move`, `state rm` → `state remove`.
|
||||
- type: dropdown
|
||||
attributes:
|
||||
label: Did you test the CLI changes?
|
||||
options:
|
||||
- Did not test
|
||||
- Tested, worked
|
||||
- Tested, did not work / had problems
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Additional feedback / details on the CLI changes
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Would you like to add anything else?
|
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@ -29,4 +29,4 @@ all targeted releases.
|
||||
|
||||
-->
|
||||
|
||||
1.7.0
|
||||
1.8.0
|
||||
|
54
CHANGELOG.md
54
CHANGELOG.md
@ -1,66 +1,16 @@
|
||||
## 1.7.0 (Unreleased)
|
||||
## 1.8.0 (Unreleased)
|
||||
|
||||
UPGRADE NOTES:
|
||||
* Backend/S3: The default of `use_legacy_workflow` changed to `false` and is now deprecated. The S3 backend will follow the same behavior as AWS CLI and SDKs for credential search, preferring backend configuration over environment variables. To support the legacy credential search workflow, you can set this option as `true`. It'll be completely removed in a future minor version.
|
||||
|
||||
STATE ENCRYPTION
|
||||
* We're introducing optional end-to-end encryption for state files.
|
||||
* Available encryption methods as of now are:
|
||||
* AES GCM ([#1291](https://github.com/opentofu/opentofu/pull/1291))
|
||||
* Available key providers:
|
||||
* Passphrase, via pbkdf2 ([#1310](https://github.com/opentofu/opentofu/pull/1310))
|
||||
* AWS KMS ([#1349](https://github.com/opentofu/opentofu/pull/1349))
|
||||
* GCP KMS ([#1392](https://github.com/opentofu/opentofu/pull/1392))
|
||||
* OpenBao ([#1436](https://github.com/opentofu/opentofu/pull/1436))
|
||||
|
||||
NEW FEATURES:
|
||||
* Add support for a `removed` block that allows users to remove resources or modules from the state without destroying them. ([#1158](https://github.com/opentofu/opentofu/pull/1158))
|
||||
* Provider-defined functions are now available. They may be referenced via `provider::<provider_name>::<funcname>(args)`. ([#1439](https://github.com/opentofu/opentofu/pull/1439))
|
||||
* Add support for using `for_each` in `import` blocks ([#1492](https://github.com/opentofu/opentofu/pull/1492))
|
||||
|
||||
ENHANCEMENTS:
|
||||
* Added support to use `.tfvars` files from tests folder. ([#1386](https://github.com/opentofu/opentofu/pull/1386))
|
||||
* Added `templatestring` function that takes a string and renders it as a template using a supplied set of template variables. ([#1223](https://github.com/opentofu/opentofu/pull/1223))
|
||||
* Added `base64gunzip` function that takes a base64 encoded gzip string and returns the decompressed data as a string. ([#800](https://github.com/opentofu/opentofu/issues/800))
|
||||
* Added `cidrcontains` function that determines if an address belongs to a certain prefix. ([#366](https://github.com/opentofu/opentofu/issues/366))
|
||||
* Added `urldecode` function that will decode a url-encoded string. ([#1234](https://github.com/opentofu/opentofu/issues/1234))
|
||||
* Added `issensitive` function that returns whether a value is sensitive. ([#1370](https://github.com/opentofu/opentofu/issues/1370))
|
||||
* Added `-concise` flag to omit the refreshing state logs when tofu plan is run. ([#1225](https://github.com/opentofu/opentofu/pull/1225))
|
||||
* `nonsensitive` function no longer returns error when applied to values that are not sensitive ([#369](https://github.com/opentofu/opentofu/pull/369))
|
||||
* Managing large local terraform.tfstate files is now much faster. ([#579](https://github.com/opentofu/opentofu/pull/579))
|
||||
* Previously, every call to state.Write() would also Persist to disk. This was not following the intended API and had longstanding TODOs in the code.
|
||||
* This change fixes the local state filesystem interface to function as the statemgr API describes.
|
||||
* A possible side effect is that a hard crash mid-apply will no longer have a in-progress state file to reference. This matches the other state managers.
|
||||
* `tofu console` should work in Solaris and AIX as readline has been updated. ([#632](https://github.com/opentofu/opentofu/pull/632))
|
||||
* Allow test run blocks to reference previous run block's module outputs ([#1129](https://github.com/opentofu/opentofu/pull/1129))
|
||||
* Support the XDG Base Directory Specification ([#1200](https://github.com/opentofu/opentofu/pull/1200))
|
||||
* Allow referencing the output from a test run in the local variables block of another run (tofu test). ([#1254](https://github.com/opentofu/opentofu/pull/1254))
|
||||
* Allow for `templatefile` function recursion (up to 1024 call depth default). ([#1250](https://github.com/opentofu/opentofu/pull/1250))
|
||||
* Dump state file when `tofu test` fails to clean up resources. ([#1243](https://github.com/opentofu/opentofu/pull/1243))
|
||||
* Added aliases for `state list` (`state ls`), `state mv` (`state move`), and `state rm` (`state remove`) ([#1220](https://github.com/opentofu/opentofu/pull/1220))
|
||||
* Added mechanism to introduce automatic retries for provider installations, specifically targeting transient errors ([#1233](https://github.com/opentofu/opentofu/issues/1233))
|
||||
* Added `-json` flag to `tofu init` and `tofu get` to support output in json format. ([#1453](https://github.com/opentofu/opentofu/pull/1453))
|
||||
* `import` blocks `to` address can now support dynamic values (like variables, locals, conditions, and references to resources or data blocks) in index keys. ([#1270](https://github.com/opentofu/opentofu/pull/1270))
|
||||
|
||||
BUG FIXES:
|
||||
* Fix view hooks unit test flakiness by deterministically waiting for heartbeats to execute ([$1153](https://github.com/opentofu/opentofu/issues/1153))
|
||||
* `tofu test` resources cleanup at the end of tests changed to use simple reverse run block order. ([#1043](https://github.com/opentofu/opentofu/pull/1043))
|
||||
* Fix access to known references when using a import block for module resources ([#1105](https://github.com/opentofu/opentofu/pull/1105))
|
||||
* Show resource plan even if it failed plan due to `prevent_destroy` ([#1060](https://github.com/opentofu/opentofu/pull/1060))
|
||||
* `tofu login` now can be interrupted with `Ctrl+C` shortcut. ([#1074](https://github.com/opentofu/opentofu/pull/1074))
|
||||
* Don't check for version conflicts when doing a force-unlock ([#1123](https://github.com/opentofu/opentofu/pull/1123))
|
||||
* Fix Global Schema Cache not working in provider acceptance tests ([#1054](https://github.com/opentofu/opentofu/pull/1054))
|
||||
* Fix `tofu show` and `tofu state show` not working with state files referencing Terraform registry providers in some instances ([#1141](https://github.com/opentofu/opentofu/pull/1141))
|
||||
* Improved stability on 32-bit architectures ([#1154](https://github.com/opentofu/opentofu/pull/1154))
|
||||
* Don't show false update action when import resource with sensitive datasource([#1220](https://github.com/opentofu/opentofu/pull/1220))
|
||||
* Fix panic when provisioner source and content are both null ([#1376](https://github.com/opentofu/opentofu/pull/1376))
|
||||
* Fix large number will be truncated in plan ([#1382](https://github.com/opentofu/opentofu/pull/1382))
|
||||
* S3 backend no longer requires to have permissions to use the default `env:` workspace prefix ([#1445](https://github.com/opentofu/opentofu/pull/1445))
|
||||
* Fixed a crash when using a conditional with Twingate resource ([#1446](https://github.com/opentofu/opentofu/pull/1446))
|
||||
* Added support for user-defined headers when configuring the HTTP backend ([#1427](https://github.com/opentofu/opentofu/pull/1487))
|
||||
|
||||
## Previous Releases
|
||||
|
||||
For information on prior major and minor releases, see their changelogs:
|
||||
|
||||
- [v1.7](https://github.com/opentofu/opentofu/blob/v1.7/CHANGELOG.md)
|
||||
- [v1.6](https://github.com/opentofu/opentofu/blob/v1.6/CHANGELOG.md)
|
||||
|
Loading…
Reference in New Issue
Block a user