Flagsmith / terraform-provider-flagsmith

Flagsmith Terraform Provider
Mozilla Public License 2.0
5 stars 2 forks source link

Build(deps): Bump github.com/hashicorp/terraform-plugin-framework from 1.9.0 to 1.11.0 #154

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 month ago

Bumps github.com/hashicorp/terraform-plugin-framework from 1.9.0 to 1.11.0.

Release notes

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

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:

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

v1.10.0

FEATURES:

  • types/basetypes: Added Int32Type and Int32Value implementations for Int32 value handling. (#1010)
  • types/basetypes: Added interfaces basetypes.Int32Typable, basetypes.Int32Valuable, and basetypes.Int32ValuableWithSemanticEquals for Int32 custom type and value implementations. (#1010)
  • resource/schema: Added Int32Attribute implementation for Int32 value handling. (#1010)

... (truncated)

Changelog

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

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)

ENHANCEMENTS:

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

1.10.0 (July 09, 2024)

FEATURES:

  • types/basetypes: Added Int32Type and Int32Value implementations for Int32 value handling. (#1010)

... (truncated)

Commits
  • c338d61 Update changelog
  • 4d10c17 all: Add support for embedded struct types in object conversions (#1021)
  • d6c8b06 docs: Add more clarification for unknown values during config validation (#1023)
  • 0f21b14 Result of tsccr-helper -log-level=info gha update -latest . (#1020)
  • 12d7331 Result of tsccr-helper -log-level=info gha update -latest . (#1018)
  • 154799d Update changelog
  • f322448 Remove extra unaccepted comma in the example code (#1016)
  • 6ab653a reflect: Use float64 string representation for float32 reflection equival...
  • 758afb7 all: Add float32 type, attribute, and function support (#1014)
  • 79b0229 all: Add int32 type, attribute, and function support (#1010)
  • Additional commits viewable in compare view


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 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)