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

chore(deps): bump the go group across 1 directory with 3 updates #7

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

Conversation

dependabot[bot]
Copy link

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

Bumps the go group with 3 updates in the / directory: github.com/hashicorp/terraform-plugin-framework, github.com/hashicorp/terraform-plugin-framework-validators and github.com/oapi-codegen/oapi-codegen/v2.

Updates github.com/hashicorp/terraform-plugin-framework from 1.9.0 to 1.12.0

Release notes

Sourced from github.com/hashicorp/terraform-plugin-framework's releases.

v1.12.0

NOTES:

  • all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#1033)

BUG FIXES:

  • providerserver: Fixed bug that prevented moved operation support between resource types for framework-only providers. (#1039)

v1.11.0

NOTES:

  • Framework reflection logic (Config.Get, Plan.Get, etc.) for structs with tfsdk field tags has been updated to support embedded structs that promote exported fields. For existing structs that embed unexported structs with exported fields, a tfsdk ignore tag (tfsdk:"-") can be added to ignore all promoted fields.

For example, the following struct will now return an error diagnostic:

type thingResourceModel struct {
	Attr1 types.String `tfsdk:"attr_1"`
	Attr2 types.Bool   `tfsdk:"attr_2"`
// Previously, this embedded struct was ignored, will now promote underlying fields
embeddedModel

}
type embeddedModel struct {
// No tfsdk tag
ExportedField string
}

To preserve the original behavior, a tfsdk ignore tag can be added to ignore the entire embedded struct:

type thingResourceModel struct {
	Attr1 types.String `tfsdk:"attr_1"`
	Attr2 types.Bool   `tfsdk:"attr_2"`
// This embedded struct will now be ignored
embeddedModel      `tfsdk:"-"`

}
type embeddedModel struct {
ExportedField string
}

(#1021)

ENHANCEMENTS:

... (truncated)

Changelog

Sourced from github.com/hashicorp/terraform-plugin-framework's changelog.

1.12.0 (September 18, 2024)

NOTES:

  • all: This Go module has been updated to Go 1.22 per the Go support policy. It is recommended to review the Go 1.22 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#1033)

BUG FIXES:

  • providerserver: Fixed bug that prevented moved operation support between resource types for framework-only providers. (#1039)

1.11.0 (August 06, 2024)

NOTES:

  • Framework reflection logic (Config.Get, Plan.Get, etc.) for structs with tfsdk field tags has been updated to support embedded structs that promote exported fields. For existing structs that embed unexported structs with exported fields, a tfsdk ignore tag (tfsdk:"-") can be added to ignore all promoted fields.

For example, the following struct will now return an error diagnostic:

type thingResourceModel struct {
	Attr1 types.String `tfsdk:"attr_1"`
	Attr2 types.Bool   `tfsdk:"attr_2"`
// Previously, this embedded struct was ignored, will now promote underlying fields
embeddedModel

}
type embeddedModel struct {
// No tfsdk tag
ExportedField string
}

To preserve the original behavior, a tfsdk ignore tag can be added to ignore the entire embedded struct:

type thingResourceModel struct {
	Attr1 types.String `tfsdk:"attr_1"`
	Attr2 types.Bool   `tfsdk:"attr_2"`
// This embedded struct will now be ignored
embeddedModel      `tfsdk:"-"`

}
type embeddedModel struct {
ExportedField string
}

(#1021)

... (truncated)

Commits
  • e09ec9d Update changelog
  • e753600 build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1041)
  • ba1098a add missing capability MoveResourceState (#1038)
  • 7076cca docs: Miscellaneous doc fixes in attribute + unit tests (#1027)
  • 91cc780 [CI] terraform-devex-repos automation
  • b9d2b2e [CI] terraform-devex-repos automation
  • 734297e [CI] terraform-devex-repos automation
  • dc4f1ad [CI] Update issue comment triage workflow file
  • 7ae15f6 [CI] Update lock workflow file
  • c4e4453 all: Bump minimum Go module version to 1.22 (#1033)
  • Additional commits viewable in compare view

Updates github.com/hashicorp/terraform-plugin-framework-validators from 0.12.0 to 0.13.0

Release notes

Sourced from github.com/hashicorp/terraform-plugin-framework-validators's releases.

v0.13.0

NOTES:

  • all: This Go module has been updated to Go 1.21 per the Go support policy. It is recommended to review the Go 1.21 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#198)

FEATURES:

  • int32validator: New package which contains int32 type specific validators (#222)
  • float32validator: New package which contains float32 type specific validators (#222)

ENHANCEMENTS:

  • listvalidator: Added ValueInt32sAre and ValueFloat32sAre validators (#222)
  • mapvalidator: Added ValueInt32sAre and ValueFloat32sAre validators (#222)
  • setvalidator: Added ValueInt32sAre and ValueFloat32sAre validators (#222)

BUG FIXES:

  • Add the attribute from the request to the at-least-one validator's error message (#199)
Changelog

Sourced from github.com/hashicorp/terraform-plugin-framework-validators's changelog.

0.13.0 (July 09, 2024)

NOTES:

  • all: This Go module has been updated to Go 1.21 per the Go support policy. It is recommended to review the Go 1.21 release notes before upgrading. Any consumers building on earlier Go versions may experience errors (#198)

FEATURES:

  • int32validator: New package which contains int32 type specific validators (#222)
  • float32validator: New package which contains float32 type specific validators (#222)

ENHANCEMENTS:

  • listvalidator: Added ValueInt32sAre and ValueFloat32sAre validators (#222)
  • mapvalidator: Added ValueInt32sAre and ValueFloat32sAre validators (#222)
  • setvalidator: Added ValueInt32sAre and ValueFloat32sAre validators (#222)

BUG FIXES:

  • Add the attribute from the request to the at-least-one validator's error message (#199)
Commits
  • 48086cb Update changelog
  • ba395d2 all: Add support for Int32 and Float32 Type Validators (#222)
  • ea42e33 build(deps): bump github.com/hashicorp/terraform-plugin-framework (#223)
  • a5c333b build(deps): bump github.com/hashicorp/copywrite in /tools (#221)
  • 6dd823a Result of tsccr-helper -log-level=info gha update -latest . (#220)
  • 46f0cef SEC-090: Automated trusted workflow pinning (2024-06-17) (#219)
  • 2581727 [CI] Update lock workflow file
  • b4f79ef [CI] terraform-devex-repos automation
  • 510e64c [CI] terraform-devex-repos automation
  • 6f606d0 [CI] terraform-devex-repos automation
  • Additional commits viewable in compare view

Updates github.com/oapi-codegen/oapi-codegen/v2 from 2.3.0 to 2.4.1

Release notes

Sourced from github.com/oapi-codegen/oapi-codegen/v2's releases.

v2.4.1: A couple of post-release fixes

🐛 Bug fixes

📝 Documentation updates

👻 Maintenance

Sponsors

We would like to thank our sponsors for their support during this release.

... (truncated)

Commits
  • 9c09ef9 build: relax patch version pinning on go directive
  • 7ce53fa fix(import-mapping): don't produce unused variable when one mapping (#1781)
  • 7234c66 docs(sponsors): clarify Elastic's 4h/mo
  • b7b82be docs: correct wording of heading
  • 3aa1efb feat: allow import-mapping to the current package (#1774)
  • 891a067 Revert "fix(template): fix strict-interface template to make sure text respon...
  • 3a8fc20 chore(tests): add test case for #1676
  • dad645e fix: correctly generate structs and properties for anyOfs (#1178)
  • 58c7894 docs: remove deepmap/oapi-codegen references
  • 58a5d2d fix(cookies): wrap cookie variables in block scope (#1687)
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go group with 3 updates in the / directory: [github.com/hashicorp/terraform-plugin-framework](https://github.com/hashicorp/terraform-plugin-framework), [github.com/hashicorp/terraform-plugin-framework-validators](https://github.com/hashicorp/terraform-plugin-framework-validators) and [github.com/oapi-codegen/oapi-codegen/v2](https://github.com/oapi-codegen/oapi-codegen).


Updates `github.com/hashicorp/terraform-plugin-framework` from 1.9.0 to 1.12.0
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-framework@v1.9.0...v1.12.0)

Updates `github.com/hashicorp/terraform-plugin-framework-validators` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/hashicorp/terraform-plugin-framework-validators/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-framework-validators/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-framework-validators@v0.12.0...v0.13.0)

Updates `github.com/oapi-codegen/oapi-codegen/v2` from 2.3.0 to 2.4.1
- [Release notes](https://github.com/oapi-codegen/oapi-codegen/releases)
- [Commits](oapi-codegen/oapi-codegen@v2.3.0...v2.4.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-framework
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/hashicorp/terraform-plugin-framework-validators
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/oapi-codegen/oapi-codegen/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants