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

fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.13.0 #751

Merged

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 requested a review from a team as a code owner August 6, 2024 18:07
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from f9f1a8a to 6f87538 Compare August 7, 2024 21:01
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 6f87538 to 3d89f1d Compare August 9, 2024 17:06
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 3d89f1d to 2f12f81 Compare August 19, 2024 23:25
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 2f12f81 to 9df2a97 Compare August 20, 2024 21:04
@codecov-commenter
Copy link

codecov-commenter commented Aug 20, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.82%. Comparing base (3623385) to head (caa7fef).
Report is 52 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #751      +/-   ##
==========================================
- Coverage   35.87%   34.82%   -1.05%     
==========================================
  Files         179      184       +5     
  Lines       23191    24429    +1238     
==========================================
+ Hits         8319     8507     +188     
- Misses      14711    15808    +1097     
+ Partials      161      114      -47     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 9df2a97 to 1a39b78 Compare August 21, 2024 21:10
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 1a39b78 to 786a8ee Compare August 22, 2024 18:32
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 786a8ee to 7f8f13f Compare August 26, 2024 15:42
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 7f8f13f to 600eb9f Compare August 28, 2024 19:39
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 600eb9f to 13360f7 Compare August 30, 2024 15:58
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 86d1d4e to d003345 Compare September 18, 2024 22:42
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from d003345 to cb32d0e Compare September 19, 2024 15:33
@renovate renovate bot changed the title fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.12.0 fix(deps): 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 cb32d0e to afc8e83 Compare October 31, 2024 19:28
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from afc8e83 to 765b09f Compare November 4, 2024 18:20
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 765b09f to 7d31a5b Compare November 7, 2024 15:05
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from 7d31a5b to a3bddad Compare November 7, 2024 15:15
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from a3bddad to caa7fef Compare November 7, 2024 16:32
@renovate renovate bot force-pushed the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch from caa7fef to ba4f7b5 Compare November 7, 2024 17:24
@ctreatma ctreatma merged commit b2cd114 into main Nov 7, 2024
11 of 14 checks passed
@ctreatma ctreatma deleted the renovate/github.com-hashicorp-terraform-plugin-framework-1.x branch November 7, 2024 18:18
Copy link

This PR is included in version 2.11.0 🎉

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.

2 participants