github.com/hashicorp/terraform-plugin-sdk@v1.17.2/CHANGELOG.md (about)

     1  # 1.17.2 (April 27, 2021)
     2  
     3  BUG FIXES:
     4  
     5  * Updated the GPG key used to verify Terraform installs in response to the [Terraform GPG key rotation](https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512). ([#756](https://github.com/hashicorp/terraform-plugin-sdk/issues/756))
     6  
     7  # 1.17.1 (April 22, 2021)
     8  
     9  BUG FIXES:
    10  
    11  * Backported #667, fixing a bug where timeouts would silently not be applied and would use defaults instead after upgrading to 1.17.0. ([#748](https://github.com/hashicorp/terraform-plugin-sdk/issues/748))
    12  
    13  # 1.17.0 (April 16, 2021)
    14  
    15  ENHANCEMENTS:
    16  
    17  * Backported #732, allowing providers to opt into using json.Number for numbers coming from state ([#732](https://github.com/hashicorp/terraform-plugin-sdk/issues/732))
    18  * Backported #733, allowing provider acceptance tests to be run against Terraform 0.15 ([#733](https://github.com/hashicorp/terraform-plugin-sdk/issues/733))
    19  
    20  # 1.16.1 (March 24, 2021)
    21  
    22  BUG FIXES:
    23  
    24  * Backported #591, making sure the pre-destroy state was passed to CheckDestroy, instead of the post-destroy state ([#728](https://github.com/hashicorp/terraform-plugin-sdk/issues/728))
    25  * Updated import testing when using binary testing to work with Terraform 0.13 and above, with registry addresses in state. ([#702](https://github.com/hashicorp/terraform-plugin-sdk/issues/702))
    26  
    27  # 1.16.0 (September 24, 2020)
    28  
    29  FEATURES:
    30  
    31  * Backported reattach mode for binary acceptance testing. Set `TF_ACCTEST_REATTACH` to `1` when using binary testing to enable reattach mode, which will allow debugging the provider under test and accurate test coverage results. ([#527](https://github.com/hashicorp/terraform-plugin-sdk/issues/527))
    32  
    33  ENHANCEMENTS:
    34  
    35  * Improved plan output for unexpected diffs when using binary testing ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    36  
    37  BUG FIXES:
    38  
    39  * Fixed a bug with binary testing that would use the wrong state when verifying import state ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    40  * Restored TestStep numbers in various outputs for binary testing ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    41  * Made resource detection when verifying import state more robust ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    42  * Removed excessive logging when using binary acceptance testing ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    43  * Fixed a bug that would sometimes bypass ExpectNonEmptyError during binary testing ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    44  * Fixed binary testing to respect `TestStep.Destroy` and more accurately mirror the legacy testing behavior ([#553](https://github.com/hashicorp/terraform-plugin-sdk/issues/553))
    45  * Fixed a bug with ExpectNonEmptyPlan tests when using binary testing ([#590](https://github.com/hashicorp/terraform-plugin-sdk/issues/590))
    46  * Surfaced errors when running destroy after tests when using binary testing ([#590](https://github.com/hashicorp/terraform-plugin-sdk/issues/590))
    47  
    48  # 1.15.0 (July 08, 2020)
    49  
    50  FEATURES:
    51  
    52  * The binary test driver will now automatically install and verify the signature of a `terraform` binary if needed ([#491](https://github.com/hashicorp/terraform-plugin-sdk/issues/491))
    53  
    54  # 1.14.0 (June 17, 2020)
    55  
    56  FEATURES:
    57  
    58  * Bump hashicorp/go-plugin to v1.2.0 which should enable grpc reflection ([#468](https://github.com/hashicorp/terraform-plugin-sdk/issues/468))
    59  
    60  # 1.13.1 (June 04, 2020)
    61  
    62  BUG FIXES:
    63  
    64  * Remove deprecation for `d.Partial` ([#463](https://github.com/hashicorp/terraform-plugin-sdk/issues/463))
    65  * Fix bug when serializing bool in TypeMap ([#465](https://github.com/hashicorp/terraform-plugin-sdk/issues/465))
    66  
    67  # 1.13.0 (May 20, 2020)
    68  
    69  DEPRECATIONS:
    70  
    71  * Deprecate `DisableBinaryDriver` ([#450](https://github.com/hashicorp/terraform-plugin-sdk/issues/450))
    72  * Deprecate the `helper/mutexkv`, `helper/pathorcontents`, `httpclient`, and `helper/hashcode` packages ([#453](https://github.com/hashicorp/terraform-plugin-sdk/issues/453))
    73  
    74  # 1.12.0 (May 06, 2020)
    75  
    76  FEATURES:
    77  
    78  * Allow disabling binary testing via `TF_DISABLE_BINARY_TESTING` environment variable. ([#441](https://github.com/hashicorp/terraform-plugin-sdk/issues/441))
    79  
    80  BUG FIXES:
    81  
    82  * More accurate results for `schema.ResourceData.HasChange` when dealing with a Set inside another Set. ([#362](https://github.com/hashicorp/terraform-plugin-sdk/issues/362))
    83  
    84  DEPRECATED:
    85  
    86  * helper/encryption: In line with sensitive state best practices, the `helper/encryption` package is deprecated. ([#437](https://github.com/hashicorp/terraform-plugin-sdk/issues/437))
    87  
    88  # 1.11.0 (April 30, 2020)
    89  
    90  ENHANCEMENTS:
    91  
    92  * Better error messaging when indexing into TypeSet for test checks, while the binary driver is enabled (currently not supported) ([#417](https://github.com/hashicorp/terraform-plugin-sdk/issues/417))
    93  * Prevent ConflictsWith from self referencing and prevent referencing multi item Lists or Sets ([#416](https://github.com/hashicorp/terraform-plugin-sdk/issues/416)] [[#423](https://github.com/hashicorp/terraform-plugin-sdk/issues/423)] [[#426](https://github.com/hashicorp/terraform-plugin-sdk/issues/426))
    94  
    95  # 1.10.0 (April 23, 2020)
    96  
    97  FEATURES:
    98  
    99  * Added validation helper `RequiredWith` ([#342](https://github.com/hashicorp/terraform-plugin-sdk/issues/342))
   100  
   101  BUG FIXES:
   102  
   103  * Binary acceptance test driver: omit test cleanup when state is empty ([#356](https://github.com/hashicorp/terraform-plugin-sdk/issues/356))
   104  * Make mockT.Fatal halt execution ([#396](https://github.com/hashicorp/terraform-plugin-sdk/issues/396))
   105  
   106  DEPENDENCIES:
   107  
   108  * `github.com/hashicorp/terraform-plugin-test@v1.2.0` -> `v1.3.0` [[#400](https://github.com/hashicorp/terraform-plugin-sdk/issues/400)] 
   109  
   110  # 1.9.1 (April 09, 2020)
   111  
   112  BUG FIXES:
   113  
   114  * Binary acceptance test driver: fix cleanup of temporary directories ([#378](https://github.com/hashicorp/terraform-plugin-sdk/issues/378))
   115  
   116  # 1.9.0 (March 26, 2020)
   117  
   118  DEPRECATED:
   119  
   120  * helper/schema: `ResourceData.GetOkExists` will not be removed in the next major version unless a suitable replacement or alternative can be prescribed ([#350](https://github.com/hashicorp/terraform-plugin-sdk/issues/350))
   121  
   122  FEATURES:
   123  
   124  * Added support for additional protocol 5.2 fields (`Description`, `DescriptionKind`, `Deprecated`) ([#353](https://github.com/hashicorp/terraform-plugin-sdk/issues/353))
   125  
   126  BUG FIXES:
   127  
   128  * Binary acceptance test driver: auto-configure providers ([#355](https://github.com/hashicorp/terraform-plugin-sdk/issues/355))
   129  
   130  # 1.8.0 (March 11, 2020)
   131  
   132  FEATURES:
   133  
   134  * helper/validation: `StringNotInSlice` ([#341](https://github.com/hashicorp/terraform-plugin-sdk/issues/341))
   135  
   136  # 1.7.0 (February 12, 2020)
   137  
   138  FEATURES:
   139  
   140  * Binary acceptance test driver ([#262](https://github.com/hashicorp/terraform-plugin-sdk/issues/262))
   141  
   142  DEPRECATED:
   143  
   144  * helper/schema: `ResourceData.Partial` ([#317](https://github.com/hashicorp/terraform-plugin-sdk/issues/317))
   145  * helper/schema: `ResourceData.SetPartial` ([#317](https://github.com/hashicorp/terraform-plugin-sdk/issues/317))
   146  
   147  # 1.6.0 (January 29, 2020)
   148  
   149  DEPRECATED:
   150  
   151  * helper/validation: `ValidateListUniqueStrings` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   152  * helper/validation: `SingleIP` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   153  * helper/validation: `IPRange` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   154  * helper/validation: `CIDRNetwork` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   155  * helper/validation: `ValidateJsonString` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   156  * helper/validation: `ValidateRegexp` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   157  * helper/validation: `ValidateRFC3339TimeString` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   158  
   159  FEATURES:
   160  
   161  * helper/validation: `IntDivisibleBy` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   162  * helper/validation: `IntNotInSlice` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   163  * helper/validation: `IsIPv6Address` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   164  * helper/validation: `IsIPv4Address` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   165  * helper/validation: `IsCIDR` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   166  * helper/validation: `IsMACAddress` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   167  * helper/validation: `IsPortNumber` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   168  * helper/validation: `IsPortNumberOrZero` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   169  * helper/validation: `IsDayOfTheWeek` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   170  * helper/validation: `IsMonth` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   171  * helper/validation: `IsRFC3339Time` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   172  * helper/validation: `IsURLWithHTTPS` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   173  * helper/validation: `IsURLWithHTTPorHTTPS` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   174  * helper/validation: `IsURLWithScheme` ([#296](https://github.com/hashicorp/terraform-plugin-sdk/issues/296))
   175  * helper/validation: `ListOfUniqueStrings` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   176  * helper/validation: `IsIPAddress` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   177  * helper/validation: `IsIPv4Range` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   178  * helper/validation: `IsCIDRNetwork` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   179  * helper/validation: `StringIsJSON` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   180  * helper/validation: `StringIsValidRegExp` ([#301](https://github.com/hashicorp/terraform-plugin-sdk/issues/301))
   181  
   182  # 1.5.0 (January 16, 2020)
   183  
   184  FEATURES: 
   185  
   186  * helper/validation: `StringIsEmpty` ([#294](https://github.com/hashicorp/terraform-plugin-sdk/issues/294))
   187  * helper/validation: `StringIsNotEmpty` ([#294](https://github.com/hashicorp/terraform-plugin-sdk/issues/294))
   188  * helper/validation: `StringIsWhiteSpace` ([#294](https://github.com/hashicorp/terraform-plugin-sdk/issues/294))
   189  * helper/validation: `StringIsNotWhiteSpace` ([#294](https://github.com/hashicorp/terraform-plugin-sdk/issues/294))
   190  * helper/validation: `IsUUID` ([#294](https://github.com/hashicorp/terraform-plugin-sdk/issues/294)) ([#297](https://github.com/hashicorp/terraform-plugin-sdk/issues/297))
   191  
   192  BUG FIXES:
   193  
   194  * schema/ExactlyOneOf: Fix handling of unknowns in complex types ([#287](https://github.com/hashicorp/terraform-plugin-sdk/issues/287))
   195  
   196  # 1.4.1 (December 18, 2019)
   197  
   198  BUG FIXES:
   199  
   200  * helper/resource: Don't crash when dependent test sweeper is missing ([#279](https://github.com/hashicorp/terraform-plugin-sdk/issues/279))
   201  
   202  # 1.4.0 (November 20, 2019)
   203  
   204  NOTES:
   205  
   206  * pruned dead code from internal pkg ([#251](https://github.com/hashicorp/terraform-plugin-sdk/issues/251))
   207  * bumped dependency of `terraform-config-inspect` to remove transitive dependency ([#252](https://github.com/hashicorp/terraform-plugin-sdk/issues/252))
   208  
   209  FEATURES: 
   210  
   211  * helper/validation: Add `FloatAtLeast` and `FloatAtMost` validation functions ([#239](https://github.com/hashicorp/terraform-plugin-sdk/issues/239))
   212  * helper/validation: Add `StringDoesNotMatch` validation function ([#240](https://github.com/hashicorp/terraform-plugin-sdk/issues/240))
   213  * ResourceData: Add `HasChanges` variadic method ([#241](https://github.com/hashicorp/terraform-plugin-sdk/issues/241))
   214  
   215  # 1.3.0 (November 06, 2019)
   216  
   217  NOTES:
   218  
   219  * The internalized version of Terraform that exists for the acceptance test framework has received several cherry picks in an effort to keep it in sync with how Terraform behaves. This process is performed on a best effort basis.
   220  
   221  FEATURES: 
   222  
   223  * helper/validation: Add `StringDoesNotContainAny` validation function ([#212](https://github.com/hashicorp/terraform-plugin-sdk/issues/212))
   224  * helper/schema: Introduce `ExactlyOneOf` and `AtLeastOneOf` validation checks against schema attributes ([#225](https://github.com/hashicorp/terraform-plugin-sdk/issues/225))
   225  
   226  BUG FIXES:
   227  
   228  * helper/resource: Ensure dependent sweepers are all added. ([#213](https://github.com/hashicorp/terraform-plugin-sdk/issues/213))
   229  
   230  # 1.2.0 (October 25, 2019)
   231  
   232  FEATURES:
   233  
   234  * helper/resource: Introduce sweeper flag `-sweep-allow-failures` to continue other sweepers after failures ([#198](https://github.com/hashicorp/terraform-plugin-sdk/issues/198))
   235  
   236  # 1.1.1 (October 03, 2019)
   237  
   238  BUG FIXES:
   239  
   240   * `SDKVersion` in v1.1.0 was incorrectly set to "1.0.0" due to a bug in the release script. Fix for versions beginning at v1.1.1. ([#191](https://github.com/hashicorp/terraform-plugin-sdk/issues/191))
   241  
   242  # 1.1.0 (September 27, 2019)
   243  
   244  FEATURES:
   245  
   246   * `schema.Provider.TerraformVersion` now defaults to "0.11+compatible" to indicate when Terraform 0.10/0.11 CLI is communicating with the plugin. ([#52](https://github.com/hashicorp/terraform-plugin-sdk/issues/52))
   247   * `terraform plan` and `terraform apply` will now warn when the `-target` option is used, to draw attention to the fact that the result of applying the plan is likely to be incomplete, and to remind to re-run `terraform plan` with no targets afterwards to ensure that the configuration has converged. ([#182](https://github.com/hashicorp/terraform-plugin-sdk/issues/182))
   248   * config: New function `parseint` for parsing strings containing digits as integers in various bases. ([#181](https://github.com/hashicorp/terraform-plugin-sdk/issues/181))
   249   * config: New function `cidrsubnets`, which is a companion to the existing function `cidrsubnet` which can allocate multiple consecutive subnet prefixes (possibly of different prefix lengths) in a single call. ([#187](https://github.com/hashicorp/terraform-plugin-sdk/issues/187))
   250   
   251  BUG FIXES:
   252  
   253   * Fix persistence of private data in acceptance tests. ([#183](https://github.com/hashicorp/terraform-plugin-sdk/issues/183))
   254   * command/import: fix error during import when implied provider was not used. ([#184](https://github.com/hashicorp/terraform-plugin-sdk/issues/184))
   255   * Fix evaluation errors when an indexed data source is evaluated during refresh. ([#188](https://github.com/hashicorp/terraform-plugin-sdk/issues/188))
   256  
   257  # 1.0.0 (September 17, 2019)
   258  
   259  This SDK is functionally equivalent to the "legacy" SDK in `hashicorp/terraform` [`v0.12.9`](https://github.com/hashicorp/terraform/blob/v0.12.9/CHANGELOG.md).
   260  
   261  Migrating to the standalone SDK v1 is covered on the [Plugin SDK section](https://www.terraform.io/docs/extend/plugin-sdk.html) of the website.
   262  
   263  FEATURES:
   264  
   265   * Add `meta` package which exposes the version of the SDK, replacing the `version` package which previously exposed the Terraform version ([#37](https://github.com/hashicorp/terraform-plugin-sdk/issues/37)] [[#24](https://github.com/hashicorp/terraform-plugin-sdk/issues/24))