Skip to content

Commit b35892a

Browse files
author
Terraform SDK CircleCI
committed
v2.0.0-rc.2 [skip ci]
1 parent 5d816a7 commit b35892a

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
# 2.0.0-rc.2 (Unreleased)
1+
# 2.0.0-rc.2 (June 11, 2020)
22

33
FEATURES
44

5-
* The test driver was reworked to allow for test coverage, race detection, and debugger support. [GH-471]
6-
* A new `plugin.Debug` function allows starting the provider in a standalone mode that's compatible with debuggers, and outputs information on how to drive the standalone provider with Terraform. [GH-471]
5+
* The test driver was reworked to allow for test coverage, race detection, and debugger support. ([#471](https://github.com/hashicorp/terraform-plugin-sdk/issues/471))
6+
* A new `plugin.Debug` function allows starting the provider in a standalone mode that's compatible with debuggers, and outputs information on how to drive the standalone provider with Terraform. ([#471](https://github.com/hashicorp/terraform-plugin-sdk/issues/471))
77

88
BREAKING CHANGES
99

10-
* Removed the `helper/mutexkv`, `helper/pathorcontents`, `httpclient`, and `helper/hashcode` packages. These packages can be easily replicated in plugin code if necessary or the v1 versions can be used side-by-side [GH-438]
11-
* Removed `schema.PanicOnErr/TF_SCHEMA_PANIC_ON_ERR` environment variable. `d.Set()` errors are now logged in production and panic during acceptance tests (`TF_ACC=1`). [GH-462]
12-
* Running provider tests now requires Terraform 0.12.26 or higher. [GH-471]
13-
* Removed `acctest` package, as it is no longer needed. The calls to `acctest.UseBinaryDriver` can be deleted; they're no longer necessary. [GH-471]
14-
* The `resource.TestCase.Providers` and `resource.TestCaseProviderFactories` maps must now have exactly one entry set between both of them, meaning one or the other should be used. Only the provider under test should be present in these maps. Providers that tests rely upon can be used by setting provider blocks in the test case, where `terraform init` will pick them up automatically. [GH-471]
15-
* The `TF_LOG_PATH_MASK` used to filter provider logs by test name when running tests has been removed. [GH-473]
10+
* Removed the `helper/mutexkv`, `helper/pathorcontents`, `httpclient`, and `helper/hashcode` packages. These packages can be easily replicated in plugin code if necessary or the v1 versions can be used side-by-side ([#438](https://github.com/hashicorp/terraform-plugin-sdk/issues/438))
11+
* Removed `schema.PanicOnErr/TF_SCHEMA_PANIC_ON_ERR` environment variable. `d.Set()` errors are now logged in production and panic during acceptance tests (`TF_ACC=1`). ([#462](https://github.com/hashicorp/terraform-plugin-sdk/issues/462))
12+
* Running provider tests now requires Terraform 0.12.26 or higher. ([#471](https://github.com/hashicorp/terraform-plugin-sdk/issues/471))
13+
* Removed `acctest` package, as it is no longer needed. The calls to `acctest.UseBinaryDriver` can be deleted; they're no longer necessary. ([#471](https://github.com/hashicorp/terraform-plugin-sdk/issues/471))
14+
* The `resource.TestCase.Providers` and `resource.TestCaseProviderFactories` maps must now have exactly one entry set between both of them, meaning one or the other should be used. Only the provider under test should be present in these maps. Providers that tests rely upon can be used by setting provider blocks in the test case, where `terraform init` will pick them up automatically. ([#471](https://github.com/hashicorp/terraform-plugin-sdk/issues/471))
15+
* The `TF_LOG_PATH_MASK` used to filter provider logs by test name when running tests has been removed. ([#473](https://github.com/hashicorp/terraform-plugin-sdk/issues/473))
1616

1717
ENHANCEMENTS
1818

19-
* Added a `schema.Provider.UserAgent` method to generate a User-Agent string [GH-474]
20-
* Convenience methods were added to the `diag` package to simplify common error cases [GH-449]
19+
* Added a `schema.Provider.UserAgent` method to generate a User-Agent string ([#474](https://github.com/hashicorp/terraform-plugin-sdk/issues/474))
20+
* Convenience methods were added to the `diag` package to simplify common error cases ([#449](https://github.com/hashicorp/terraform-plugin-sdk/issues/449))
2121

2222
BUG FIXES
2323

24-
* Restored `d.Partial` and noted the edgecase it covers and odd Terraform behavior. [GH-472]
25-
* Provider log output now respects the `TF_LOG` and `TF_LOG_PATH` environment variables when running tests. [GH-473]
24+
* Restored `d.Partial` and noted the edgecase it covers and odd Terraform behavior. ([#472](https://github.com/hashicorp/terraform-plugin-sdk/issues/472))
25+
* Provider log output now respects the `TF_LOG` and `TF_LOG_PATH` environment variables when running tests. ([#473](https://github.com/hashicorp/terraform-plugin-sdk/issues/473))
2626

2727
# 2.0.0-rc.1 (May 05, 2020)
2828

meta/meta.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import (
1111
)
1212

1313
// The main version number that is being run at the moment.
14-
var SDKVersion = "2.0.0-rc.1"
14+
var SDKVersion = "2.0.0"
1515

1616
// A pre-release marker for the version. If this is "" (empty string)
1717
// then it means that it is a final release. Otherwise, this is a pre-release
1818
// such as "dev" (in development), "beta", "rc1", etc.
19-
var SDKPrerelease = ""
19+
var SDKPrerelease = "rc.2"
2020

2121
// SemVer is an instance of version.Version. This has the secondary
2222
// benefit of verifying during tests and init time that our version is a

0 commit comments

Comments
 (0)