|
| 1 | +# 0.13.0 (July 8, 2022) |
| 2 | + |
| 3 | +ENHANCEMENTS: |
| 4 | + |
| 5 | +* schemamd: Nested attributes are now correctly grouped in "optional", "required" and "read-only" ([#163](https://github.com/hashicorp/terraform-plugin-docs/pull/163)). |
| 6 | + |
| 7 | +BUG FIXES: |
| 8 | + |
| 9 | +* template functions: `title` now capitalizes each word in the input string, instead of upper-casing them ([#165](https://github.com/hashicorp/terraform-plugin-docs/pull/165)). |
| 10 | + |
| 11 | +# 0.12.0 (June 29, 2022) |
| 12 | + |
| 13 | +BUG FIXES: |
| 14 | + |
| 15 | +* template data: A regression was introduced in [#155](https://github.com/hashicorp/terraform-plugin-docs/pull/155) making template data field `HasExample` and `HasImport` always true ([#162](https://github.com/hashicorp/terraform-plugin-docs/pull/162)). |
| 16 | + |
| 17 | +NEW FEATURES: |
| 18 | + |
| 19 | +* template functions: Added `lower`, `upper` and `title` ([#162](https://github.com/hashicorp/terraform-plugin-docs/pull/162)). |
| 20 | + |
| 21 | +ENHANCEMENTS: |
| 22 | + |
| 23 | +* Added documentation for all the template functions and template data fields ([#162](https://github.com/hashicorp/terraform-plugin-docs/pull/162)). |
| 24 | + |
| 25 | +# 0.11.0 (June 28, 2022) |
| 26 | + |
| 27 | +NEW FEATURES: |
| 28 | + |
| 29 | +* cmd/tfplugindocs: Additional CLI argument `ignore-deprecated` allows to skip deprecated resources and data-sources when generating docs ([#154](https://github.com/hashicorp/terraform-plugin-docs/pull/154)). |
| 30 | + |
| 31 | +BUG FIXES: |
| 32 | + |
| 33 | +* cmd/tfplugindocs: Pass through filepaths for `examples` and `import` to allow use of `HasExample` and `HasImport` template helpers in custom templates ([#155](https://github.com/hashicorp/terraform-plugin-docs/pull/155)). |
| 34 | +* cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep ([#56](https://github.com/hashicorp/terraform-plugin-docs/pull/56)). |
| 35 | + |
| 36 | +# 0.10.1 (June 14, 2022) |
| 37 | + |
| 38 | +BUG FIXES: |
| 39 | + |
| 40 | +* cmd/tfplugindocs: Do not error when schema not found, issue log warning ([#151](https://github.com/hashicorp/terraform-plugin-docs/pull/151)). |
| 41 | + |
| 42 | +# 0.10.0 (June 13, 2022) |
| 43 | + |
| 44 | +BUG FIXES: |
| 45 | + |
| 46 | +* cmd/tfplugindocs: Allow single word resources to use templates ([#147](https://github.com/hashicorp/terraform-plugin-docs/pull/147)). |
| 47 | +* cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with `rendered-provider-name` flag ([#148](https://github.com/hashicorp/terraform-plugin-docs/pull/148)). |
| 48 | + |
| 49 | +ENHANCEMENTS: |
| 50 | + |
| 51 | +* cmd/tfplugindocs: Expose `RenderedProviderName` to templates ([#149](https://github.com/hashicorp/terraform-plugin-docs/pull/149)). |
| 52 | + |
| 53 | +# 0.9.0 (June 1, 2022) |
| 54 | + |
| 55 | +NEW FEATURES: |
| 56 | + |
| 57 | +* cmd/tfplugindocs: Additional CLI arguments `provider-name`, `rendered-provider-name`, `rendered-website-dir`, `examples-dir`, `website-temp-dir`, and `website-source-dir`. These allow to further customise generated doc ([#95](https://github.com/hashicorp/terraform-plugin-docs/pull/95)). |
| 58 | + |
| 59 | +ENHANCEMENTS: |
| 60 | + |
| 61 | +* cmd/tfplugindocs: Implemented usage output (i.e. `--help`) for `generate` and `validate` commands ([#95](https://github.com/hashicorp/terraform-plugin-docs/pull/95)). |
| 62 | + |
| 63 | +# 0.8.1 (May 10, 2022) |
| 64 | + |
| 65 | +BUG FIXES: |
| 66 | + |
| 67 | +* cmd/tfplugindocs: Updated version of [hc-install](github.com/hashicorp/hc-install) in response to change in HashiCorp Release API [sending back a different `Content-Type` header](https://github.com/hashicorp/hc-install/issues/56). This was causing failures when the tool attempted to install Terraform. ([#135](https://github.com/hashicorp/terraform-plugin-docs/issues/135)) |
| 68 | + |
| 69 | +# 0.8.0 (May 3, 2022) |
| 70 | + |
| 71 | +ENHANCEMENTS: |
| 72 | + |
| 73 | +* template functions: Added `split` to help separating a string into substrings ([#70](https://github.com/hashicorp/terraform-plugin-docs/pull/70)). |
| 74 | + |
| 75 | +BUG FIXES: |
| 76 | + |
| 77 | +* cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks ([#99](https://github.com/hashicorp/terraform-plugin-docs/pull/99), [#134](https://github.com/hashicorp/terraform-plugin-docs/pull/134)). |
| 78 | +* schemamd: Attribute `ID` is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema ([#46](https://github.com/hashicorp/terraform-plugin-docs/pull/46), [#134](https://github.com/hashicorp/terraform-plugin-docs/pull/134)). |
| 79 | + |
| 80 | +# 0.7.0 (March 15, 2022) |
| 81 | + |
| 82 | +ENHANCEMENTS: |
| 83 | + |
| 84 | +* cmd/tfplugindocs: Use existing Terraform CLI binary if available on PATH, otherwise download latest Terraform CLI binary ([#124](https://github.com/hashicorp/terraform-plugin-docs/pull/124)). |
| 85 | +* cmd/tfplugindocs: Added `tf-version` flag for specifying Terraform CLI binary version to download, superseding the PATH lookup ([#124](https://github.com/hashicorp/terraform-plugin-docs/pull/124)). |
| 86 | + |
| 87 | +BUG FIXES: |
| 88 | + |
| 89 | +* cmd/tfplugindocs: Swapped `.Type` and `.Name` resource and data source template fields so they correctly align ([#44](https://github.com/hashicorp/terraform-plugin-docs/pull/44)). |
| 90 | +* schemamd: Switched attribute name rendering from bold text to code blocks so the Terraform Registry treats them as anchor links ([#59](https://github.com/hashicorp/terraform-plugin-docs/pull/59)). |
| 91 | + |
| 92 | +# 0.6.0 (March 14, 2022) |
| 93 | + |
| 94 | +NOTES: |
| 95 | + |
| 96 | +* dependencies: `github.com/hashicorp/terraform-exec` dependency has been updated to match `terraform-plugin-sdk`, which replaced the removed `tfinstall` package with `github.com/hashicorp/hc-install`. This will resolve Go build errors for projects that import both `terraform-plugin-docs` and `terraform-plugin-sdk`. |
0 commit comments