opentofu/CHANGELOG.md
AbstractionFactory 4083fe2cc4
Adding missing PR link to changelog (#2452)
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
2025-01-29 14:23:16 +01:00

3.4 KiB

1.10.0 (Unreleased)

UPGRADE NOTES:

NEW FEATURES:

  • New builtin provider functions added (#2306) :
    • provider::terraform::decode_tfvars - Decode a TFVars file content into an object.
    • provider::terraform::encode_tfvars - Encode an object into a string with the same format as a TFVars file.
    • provider::terraform::encode_expr - Encode an arbitrary expression into a string with valid OpenTofu syntax.

ENHANCEMENTS:

  • OpenTofu will now recommend using -exclude instead of -target, when possible, in the error messages about unknown values in count and for_each arguments, thereby providing a more definitive workaround. (#2154)
  • State encryption now supports using external programs as key providers. Additionally, the PBKDF2 key provider now supports chaining via the chain parameter. (#2023)
  • The element function now accepts negative indices, which extends the existing "wrapping" model into the negative direction. In particular, choosing element -1 selects the final element in the sequence. (#2371)

BUG FIXES:

  • Fixed an issue where an invalid provider name in the provider_meta block would crash OpenTofu rather than report an error (#2347)
  • When assigning an empty map to a variable that is declared as a map of an object type with at least one optional attribute, OpenTofu will no longer create a subtly-broken value. (#2371)
  • The format and formatlist functions can now accept null as one of the arguments without causing problems during the apply phase. Previously these functions would incorrectly return an unknown value when given null and so could cause a failure during the apply phase where no unknown values are allowed. (#2371)
  • Provider used in import is correctly identified. (#2336)
  • plantimestamp() now returns unknown value during validation (#2397)
  • Syntax error in the required_providers block does not panic anymore, but yields "syntax error" (2344)
  • Changing Go version to 1.22.11 in order to fix CVE-2024-45336 and CVE-2024-45341 (#2438)
  • Fix the error message when default value of a complex variable is containing a wrong type (2394)

Previous Releases

For information on prior major and minor releases, see their changelogs: