Releases: hashicorp/terraform-plugin-docs
Releases · hashicorp/terraform-plugin-docs
v0.24.0
v0.23.0
v0.22.0
BREAKING CHANGES:
- generate: The 
.ProviderShortNametemplate function now uses the rendered provider name to derive the provider short name. Users that pass in the--rendered-provider-nameflag 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 theidattribute (#472) - generate: Added support for defining import example file (
import-by-identity.tf) using Terraform configuration and theidentityattribute (managed resource identity) (#496) 
ENHANCEMENTS:
- validate: Add 
allowed-guide-subcategoriesandallowed-resource-subcategoriesto provide a list of allowed subcategories (#456) - validate: Add 
allowed-guide-subcategories-fileandallowed-resource-subcategories-fileto provide a file containing a list of allowed subcategories (#456) - generate: Default resource and function templates now use 
.RenderedProviderNameinstead of.ProviderName(#492) - generate: Remove trailing whitespace from default function template when 
.HasVariadicevaluates to false (#489) 
BUG FIXES:
v0.21.0
v0.20.1
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 
templatesanddocs, which will now be ignored. (#421) 
v0.20.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. (#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: