Skip to content

Commit 52e57a0

Browse files
Merge pull request #85 from mineiros-io/soerenmartius/prepare-release
Prepare v0.11.0 release
2 parents 5cbd1aa + 473e127 commit 52e57a0

File tree

3 files changed

+36
-5
lines changed

3 files changed

+36
-5
lines changed

CHANGELOG.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.11.0]
11+
1012
### BREAKING CHANGES
1113

1214
We dropped support for Terraform pre 1.0 and GitHub Terraform Provider pre 4.0.
1315
In addition we changed to the `integrations/github` official GitHub Terraform Provider.
1416
This needs migration actions if you already used this module with the `hashicorp/github` provider and want to upgrade.
1517

16-
Steps to upgrade will be added prior to the breaking release.
18+
#### Migration from previous versions
19+
20+
To migrate from a previous version, please ensure that you are using the
21+
`integrations/github` official GitHub Terraform Provider.
22+
23+
24+
``` hcl
25+
terraform {
26+
required_version = "~> 1.0"
27+
28+
required_providers {
29+
github = {
30+
source = "integrations/github"
31+
version = "~> 4.0"
32+
}
33+
}
34+
}
35+
```
36+
37+
Once you've updated the provider, a manual state migration is required to
38+
migrate existing resources to the new provider.
39+
The following command will replace the provider in the state.
40+
41+
``` bash
42+
terraform state replace-provider registry.terraform.io/hashicorp/github registry.terraform.io/integrations/github
43+
```
44+
45+
After you've migrated the state, please run
46+
`terraform init` to apply the changes to the resources.
1747

1848
### Added
1949

@@ -294,11 +324,12 @@ Please review plans and report regressions and issues asap so we can improve doc
294324

295325
<!-- markdown-link-check-disable -->
296326

297-
[unreleased]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.1...HEAD
298-
[0.10.1]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.0...v0.10.1
327+
[unreleased]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.11.0...HEAD
328+
[0.11.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.1...v0.11.0
299329

300330
<!-- markdown-link-check-enable -->
301331

332+
[0.10.1]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.0...v0.10.1
302333
[0.10.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.2...v0.10.0
303334
[0.9.2]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.1...v0.9.2
304335
[0.9.1]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.0...v0.9.1

examples/public-repository/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ branch protection.
1515
```hcl
1616
module "repository" {
1717
source = "mineiros-io/repository/github"
18-
version = "~> 0.10.0"
18+
version = "~> 0.11.0"
1919
2020
module_depends_on = [
2121
github_team.team

examples/public-repository/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
module "repository" {
99
source = "mineiros-io/repository/github"
10-
version = "~> 0.10.0"
10+
version = "~> 0.11.0"
1111

1212
module_depends_on = [
1313
github_team.team

0 commit comments

Comments
 (0)