Skip to content
/ go-cty Public
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: zclconf/go-cty
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 74286a8
Choose a base ref
...
head repository: zclconf/go-cty
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d4f2633
Choose a head ref
  • 5 commits
  • 6 files changed
  • 2 contributors

Commits on Mar 20, 2024

  1. Configuration menu
    Copy the full SHA
    15a9d85 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. function/stdlib: element accepts negative indices

    The abstraction offered by this function is that of an infinitely-long list
    consisting of repeating copies of the input list, but previously we
    restricted it only to positive indices.
    
    Now we'll also treat the indices before zero as a negative extension of
    the infinite list, for consistency.
    
    Technically the list is not actually infinite but rather constrained by
    the range of an int64 in Go. Ideally we'd relax that too and allow any
    whole number that's in the full range of cty.Number, but there's no clear
    benefit to that beyond a theoretical idea of correctness and so we'll
    save that one for a later change if we discover a real use-case for it.
    apparentlymart committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    7b73cce View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. cty: use unmarked val when Transform walks object attrs

    When descending into an object inside a Transformer, the marks from the
    outer object should not be applied to the attribute values. This follows
    the pattern used in other collection types, and ensures marks are stable
    across multiple transformations.
    jbardin authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    043bf38 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    apparentlymart authored Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0cccfb9 View commit details
    Browse the repository at this point in the history
  3. v1.15.0 release

    apparentlymart committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    d4f2633 View commit details
    Browse the repository at this point in the history
Loading