Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opentofu/opentofu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10.2
Choose a base ref
...
head repository: opentofu/opentofu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.10.3
Choose a head ref
  • 11 commits
  • 13 files changed
  • 3 contributors

Commits on Jul 2, 2025

  1. main: Log the effective set of OCI credential search locations

    Previously we generated some logs during the discovery process indicating
    which locations OpenTofu was probing for ambient credentials, but we didn't
    explicitly report the overall result of the discovery process.
    
    These new log lines will now report the final effective set of credential
    configuration locations just before we try to use them in either the
    provider installation or module installation codepaths. The strings
    returned by CredentialsConfigLocationForUI are intended for just this sort
    of feedback: the exact format varies for each kind of location, but it's
    always a concise string identifying a location that OpenTofu will consider
    when attempting to decide credentials.
    
    Logging this here does unfortunately mean that the log output will be
    repeated for each separate OCI registry request. There not being a great
    single location to generate these logs was the main reason we didn't
    include something like this in the first implementation, but the set of
    config locations is small on any reasonable system and we've already had
    a few folks struggle to understand why OpenTofu is making a certain
    decision about credential sources so this is a pragmatic small step to give
    us some extra diagnostic information in bug reports without affecting the
    normal UI output for now.
    
    Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
    apparentlymart authored and cam72cam committed Jul 2, 2025
    Configuration menu
    Copy the full SHA
    e02159e View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2025

  1. jsonformat: Tolerate incorrect paths in plan relevant_attributes

    The code for matching relevant_attributes against resource_drift entries
    (a part of the heuristic for deciding whether to show "changes outside of
    OpenTofu" in the human-oriented plan UI) was previously assuming that paths
    in resource_drift would always be valid for the associated resource
    instance object values because in most cases the language runtime will
    detect invalid references and so fail to generate a plan at all.
    
    However, when the reference is to something within a dynamically-typed
    argument (such as the manifest in kubernetes_manifest) and when it appears
    only as an argument to either the "try" or "can" functions (so the dynamic
    error is intentionally suppressed) the language runtime can't catch it
    and so the incorrect reference will leak out into relevant_attributes,
    thereby violating assumptions made by the path matcher.
    
    Instead then, we'll continue the existing precedent that this "relevant
    attributes" mechanism is a best-effort heuristic that prefers to succeed
    with an incomplete result rather than to fail, extending that to the
    traversals in the plan renderer which will now treat incorrectly-typed
    steps as not matching rather than causing OpenTofu to crash completely.
    
    Since a reference to something that doesn't exist cannot succeed it also
    cannot possibly _actually_ contribute directly to the final result of the
    expression it appeared in, so in practice it should be okay to disregard
    these invalid references for the purposes of deciding which changes outside
    of OpenTofu seem likely to have caused the actions that OpenTofu is
    proposing to make during the apply phase.
    
    Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
    apparentlymart committed Jul 3, 2025
    Configuration menu
    Copy the full SHA
    620b4a0 View commit details
    Browse the repository at this point in the history
  2. CHANGELOG: Add the heading for not-yet-released v1.10.3

    Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
    apparentlymart committed Jul 3, 2025
    Configuration menu
    Copy the full SHA
    b44dfa0 View commit details
    Browse the repository at this point in the history
  3. CHANGELOG: Entry for #2988

    Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
    apparentlymart committed Jul 3, 2025
    Configuration menu
    Copy the full SHA
    402950a View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

  1. fix: Temp data cleanup in windows (#2995)

    Signed-off-by: krishna sindhur <krishna.sindhur@thinkbyte.ai>
    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    KrishnaSindhur authored and cam72cam committed Jul 7, 2025
    Configuration menu
    Copy the full SHA
    0d3ae95 View commit details
    Browse the repository at this point in the history
  2. Update changelog

    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    cam72cam committed Jul 7, 2025
    Configuration menu
    Copy the full SHA
    f8576fd View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2025

  1. hcl2shim: MockValueComposer handles structural-typed attributes (#2994)

    Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    apparentlymart and cam72cam committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    a77a4b8 View commit details
    Browse the repository at this point in the history
  2. Update changelog

    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    cam72cam committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    a066a23 View commit details
    Browse the repository at this point in the history
  3. Smarter approach to .Equals on state objects for unordered lists (#3024)

    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    cam72cam committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    027bd8f View commit details
    Browse the repository at this point in the history
  4. Update changelog

    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    cam72cam committed Jul 14, 2025
    Configuration menu
    Copy the full SHA
    c376148 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2025

  1. Version 1.10.3

    Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
    cam72cam committed Jul 15, 2025
    Configuration menu
    Copy the full SHA
    1e755e9 View commit details
    Browse the repository at this point in the history
Loading