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

Update module github.com/hashicorp/terraform-plugin-framework to v1.13.0 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/hashicorp/terraform-plugin-framework v1.10.0 -> v1.13.0 age adoption passing confidence

Release Notes

hashicorp/terraform-plugin-framework (github.com/hashicorp/terraform-plugin-framework)

v1.13.0

Compare Source

NOTES:

  • Ephemeral resource support is in technical preview and offered without compatibility promises until Terraform 1.10 is generally available. (#​1050)

FEATURES:

  • ephemeral: New package for implementing ephemeral resources (#​1050)
  • ephemeral/schema: New package for implementing ephemeral resource schemas (#​1050)

ENHANCEMENTS:

  • provider: Added ProviderWithEphemeralResources interface for implementing ephemeral resources (#​1050)
  • tfsdk: Added EphemeralResultData struct for representing ephemeral values produced by a provider, such as from an ephemeral resource (#​1050)
  • provider: Added EphemeralResourceData to ConfigureResponse, to pass provider-defined data to ephemeral.EphemeralResource implementations (#​1050)

v1.12.0

Compare Source

NOTES:

BUG FIXES:

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

v1.11.0

Compare Source

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:

  • all: Added embedded struct support for object to struct conversions with tfsdk tags (#​1021)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from b3bef05 to ce85736 Compare September 18, 2024 17:27
Copy link
Contributor Author

renovate bot commented Sep 18, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 10 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22 -> 1.23.2
github.com/hashicorp/terraform-plugin-go v0.23.0 -> v0.25.0
github.com/hashicorp/go-plugin v1.6.0 -> v1.6.2
golang.org/x/crypto v0.25.0 -> v0.26.0
golang.org/x/net v0.27.0 -> v0.28.0
golang.org/x/sync v0.7.0 -> v0.8.0
golang.org/x/sys v0.22.0 -> v0.24.0
golang.org/x/text v0.16.0 -> v0.17.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de -> v0.0.0-20240814211410-ddb44dafa142
google.golang.org/grpc v1.63.2 -> v1.67.1
google.golang.org/protobuf v1.34.0 -> v1.35.1

@renovate renovate bot changed the title Update module github.com/hashicorp/terraform-plugin-framework to v1.11.0 Update module github.com/hashicorp/terraform-plugin-framework to v1.12.0 Sep 18, 2024
@renovate renovate bot changed the title Update module github.com/hashicorp/terraform-plugin-framework to v1.12.0 Update module github.com/hashicorp/terraform-plugin-framework to v1.13.0 Oct 31, 2024
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from ce85736 to c595b6d Compare October 31, 2024 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants