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: coder/preview
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.2
Choose a base ref
...
head repository: coder/preview
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.3
Choose a head ref
  • 11 commits
  • 26 files changed
  • 4 contributors

Commits on Jun 27, 2025

  1. fix: tags argument in workspace tags block is optional (#157)

    It was marked as required, which is incorrect. The provider has it as optional.
    Emyrk authored Jun 27, 2025
    Configuration menu
    Copy the full SHA
    47802e4 View commit details
    Browse the repository at this point in the history
  2. feat: prevent path expansion using host context (#158)

    Any references to `~` should return an error
    Emyrk authored Jun 27, 2025
    Configuration menu
    Copy the full SHA
    ae79d6d View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2025

  1. chore: comment original source for the code change on path expansion (#…

    …161)
    
    Co-authored-by: ケイラ <mckayla@hey.com>
    Emyrk and aslilac authored Jun 30, 2025
    Configuration menu
    Copy the full SHA
    80d1ef4 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2025

  1. feat: allow bool + number tag values (#160)

    Tag values accept bool & number in coder/coder.
    Maps, lists, and objects are rejected as invalid tags. 
    `null` values are omitted from the tags, matching terraform apply/plan
    Emyrk authored Jul 1, 2025
    Configuration menu
    Copy the full SHA
    25471dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3d6e86 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2025

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

Commits on Jul 14, 2025

  1. chore(deps): bump github.com/hashicorp/hcl/v2 from 2.23.0 to 2.24.0 (#…

    …166)
    
    Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl)
    from 2.23.0 to 2.24.0.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/releases">github.com/hashicorp/hcl/v2's">https://github.com/hashicorp/hcl/releases">github.com/hashicorp/hcl/v2's
    releases</a>.</em></p>
    <blockquote>
    <h2>v2.24.0</h2>
    <h3>Enhancements</h3>
    <ul>
    <li>Add support for decoding block and attribute source ranges when
    using <code>gohcl</code>. (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/pull/703">#703</a>)</li">https://redirect.github.com/hashicorp/hcl/pull/703">#703</a>)</li>
    <li>hclsyntax: Detect and reject invalid nested splat result. (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/pull/724">#724</a>)</li">https://redirect.github.com/hashicorp/hcl/pull/724">#724</a>)</li>
    </ul>
    <h3>Bugs Fixed</h3>
    <ul>
    <li>Correct handling of unknown objects in Index function. (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/pull/763">#763</a>)</li">https://redirect.github.com/hashicorp/hcl/pull/763">#763</a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md">github.com/hashicorp/hcl/v2's">https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md">github.com/hashicorp/hcl/v2's
    changelog</a>.</em></p>
    <blockquote>
    <h2>v2.24.0 (July 7, 2025)</h2>
    <h3>Enhancements</h3>
    <ul>
    <li>Add support for decoding block and attribute source ranges when
    using <code>gohcl</code>. (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/pull/703">#703</a>)</li">https://redirect.github.com/hashicorp/hcl/pull/703">#703</a>)</li>
    <li>hclsyntax: Detect and reject invalid nested splat result. (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/pull/724">#724</a>)</li">https://redirect.github.com/hashicorp/hcl/pull/724">#724</a>)</li>
    </ul>
    <h3>Bugs Fixed</h3>
    <ul>
    <li>Correct handling of unknown objects in Index function. (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/pull/763">#763</a>)</li">https://redirect.github.com/hashicorp/hcl/pull/763">#763</a>)</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/6b5068090eef06b1f127f61529db5ba0be7ed343"><code>6b50680</code></a">https://github.com/hashicorp/hcl/commit/6b5068090eef06b1f127f61529db5ba0be7ed343"><code>6b50680</code></a>
    Update CHANGELOG.md (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/764">#764</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/764">#764</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/77ef278eaae165adbe82d39a1b8e7707ad7d501a"><code>77ef278</code></a">https://github.com/hashicorp/hcl/commit/77ef278eaae165adbe82d39a1b8e7707ad7d501a"><code>77ef278</code></a>
    ops: handle unknown objects correctly when looking up by index (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/763">#763</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/763">#763</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/dfa124f3c93ff1764fda03702a7a9aa8c9db48d8"><code>dfa124f</code></a">https://github.com/hashicorp/hcl/commit/dfa124f3c93ff1764fda03702a7a9aa8c9db48d8"><code>dfa124f</code></a>
    [Compliance] - PR Template Changes Required (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/761">#761</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/761">#761</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/6b5c4c2bac7140d1f676d294e99ff5d696b8fbf9"><code>6b5c4c2</code></a">https://github.com/hashicorp/hcl/commit/6b5c4c2bac7140d1f676d294e99ff5d696b8fbf9"><code>6b5c4c2</code></a>
    fix errors thrown by errcheck linter (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/755">#755</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/755">#755</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/61bd79dedd738d45edd16f6eb0ca405d0484a7b7"><code>61bd79d</code></a">https://github.com/hashicorp/hcl/commit/61bd79dedd738d45edd16f6eb0ca405d0484a7b7"><code>61bd79d</code></a>
    suppress and fix lint errors by unused (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/754">#754</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/754">#754</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/8b8cb9c9fa85c1f91083ee866c0ca3d1b910404b"><code>8b8cb9c</code></a">https://github.com/hashicorp/hcl/commit/8b8cb9c9fa85c1f91083ee866c0ca3d1b910404b"><code>8b8cb9c</code></a>
    build(deps): bump golangci/golangci-lint-action</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/aa4e44796409371ce1f3d452c81b334d7bbdbfcc"><code>aa4e447</code></a">https://github.com/hashicorp/hcl/commit/aa4e44796409371ce1f3d452c81b334d7bbdbfcc"><code>aa4e447</code></a>
    build(deps): bump actions/setup-go</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/72443636fe97ebb2e1ce1aa2bfa87dd426d8a88f"><code>7244363</code></a">https://github.com/hashicorp/hcl/commit/72443636fe97ebb2e1ce1aa2bfa87dd426d8a88f"><code>7244363</code></a>
    Update go-cty to latest (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/749">#749</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/749">#749</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/b4e27ae471da2b5a30329239713f7f3ed630c2dc"><code>b4e27ae</code></a">https://github.com/hashicorp/hcl/commit/b4e27ae471da2b5a30329239713f7f3ed630c2dc"><code>b4e27ae</code></a>
    test_suite: refactor schema validation of diagnostic file range, pos (<a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://redirect.github.com/hashicorp/hcl/issues/750">#750</a>)</li">https://redirect.github.com/hashicorp/hcl/issues/750">#750</a>)</li>
    <li><a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/commit/314d2366eadcbd243f2988a535587d7fea94442e"><code>314d236</code></a">https://github.com/hashicorp/hcl/commit/314d2366eadcbd243f2988a535587d7fea94442e"><code>314d236</code></a>
    fix staticcheck lint errors</li>
    <li>Additional commits viewable in <a
    href="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/hashicorp/hcl/compare/v2.23.0...v2.24.0">compare">https://github.com/hashicorp/hcl/compare/v2.23.0...v2.24.0">compare
    view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility
    score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/hashicorp/hcl/v2&package-manager=go_modules&previous-version=2.23.0&new-version=2.24.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't
    alter it yourself. You can also trigger a rebase manually by commenting
    `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits
    that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after
    your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge
    and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating
    it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all
    of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop
    Dependabot creating any more for this major version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop
    Dependabot creating any more for this minor version (unless you reopen
    the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop
    Dependabot creating any more for this dependency (unless you reopen the
    PR or upgrade to it yourself)
    
    
    </details>
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 14, 2025
    Configuration menu
    Copy the full SHA
    9a7fd06 View commit details
    Browse the repository at this point in the history
  2. feat: terraform variables added to input (#165)

    Input can override template vars, implementing the equivalent of '-var'
    in terraform.
    Emyrk authored Jul 14, 2025
    Configuration menu
    Copy the full SHA
    ce03bce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    99bbcdb View commit details
    Browse the repository at this point in the history
  4. feat: Preview can now show presets and validate them (#149)

    This PR provides a mechanism to "lint" presets to ensure that they refer
    to parameters that actually exist and define values that are actually
    valid for those parameters.
    
    Relates to:  coder/coder#17333
    
    <img width="486" alt="Screenshot 2025-06-18 at 12 03 37"
    src="/api/flow.js?q=https%3A%2F%2Fgithub.com%2Fcoder%2Fpreview%2Fcompare%2F%253Ca%2520href%3D"https://github.com/user-attachments/assets/0b95dd3a-25d4-427a-9905-8ebced5485fd">https://github.com/user-attachments/assets/0b95dd3a-25d4-427a-9905-8ebced5485fd"
    />
    SasSwart authored Jul 14, 2025
    Configuration menu
    Copy the full SHA
    a737d47 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2025

  1. chore: fix nil ptr deref on terraform plan data (#171)

    Could hit a deref if the plan was empty.
    Emyrk authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    04b3064 View commit details
    Browse the repository at this point in the history
Loading