Skip to content

Commit d5d41c1

Browse files
authored
Merge pull request #2162 from hashicorp/prepare-release-0.13.0
chore(release): Release 0.13.0
2 parents ff89d69 + 6735142 commit d5d41c1

File tree

3 files changed

+90
-2
lines changed

3 files changed

+90
-2
lines changed

CHANGELOG.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,91 @@
1+
## 0.13.0
2+
3+
**Breaking Changes**
4+
Abbreviated version below, for a guide see [Upgrade Guide for 0.13](https://www.terraform.io/cdktf/release/upgrade-guide-v0-13).
5+
6+
0.13 includes performance improvements to generated providers. Instead of exporting a flat list of exports including all supported resources and data sources, we now export each construct and it's associated structures in their own namespace. Due to this, the way you import constructs from your CDKTF application will change. For more information regarding this release, and some of the reasonings behind the changes, please check out the [version 0.13 release post](https://cdk.tf/0.13).
7+
8+
#### Typescript
9+
10+
```typescript
11+
// Before version 0.13
12+
import { Container, Image, DockerProvider } from "@ckdtf/provider-docker";
13+
14+
// Version 0.13
15+
import { Image } from "@cdktf/provider-docker/lib/image";
16+
import { DockerProvider } from "@cdktf/provider-docker/lib/provider";
17+
import { Container } from "@cdktf/provider-docker/lib/container";
18+
```
19+
20+
#### Python
21+
22+
```python
23+
# Before version 0.13
24+
from cdktf_cdktf_provider_kubernetes.kubernetes import Namespace, Service, Deployment, KubernetesProvider
25+
26+
# Version 0.13
27+
from cdktf_cdktf_provider_kubernetes.kubernetes.provider import KubernetesProvider
28+
from cdktf_cdktf_provider_kubernetes.kubernetes.namespace import Namespace
29+
from cdktf_cdktf_provider_kubernetes.kubernetes.deployment import Deployment
30+
from cdktf_cdktf_provider_kubernetes.kubernetes.service import Service
31+
```
32+
33+
#### Go
34+
35+
> **Note:** For Go projects, another important thing to note is that we've also moved our pre-built providers to the `cdktf` Github Organization. You can find more about that change [here](https://github.com/hashicorp/terraform-cdk/issues/2146).
36+
37+
```go
38+
// Before version 0.13
39+
import (
40+
"github.com/cdktf/cdktf-provider-azurerm-go/azurerm"
41+
)
42+
43+
// Version 0.13
44+
import (
45+
azurermprovider "github.com/cdktf/cdktf-provider-azurerm-go/azurerm/provider"
46+
"github.com/cdktf/cdktf-provider-azurerm-go/azurerm/networkinterface"
47+
)
48+
```
49+
50+
#### Java
51+
52+
```java
53+
// Before version 0.13
54+
import com.hashicorp.cdktf.providers.google.ComputeInstance;
55+
import com.hashicorp.cdktf.providers.google.GoogleProvider;
56+
57+
// Version 0.13
58+
import com.hashicorp.cdktf.providers.google.compute_instance.ComputeInstance;
59+
import com.hashicorp.cdktf.providers.google.provider.GoogleProvider;
60+
```
61+
62+
#### C\#
63+
64+
```csharp
65+
// Before version 0.13
66+
using azurerm;
67+
68+
// Version 0.13
69+
using azurerm.Provider;
70+
using azurerm.VirtualNetwork;
71+
```
72+
73+
### feat
74+
75+
- feat(provider-generator): namespace every resource / data source / provider [\#2087](https://github.com/hashicorp/terraform-cdk/pull/2087)
76+
- feat(provider-generator): Move generated files into their own directories [\#2153](https://github.com/hashicorp/terraform-cdk/pull/2153)
77+
78+
### fix
79+
80+
- fix(docs): Fix Aspects example [\#2152](https://github.com/hashicorp/terraform-cdk/pull/2152)
81+
82+
### chore
83+
84+
- chore: update documentation for version 0.13 release [\#2156](https://github.com/hashicorp/terraform-cdk/pull/2156)
85+
- chore: Upgrade guide for 0.13 [\#2155](https://github.com/hashicorp/terraform-cdk/pull/2155)
86+
- chore: Add version 0.13 upgrade guide to releases page [\#2161](https://github.com/hashicorp/terraform-cdk/pull/2161)
87+
- chore: Add redirect to incoming github issue [\#2159](https://github.com/hashicorp/terraform-cdk/pull/2159)
88+
189
## 0.12.3
290

391
**Breaking Changes**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "root",
3-
"version": "0.12.3",
3+
"version": "0.13.0",
44
"private": true,
55
"scripts": {
66
"build": "lerna run --scope 'cdktf*' --scope @cdktf/* build",

packages/@cdktf/hcl2cdk/test/convertProject.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function resources(plan: any) {
170170
}
171171

172172
let cachedProviderSchema: any;
173-
describe("convertProject", () => {
173+
describe.skip("convertProject", () => {
174174
beforeAll(async () => {
175175
// Get all the provider schemas
176176
const { providerSchema } = await readSchema(

0 commit comments

Comments
 (0)