Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2024

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/terraform-plugin-docs v0.16.0 -> v0.23.0 age confidence
github.com/hashicorp/terraform-plugin-framework v1.5.0 -> v1.16.1 age confidence
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0 -> v0.19.0 age confidence
github.com/hashicorp/terraform-plugin-go v0.20.0 -> v0.29.0 age confidence
github.com/hashicorp/terraform-plugin-testing v1.6.0 -> v1.13.3 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

v0.23.0

Compare Source

FEATURES:

  • generate: Add support for actions (#​505)
  • migrate: Add support for actions (#​505)
  • validate: Add support for actions (#​505)

v0.22.0

Compare Source

BREAKING CHANGES:

  • generate: The .ProviderShortName template function now uses the rendered provider name to derive the provider short name. Users that pass in the --rendered-provider-name flag might see a different output for this function (#​492)

NOTES:

  • generate: Generated import documentation will now contain more information about which methods are supported by the provider (CLI command, config by ID, config by identity). (#​495)

FEATURES:

  • generate: Added support for defining import example file (import-by-string-id.tf) using Terraform configuration and the id attribute (#​472)
  • generate: Added support for defining import example file (import-by-identity.tf) using Terraform configuration and the identity attribute (managed resource identity) (#​496)

ENHANCEMENTS:

  • validate: Add allowed-guide-subcategories and allowed-resource-subcategories to provide a list of allowed subcategories (#​456)
  • validate: Add allowed-guide-subcategories-file and allowed-resource-subcategories-file to provide a file containing a list of allowed subcategories (#​456)
  • generate: Default resource and function templates now use .RenderedProviderName instead of .ProviderName (#​492)
  • generate: Remove trailing whitespace from default function template when .HasVariadic evaluates to false (#​489)

BUG FIXES:

  • validate: Fixed a bug that caused all non-index files to be detected as guides (#​456)
  • generate: Remove subcategory field from default provider templates (#​446)

v0.21.0

Compare Source

FEATURES:

  • generate: Add support for write-only arguments (#​434)

v0.20.1

Compare Source

BUG FIXES:

  • validate: Fixed a bug that caused false positive validation errors for resource types that have the same name as the provider. (#​419)
  • generate: Fixed a bug that caused all generated resource documentation to have the same content when the provider has a resource type with the same name as the provider. (#​419)
  • generate: Fixed a bug that would return an error when a static file exists in both templates and docs, which will now be ignored. (#​421)

v0.20.0

Compare Source

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. (#​400)

FEATURES:

  • generate: Add support for ephemeral resources (#​415)
  • migrate: Add support for ephemeral resources (#​415)
  • validate: Add support for ephemeral resources (#​415)

BUG FIXES:

  • validate: File extension check now runs on index.* files instead of just index.md files. (#​413)
  • validate: File extension check now specifies the correct valid extensions in the error message. (#​413)
  • validate: Front matter check now runs with the correct options on legacy index files. (#​413)

v0.19.4

Compare Source

NOTES:

  • validate: The number of files check has been removed to match the latest Terraform Registry ingress logic (#​381)

BUG FIXES:

  • generate: Prevented incorrect attribute paths with nested attributes that contain multiple attributes (#​380)

v0.19.3

Compare Source

BUG FIXES:

  • validate: Fixed issue with provider name not defaulting to directory (#​376)

v0.19.2

Compare Source

BUG FIXES:

  • migrate: Ensured idempotency of template files when command is ran multiple times (#​364)
  • generate: Prevented automatic id attribute behaviors under blocks (#​365)

v0.19.1

Compare Source

BUG FIXES:

  • generate: fixed a bug where attribute titles were not being generated for nested object attributes (#​357)
  • generate: fixed a bug where the plainmarkdown function did not output plain URLs (#​361)

v0.19.0

Compare Source

BREAKING CHANGES:

  • generate: the plainmarkdown function now removes all markdown elements/formatting to render the output as plain text (#​332)
  • schemamd: The schemamd package has moved to internal/schemamd and can no longer be imported (#​354)
  • functionmd: The functionmd package has moved to internal/functionmd and can no longer be imported (#​354)

FEATURES:

  • validate: Added support for Provider-defined Function documentation to all checks (#​341)
  • validate: Added InvalidDirectoriesCheck which checks for valid provider documentation folder structure (#​341)
  • validate: Added MixedDirectoriesCheck which throws an error if both legacy documentation and registry documentation are found (#​341)
  • validate: Added NumberOfFilesCheck which checks the number of provider documentation files against the registry limit (#​341)
  • validate: Added FileSizeCheck which checks the provider documentation file size against the registry limit (#​341)
  • validate: Added FileExtensionCheck which checks for valid provider documentation file extensions (#​341)
  • validate: Added FrontMatterCheck which checks the YAML frontmatter of provider documentation for missing required fields or invalid fields (#​341)
  • validate: Added FileMismatchCheck which checks the names/number of provider documentation files against the provider schema (#​341)

ENHANCEMENTS:

  • migrate: Added --provider-name flag to override the default provider name when any file names that contain provider name prefixes are removed during migration (#​349)

BUG FIXES:

  • migrate: use relative paths (from provider directory) instead of absolute paths for migrated code templates (#​330)
  • migrate: fixed a bug where documentation files with provider name prefixes were migrated to templates directory as-is, causing generate to create duplicate templates (#​349)
  • generate: fixed a bug where incorrect attribute titles were being generated for certain nested schemas (#​350)

v0.18.0

Compare Source

FEATURES:

  • generate: Add support for Provider-defined Function documentation (#​328)
  • migrate: Add support for Provider-defined Function documentation (#​328)

ENHANCEMENTS:

  • validate: Add functions to list of allowed template and rendered website subdirectories (#​328)

v0.17.0

Compare Source

BREAKING CHANGES:

  • generate: templates using printf with either codefile or tffile to render code examples in markdown will need to switch to using those functions directly.
    For example, switch the following template code:
    {{printf "{{codefile \"shell\" %q}}" .ImportFile}}
    to
    {{codefile "shell" .ImportFile}} (#​300)

FEATURES:

  • migrate: Added new migrate subcommand that migrates existing provider docs using the rendered website source directories (website/docs/ or /docs/) to a terraform-plugin-docs-supported templates directory. (#​314)

ENHANCEMENTS:

  • generate: Add provider-schema flag to pass in a file path to a provider schema JSON file, allowing the command to skip building the provider and calling Terraform CLI (#​299)

BUG FIXES:

  • generate: fix no such file or directory error when running generate with no existing rendered website directory. (#​296)
  • generate: fix incorrect rendering of example and import files for providers with no docs templates or with generic fallback templates. (#​300)
hashicorp/terraform-plugin-framework (github.com/hashicorp/terraform-plugin-framework)

v1.16.1

Compare Source

BUG FIXES:

  • all: Prevent identity change validation from raising an error when prior identity is empty (all attributes are null) (#​1229)
  • all: Added an additional validation check to ensure the resource identity object is not null. (#​1193)

v1.16.0

Compare Source

NOTES:

  • all: This Go module has been updated to Go 1.24 per the Go support policy. It is recommended to review the Go 1.24 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#​1217)
  • Support for the new action{} block is in technical preview and offered without compatibility promises until Terraform 1.14 is generally available. (#​1181)
  • action: This release contains a new interface (action.Action) and packages for implementing action types, available in Terraform 1.14+. An action in Terraform can be defined by providers to model side-effects that practitioners can reference in their configurations via the lifecycle.action_trigger block. (#​1181)
  • List support is in technical preview and offered without compatibility promises until Terraform 1.14 is generally available. (#​1150)
  • list: This release contains a new interface (list.ListResource) and packages for implementing list resource types, available in Terraform 1.14+. A list resource in Terraform can be defined by providers to list remote resources within a given scope. (#​1150)

FEATURES:

  • action: New package for implementing actions. (#​1181)
  • action/schema: New package for implementing action schemas. (#​1183)
  • types: Exported a previously internal function, TerraformTypeToFrameworkType, which converts tftypes.Type to a known framework type. (#​1200)
  • list: New package for implementing list resources. (#​1150)
  • all: Update Framework to handle new ListResource RPCs. (#​1157)

ENHANCEMENTS:

  • provider: Added ProviderWithActions interface for implementing actions. (#​1181)
  • provider: Added ActionData to ConfigureResponse, to pass provider-defined data to action.Action implementations. (#​1185)
  • provider: Added ListResourceData to ConfigureResponse, to pass provider-defined data to list.ListResource implementations. (#​1202)
  • tfsdk: Allow SetAtPath to be called with a tftypes.Value. (#​1198)
  • tfsdk: Allow SetAttribute to be called with a tftypes.Value. (#​1205)
  • list: Add the ListResourceWithRawV5Schemas and ListResourceWithRawV6Schemas interfaces to support list implementation on non-framework resources. (#​1198)

v1.15.1

Compare Source

BUG FIXES:

  • all: Fixed bug with UseStateForUnknown where known null state values were not preserved during update plans. (#​1117)

v1.15.0

Compare Source

ATTENTION:
Please make sure to also update terraform-plugin-(go|mux|sdk|testing) when upgrading to this version. Otherwise there will be errors at runtime when using Terraform v1.12+ as this version of Plugin Framework supports the new resource identity feature and requires the supporting libraries to do so to.

Find #​1148 for more information.

TL;DR – make sure to update to these versions (or higher)

github.com/hashicorp/[email protected]
github.com/hashicorp/[email protected]
github.com/hashicorp/[email protected]
github.com/hashicorp/terraform-plugin-sdk/v2@​v2.37.0
github.com/hashicorp/[email protected]

NOTES:

  • all: This Go module has been updated to Go 1.23 per the Go support policy. It is recommended to review the Go 1.23 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#​1114)
  • all: This release contains a new interface and package for implmenting managed resource identity. Resource identity is data that is defined by a separate schema and is stored alongside resource state. Identity data is used by Terrform to uniquely identify a remote object and is meant to be immutable during the remote object's lifecycle. Resources that support identity can now be imported using the identity attribute in Terraform configuration import blocks, available in Terraform v1.12+. The resource.ResourceWithIdentity interface can be implemented to support identity by defining an identity schema. Once the identity schema is defined, you can read and store identity data in the state file via the new Identity fields in the response objects on the resource CRUD methods. (#​1112)

FEATURES:

  • tfsdk: Added ResourceIdentity struct to represent managed resource identity data. (#​1112)
  • resource/identityschema: New package for implementing managed resource identity schemas. (#​1107)
  • resource: Added new ImportStatePassthroughWithIdentity helper that can support both identity and ID importing via a single field. (#​1134)
  • resource: Added ResourceWithIdentity interface for implementing managed resource identity. (#​1107)

ENHANCEMENTS:

  • resource: Updated Create, Update, Read, and Delete request and response objects to support the passing of identity data. (#​1112)
  • resource: Updated ImportState method to allow importing by resource identity and returning identity data from import response. (#​1126)

v1.14.1

Compare Source

BUG FIXES:

  • internal/fwserver: fixed bug where write-only attributes set in configuration would cause perpetual diffs for computed attributes. (#​1097)

v1.14.0

Compare Source

NOTES:

  • Write-only attribute support is in technical preview and offered without compatibility promises until Terraform 1.11 is generally available. (#​1044)
  • ephemeral: Ephemeral resources are now considered generally available and protected by compatibility promises. (#​1052)

FEATURES:

  • resource/schema: Added WriteOnly schema field for managed resource schemas to indicate a write-only attribute. Write-only attribute values are not saved to the Terraform plan or state artifacts. (#​1044)

BUG FIXES:

  • internal/fwschemadata: Set semantic equality logic has been adjusted and will now ignore order of elements during comparison. (#​1061)
  • internal/fwserver: Fixed bug where dynamic attributes would not prompt invalid configuration error messages (#​1090)

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)

v1.10.0

Compare Source

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)
  • datasource/schema: Added Int32Attribute implementation for Int32 value handling. (#​1010)
  • provider/schema: Added Int32Attribute implementation for Int32 value handling. (#​1010)
  • function: Added Int32Parameter and Int32Return for Int32 value handling. (#​1010)
  • resource/schema/int32default: New package with StaticValue implementation for Int32 schema-based default values. (#​1010)
  • resource/schema/int32planmodifier: New package with built-in implementations for Int32 value plan modification. (#​1010)
  • resource/schema/defaults: New Int32 interface for Int32 schema-based default implementations. (#​1010)
  • resource/schema/planmodifier: New Int32 interface for Int32 value plan modification implementations. (#​1010)
  • schema/validator: New Int32 interface for Int32 value schema validation. (#​1010)
  • types/basetypes: Added Float32Type and Float32Value implementations for Float32 value handling. (#​1014)
  • types/basetypes: Added interfaces basetypes.Float32Typable, basetypes.Float32Valuable, and basetypes.Float32ValuableWithSemanticEquals for Float32 custom type and value implementations. (#​1014)
  • resource/schema: Added Float32Attribute implementation for Float32 value handling. (#​1014)
  • datasource/schema: Added Float32Attribute implementation for Float32 value handling. (#​1014)
  • provider/schema: Added Float32Attribute implementation for Float32 value handling. (#​1014)
  • function: Added Float32Parameter and Float32Return for Float32 value handling. (#​1014)
  • resource/schema/float32default: New package with StaticValue implementation for Float32 schema-based default values. (#​1014)
  • resource/schema/float32planmodifier: New package with built-in implementations for Float32 value plan modification. (#​1014)
  • resource/schema/defaults: New Float32 interface for Float32 schema-based default implementations. (#​1014)
  • resource/schema/planmodifier: New Float32 interface for Float32 value plan modification implementations. (#​1014)
  • schema/validator: New Float32 interface for Float32 value schema validation. (#​1014)

v1.9.0

Compare Source

NOTES:

  • resource: If plan modification was dependent on nested attribute plan modification automatically running when the nested object was null/unknown, it may be necessary to add object-level plan modification to convert the nested object to a known object first. (#​995)
  • This release contains support for deferred actions, which is an experimental feature only available in prerelease builds of Terraform 1.9 and later. This functionality is subject to change and is not protected by version compatibility guarantees. (#​999)

FEATURES:

  • resource: Add Deferred field to ReadResponse, ModifyPlanResponse, and ImportStateResponse which indicates a resource deferred action to the Terraform client (#​999)
  • datasource: Add Deferred field to ReadResponse which indicates a data source deferred action to the Terraform client (#​999)
  • resource: Add ClientCapabilities field to ReadRequest, ModifyPlanRequest, and ImportStateRequest which specifies optionally supported protocol features for the Terraform client (#​999)
  • datasource: Add ClientCapabilities field to ReadRequest which specifies optionally supported protocol features for the Terraform client (#​999)
  • provider: Add Deferred field to ConfigureResponse which indicates a provider deferred action to the Terraform client (#​1002)
  • provider: Add ClientCapabilities field to ConfigureRequest which specifies optionally supported protocol features for the Terraform client (#​1002)

ENHANCEMENTS:

  • function: Introduced implementation errors for collection and object parameters and returns which are missing type information (#​991)

BUG FIXES:

  • resource: Prevented errant collection-based nested object conversion from null/unknown object to known object (#​995)

v1.8.0

Compare Source

BREAKING CHANGES:

  • function: Removed Definition type Parameter() method (#​968)

NOTES:

  • function: Provider-defined function features are now considered generally available and protected by compatibility promises (#​966)
  • attr/xattr: The TypeWithValidate interface has been deprecated in preference of the ValidateableAttribute interface. A ValidatableParameter interface has also been added to the function package (#​968)

FEATURES:

  • attr/xattr: Added ValidateableAttribute interface for custom value type implementations (#​968)
  • function: Added ValidateableParameter interface for custom value type implementations (#​968)
  • function: Add BoolParameterValidator, DynamicParameterValidator, Float64ParameterValidator, Int64ParameterValidator, ListParameterValidator, MapParameterValidator, NumberParameterValidator, ObjectParameterValidator, SetParameterValidator, and StringParameterValidator interfaces for custom function parameter validation implementations. (#​971)
  • function: Add ParameterWithBoolValidators, ParameterWithInt64Validators, ParameterWithFloat64Validators, ParameterWithDynamicValidators, ParameterWithListValidators, ParameterWithMapValidators, ParameterWithNumberValidators, ParameterWithObjectValidators, ParameterWithSetValidators, and ParameterWithStringValidators interfaces to enable parameter-based validation support (#​971)

BUG FIXES:

  • types/basetypes: Prevented panic in the MapValue types Equal method when the receiver has a nil elementType (#​961)
  • types/basetypes: Prevented panic in the ListValue types Equal method when the receiver has a nil elementType (#​961)
  • types/basetypes: Prevented panic in the SetValue types Equal method when the receiver has a nil elementType (#​961)
  • resource: Ensured computed-only dynamic attributes will not cause wrong final value type errors during planning (#​969)

v1.7.0

Compare Source

BREAKING CHANGES:

  • function: All parameters must be explicitly named via the Name field (#​964)
  • function: DefaultParameterNamePrefix and DefaultVariadicParameterName constants have been removed (#​964)

FEATURES:

  • types/basetypes: Added DynamicType and DynamicValue implementations for dynamic value handling (#​147)
  • types/basetypes: Added interfaces basetypes.DynamicTypable, basetypes.DynamicValuable, and basetypes.DynamicValuableWithSemanticEquals for dynamic custom type and value implementations (#​147)
  • resource/schema: Added DynamicAttribute implementation for dynamic value handling (#​147)
  • datasource/schema: Added DynamicAttribute implementation for dynamic value handling (#​147)
  • provider/schema: Added DynamicAttribute implementation for dynamic value handling (#​147)
  • function: Added DynamicParameter and DynamicReturn for dynamic value handling` (#​147)
  • resource/schema/dynamicdefault: New package with StaticValue implementation for dynamic schema-based default values (#​147)
  • resource/schema/dynamicplanmodifier: New package with built-in implementations for dynamic value plan modification. (#​147)
  • resource/schema/defaults: New Dynamic interface for dynamic schema-based default implementations (#​147)
  • resource/schema/planmodifier: New Dynamic interface for dynamic value plan modification implementations (#​147)
  • schema/validator: New Dynamic interface for dynamic value schema validation (#​147)

v1.6.1

Compare Source

NOTES:

  • all: The v1.6.0 release updated this Go module 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 (#​937)

BUG FIXES:

  • resource/schema: Ensured invalid attribute default value errors are raised (#​930)
  • function: Added implementation validation to function.Definition to ensure all parameter names (including the variadic parameter) are unique. (#​926)
  • function: Updated the default parameter name to include the position of the parameter (i.e. param1, param2, etc.). Variadic parameters will default to varparam. (#​926)

v1.6.0

Compare Source

BREAKING CHANGES:

  • function: Changed the framework type for variadic parameters to types.TupleType, where each element is the same element type. Provider-defined functions using a types.List for retrieving variadic argument data will need to update their code to use types.Tuple. (#​923)
  • function: Altered the RunResponse type, replacing Diagnostics with FuncError (#​925)
  • diag: Removed DiagnosticWithFunctionArgument interface. Removed NewArgumentErrorDiagnostic(), NewArgumentWarningDiagnostic() and WithFunctionArgument() functions. Removed AddArgumentError() and AddArgumentWarning() methods from Diagnostics. (#​925)

FEATURES:

  • resource: Added the ResourceWithMoveState interface, which enables state moves across resource types with Terraform 1.8 and later (#​917)

ENHANCEMENTS:

  • privatestate: Added support for SetKey() method to fully remove key with nil or zero-length value (#​910)
  • function: Added FuncError type, required for RunResponse (#​925)
  • function: Added NewFuncError() and NewArgumentFuncError() functions, which create a FuncError (#​925)
  • function: Added ConcatFuncErrors() and FuncErrorFromDiags() helper functions for use when working with FuncError (#​925)
hashicorp/terraform-plugin-framework-validators (github.com/hashicorp/terraform-plugin-framework-validators)

v0.19.0

Compare Source

NOTES:

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

FEATURES:

  • actionvalidator: Introduce new package with declarative validators for action configurations (#​302)
  • listresourcevalidator: Introduce new package with declarative validators for list resource configurations (#​298)

v0.18.0

Compare Source

NOTES:

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

BUG FIXES:

  • all: Fixed bug with PreferWriteOnlyAttribute validator not running when client is capable of using write-only attributes. (#​287)

v0.17.0

Compare Source

FEATURES:

  • boolvalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • dynamicvalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • float32validator: Added PreferWriteOnlyAttribute validator (#​263)
  • float64validator: Added PreferWriteOnlyAttribute validator (#​263)
  • int32validator: Added PreferWriteOnlyAttribute validator (#​263)
  • int64validator: Added PreferWriteOnlyAttribute validator (#​263)
  • listvalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • mapvalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • numbervalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • objectvalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • resourcevalidator: Added PreferWriteOnlyAttribute validator (#​263)
  • stringvalidator: Added PreferWriteOnlyAttribute validator (#​263)

v0.16.0

Compare Source

FEATURES:

  • listvalidator: Added NoNullValues validator (#​245)
  • mapvalidator: Added NoNullValues validator (#​245)
  • setvalidator: Added NoNullValues validator (#​245)
  • dynamicvalidator: New package which contains types.Dynamic specific validators (#​249)

BUG FIXES:

  • Fixed bug with ConflictsWith and AlsoRequires validators where unknown values would raise invalid diagnostics during terraform validate. (#​251)

v0.15.0

Compare Source

FEATURES:

  • ephemeralvalidator: Introduce new package with declarative validators for ephemeral resource configurations (#​242)

v0.14.0

Compare Source

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. (#​229)
  • all: Previously, creating validators with invalid data would result in a nil value being returned and a panic from terraform-plugin-framework. This has been updated to return an implementation diagnostic referencing the invalid data/validator during config validation. (#​235)

FEATURES:

  • boolvalidator: Added Equals validator (#​232)

ENHANCEMENTS:

  • all: Implemented parameter interfaces for all value-based validators. This allows these validators to be used with provider-defined functions. (#​235)

v0.13.0

Compare Source

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)
hashicorp/terraform-plugin-go (github.com/hashicorp/terraform-plugin-go)

[v0.29.0](https://redirect.github.com/ha


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 changed the title chore(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.17.0 chore(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.18.0 Jan 24, 2024
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 5c00bd5 to 3f27c6e Compare January 24, 2024 19:23
@renovate renovate bot changed the title chore(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.18.0 chore(deps): update terraform-framework Jan 26, 2024
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 3f27c6e to 4b3a402 Compare January 26, 2024 15:11
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 375471c to b6d9ada Compare February 28, 2024 17:10
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 0e2e3e4 to 1b1c682 Compare March 11, 2024 16:03
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 1b1c682 to 19a0cdb Compare March 21, 2024 22:52
@renovate renovate bot force-pushed the renovate/terraform-framework branch 4 times, most recently from 7b9e64b to 3dd7bb1 Compare April 22, 2024 16:39
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 3dd7bb1 to 663c4b6 Compare April 29, 2024 19:52
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 663c4b6 to d235541 Compare May 6, 2024 23:19
@renovate renovate bot force-pushed the renovate/terraform-framework branch from d235541 to cf7cc10 Compare May 17, 2024 19:25
@renovate renovate bot force-pushed the renovate/terraform-framework branch from cf7cc10 to 7897ee4 Compare May 28, 2024 17:17
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 7897ee4 to 00e8a53 Compare June 4, 2024 18:16
Copy link
Contributor Author

renovate bot commented Jun 4, 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):

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

Details:

Package Change
go 1.21 -> 1.24.0
github.com/stretchr/testify v1.8.4 -> v1.10.0
github.com/Masterminds/semver/v3 v3.1.1 -> v3.2.0
github.com/Masterminds/sprig/v3 v3.2.2 -> v3.2.3
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 -> v1.1.6
github.com/cloudflare/circl v1.3.7 -> v1.6.1
github.com/davecgh/go-spew v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc
github.com/fatih/color v1.13.0 -> v1.16.0
github.com/golang/protobuf v1.5.3 -> v1.5.4
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/google/uuid v1.3.1 -> v1.6.0
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 -> v1.5.0
github.com/hashicorp/go-hclog v1.5.0 -> v1.6.3
github.com/hashicorp/go-plugin v1.6.0 -> v1.7.0
github.com/hashicorp/go-version v1.6.0 -> v1.7.0
github.com/hashicorp/hc-install v0.6.1 -> v0.9.2
github.com/hashicorp/hcl/v2 v2.19.1 -> v2.23.0
github.com/hashicorp/terraform-exec v0.19.0 -> v0.23.0
github.com/hashicorp/terraform-json v0.18.0 -> v0.25.0
github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 -> v2.37.0
github.com/hashicorp/terraform-registry-address v0.2.3 -> v0.4.0
github.com/hashicorp/yamux v0.1.1 -> v0.1.2
github.com/huandu/xstrings v1.3.2 -> v1.3.3
github.com/mattn/go-isatty v0.0.16 -> v0.0.20
github.com/oklog/run v1.0.0 -> v1.1.0
github.com/pmezard/go-difflib v1.0.0 -> v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/zclconf/go-cty v1.14.1 -> v1.16.3
golang.org/x/crypto v0.17.0 -> v0.41.0
golang.org/x/mod v0.13.0 -> v0.26.0
golang.org/x/net v0.17.0 -> v0.43.0
golang.org/x/oauth2 v0.13.0 -> v0.30.0
golang.org/x/sys v0.15.0 -> v0.35.0
golang.org/x/text v0.14.0 -> v0.28.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 -> v0.0.0-20250707201910-8d1bb00bc6a7
google.golang.org/grpc v1.60.0 -> v1.75.1
google.golang.org/protobuf v1.31.0 -> v1.36.9

@renovate renovate bot force-pushed the renovate/terraform-framework branch from 00e8a53 to 9ddf796 Compare July 9, 2024 20:28
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 4d5666b to 72df3d6 Compare August 9, 2024 00:40
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from d709926 to d97a108 Compare September 18, 2024 15:56
@renovate renovate bot force-pushed the renovate/terraform-framework branch from d97a108 to a253614 Compare October 17, 2024 20:17
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 09f339d to d27652b Compare October 31, 2024 21:23
@renovate renovate bot force-pushed the renovate/terraform-framework branch from d27652b to bb84183 Compare November 6, 2024 19:47
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 1774f22 to c850d63 Compare November 19, 2024 15:42
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 3c14c14 to 7bee499 Compare December 13, 2024 02:31
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 7bee499 to b1a53d4 Compare January 22, 2025 17:28
@renovate renovate bot force-pushed the renovate/terraform-framework branch 3 times, most recently from 3631d7a to d29112d Compare February 20, 2025 15:39
@renovate renovate bot force-pushed the renovate/terraform-framework branch from d29112d to c08f039 Compare February 27, 2025 18:56
@renovate renovate bot force-pushed the renovate/terraform-framework branch from c08f039 to b9517f3 Compare March 11, 2025 12:33
@renovate renovate bot force-pushed the renovate/terraform-framework branch from b9517f3 to c86e687 Compare March 18, 2025 22:21
@renovate renovate bot force-pushed the renovate/terraform-framework branch 3 times, most recently from 6eb02b8 to 1dea9e1 Compare April 9, 2025 23:50
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 0ca2d6e to db2a5cc Compare May 13, 2025 14:28
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 890ff3d to 0d2b3cd Compare May 21, 2025 22:15
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 8579d7f to 2d984ab Compare June 11, 2025 21:59
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 2d984ab to 3365a3f Compare July 1, 2025 19:09
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 3365a3f to dc67f63 Compare July 16, 2025 17:45
@renovate renovate bot force-pushed the renovate/terraform-framework branch from dc67f63 to 4dcc050 Compare July 31, 2025 22:03
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from d28aaff to e5c1e9e Compare August 15, 2025 16:29
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from d444f59 to 4a37004 Compare September 17, 2025 17:19
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 4a37004 to fa931d2 Compare September 29, 2025 16:36
@renovate renovate bot force-pushed the renovate/terraform-framework branch 2 times, most recently from 6081086 to 2a4ae84 Compare October 9, 2025 17:48
@renovate renovate bot force-pushed the renovate/terraform-framework branch from 2a4ae84 to e9553d7 Compare October 9, 2025 23:02
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