Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump github.com/hashicorp/go-tfe from 1.51.0 to 1.52.0 #1343

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2024

Bumps github.com/hashicorp/go-tfe from 1.51.0 to 1.52.0.

Release notes

Sourced from github.com/hashicorp/go-tfe's releases.

v1.52.0

ENHANCEMENTS

  • Add EnforcementLevel to Policy create and update options. This will replace the deprecated []Enforce method for specifying enforcement level. @​JarrettSpiker #895

DEPRECATIONS

  • The Enforce fields on Policy, PolicyCreateOptions, and PolicyUpdateOptions have been deprecated. Use the EnforcementLevel instead. @​JarrettSpiker #895
Changelog

Sourced from github.com/hashicorp/go-tfe's changelog.

v1.52.0

Enhancements

  • Add EnforcementLevel to Policy create and update options. This will replace the deprecated []Enforce method for specifying enforcement level. @​JarrettSpiker #895

Deprecations

  • The Enforce fields on Policy, PolicyCreateOptions, and PolicyUpdateOptions have been deprecated. Use the EnforcementLevel instead. @​JarrettSpiker #895
Commits
  • 6fddd6e Merge pull request #896 from hashicorp/v1.52.0-changelog
  • a537ac1 empty commit
  • c3db25d v1.52.0-changelog
  • 03314f5 Merge pull request #895 from hashicorp/jspiker/policyEnforcementLevel
  • 774956e Fix linting error and add changelog
  • 7099cba Add enforcement level to policies
  • 7e3d4a4 Merge pull request #893 from hashicorp/netramali/remove-beta-flags-project-de...
  • ec5ef4a remove beta flags
  • See full diff in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
github.com/hashicorp/go-tfe [>= 0.23.a, < 0.24]
github.com/hashicorp/go-tfe [>= 0.26.a, < 0.27]

Dependabot compatibility score

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 commands and options

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)

Bumps [github.com/hashicorp/go-tfe](https://github.com/hashicorp/go-tfe) from 1.51.0 to 1.52.0.
- [Release notes](https://github.com/hashicorp/go-tfe/releases)
- [Changelog](https://github.com/hashicorp/go-tfe/blob/main/CHANGELOG.md)
- [Commits](hashicorp/go-tfe@v1.51.0...v1.52.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-tfe
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner May 1, 2024 13:35
@dependabot dependabot bot added dependencies go Pull requests that update Go code labels May 1, 2024
@emlanctot emlanctot force-pushed the dependabot/go_modules/github.com/hashicorp/go-tfe-1.52.0 branch 4 times, most recently from 7b6d9c5 to f863494 Compare May 7, 2024 20:17
@emlanctot emlanctot force-pushed the dependabot/go_modules/github.com/hashicorp/go-tfe-1.52.0 branch from f863494 to 32c3d86 Compare May 7, 2024 20:24
@@ -194,7 +194,7 @@ func createOPAPolicyOptions(options *tfe.PolicyCreateOptions, d *schema.Resource
enforceOpts.Mode = tfe.EnforcementMode(tfe.EnforcementLevel(v.(string)))
}

options.Enforce = []*tfe.EnforcementOptions{enforceOpts}
options.Enforce = []*tfe.EnforcementOptions{enforceOpts} //nolint:staticcheck // this is still used by TFE version 202306-1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nitpick, this is still used by TFE versions older than 202306-1

Copy link
Contributor Author

dependabot bot commented on behalf of github May 8, 2024

A newer version of github.com/hashicorp/go-tfe exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@laurenolivia
Copy link
Contributor

Note: we bumped go-tfe to v1.53.0 on 5/7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants