Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

chore(deps): update dependency cdktf to v0.8.0 #2155

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cdktf 0.7.0 -> 0.8.0 age adoption passing confidence

Release Notes

hashicorp/terraform-cdk

v0.8.0

Compare Source

Breaking Changes

Namespaced AWS Provider Resources #​1248

We iterated on the namespacing for the AWS provider which got introduced in #​1101. Our goal was, to enable custom L2 / L3 abstractions being built with jsii, improve the general jsii support for the namespacing and last but not least to allow both namespace and barrel imports in Typescript. A welcome side effect is a 5x performance gain when building packages via jsii for Python (from ~ 16 minutes to ~ 3 minutes) and likely other targets such as Java or C#

As a result, there are a few minor breaking changes:

  • Namespaces are all lowercased now, without a separating character
  • Namespaces are all a single word now (e.g. DynamoDb used to be dynamo_db in Python - it's now just dynamodb)
  • CloudwatchEventBridge namespace got renamed to eventbridge
Typescript Example
Before

This was pretty much the only way to use the namespaced provider classes.

import { CloudFront } from "@​cdktf/provider-aws";

new CloudFront.CloudfrontDistribution(this, "cloudfront", {});
After

Now it's possible to either import the entire namespace, or a resource class directly.

// Similar to before, but namespace is lowercased
import { cloudfront } from "@​cdktf/provider-aws";

new cloudfront.CloudfrontDistribution(this, "cloudfront", {});

// new option
import { CloudfrontDistribution } from "@​cdktf/provider-aws/lib/cloudfront";

new CloudfrontDistribution(this, "cloudfront", {});

See this Pull Request for more details.

Other Changes

fix
  • fix(provider-generator): Fix private registry module generation #​1361
  • fix(lib): Fix incorrect parseInt casing #​1359
  • fix(lib): fix documentation link for lookup #​1347
  • fix(provider-generator): Mutating complex objects #​1331
  • fix(provider-generator): attributes on resources should not be undefined #​1310
  • fix(examples): Make sure we're using pipenv #​1272
  • fix(lib): Increased --max-old-space-size value #​1265
  • fix(examples): temporarily set fixed AWS provider version for Java #​1261
  • fix(cli): fix bug that required cdktf.json in parent directory when running convert #​1256
  • fix(provider-generator): escape hyphens in provider names for Go package identifiers #​1252
  • fix(lib): Rework AWS Provider Namespacing #​1248
  • fix(lib): escape newlines in terraform functions #​1233
  • fix(lib): Also separate Token Map and symbols for interoperability with AWS CDK Tokens #​1176
  • fix(release): only include prs since last version in the changelog #​1171
chore
  • chore(docs): Fix broken anchor links #​1345
  • chore(docs): link and layout fixes #​1344
  • chore(docs): document list escape hatches #​1342
  • chore(tests): remove jsii version from snapshot #​1341
  • chore(docs): Add constructs documentation to website #​1338
  • chore(deps): upgrade jsii versions and unpin AWS TF provider version for Java example #​1336
  • chore(docs): Move examples up in sidebar, list out tutorials #​1291
  • chore(deps): yarn upgrade #​1283
  • chore(cli): upgrade React version #​1259
  • chore(release): Pre-releases should use next version #​1257
  • chore(docs): Fix docs nits like images, headings, and contractions #​1245
  • chore(deps): remove obsolete dependency json-schema-to-typescript #​1232
  • chore(deps): fix dependabot config #​1220
  • chore(deps): re-enable dependabot #​1219
  • chore(docs): document escape hatch for dynamic blocks #​1215
  • chore(docs): copy over aspects #​1214
  • chore(docs): revert link change #​1177
  • chore(docs): Laura fix docs nits #​1172
  • chore(examples): Use AWS provider 3.0 #​1155
Other
  • chore: add website release automation #​1255
  • fix: Fix EC2 Instance creation example #​1254
  • fix: Minor typo in error message about missing providers #​1240
feat
  • feat(cli): use ts-node to compile main.ts #​1253
  • feat(docs): add link to new deploy apps tutorial #​1236
  • feat(lib): Add staticId option to TerraformOutput (uses construct id as synthesized output name)" #​1213
  • feat(lib): throw error when a token is used in a construct name #​1181
  • feat(hcl2cdk): document providers with missing type information #​1174
  • feat(lib): Expand Output value types #​1145
test
  • test(cli): test generated providers #​1235
  • test(lib): ensure assets dont redeploy without FS changes #​1178

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate-approve[bot]
renovate-approve bot previously approved these changes Dec 1, 2021
@slsnextbot
Copy link
Collaborator

slsnextbot commented Dec 1, 2021

Handler Size Report

No changes to handler sizes.

Base Handler Sizes (kB) (commit 49af668)

{
    "Lambda": {
        "Default Lambda": {
            "Standard": 1525,
            "Minified": 668
        },
        "Image Lambda": {
            "Standard": 1488,
            "Minified": 802
        }
    },
    "Lambda@Edge": {
        "Default Lambda": {
            "Standard": 1534,
            "Minified": 674
        },
        "Default Lambda V2": {
            "Standard": 1527,
            "Minified": 670
        },
        "API Lambda": {
            "Standard": 634,
            "Minified": 318
        },
        "Image Lambda": {
            "Standard": 1496,
            "Minified": 807
        },
        "Regeneration Lambda": {
            "Standard": 1184,
            "Minified": 545
        },
        "Regeneration Lambda V2": {
            "Standard": 1254,
            "Minified": 573
        }
    }
}

New Handler Sizes (kB) (commit 7ecb789)

{
    "Lambda": {
        "Default Lambda": {
            "Standard": 1525,
            "Minified": 668
        },
        "Image Lambda": {
            "Standard": 1488,
            "Minified": 802
        }
    },
    "Lambda@Edge": {
        "Default Lambda": {
            "Standard": 1534,
            "Minified": 674
        },
        "Default Lambda V2": {
            "Standard": 1527,
            "Minified": 670
        },
        "API Lambda": {
            "Standard": 634,
            "Minified": 318
        },
        "Image Lambda": {
            "Standard": 1496,
            "Minified": 807
        },
        "Regeneration Lambda": {
            "Standard": 1184,
            "Minified": 545
        },
        "Regeneration Lambda V2": {
            "Standard": 1254,
            "Minified": 573
        }
    }
}

renovate-approve[bot]
renovate-approve bot previously approved these changes Dec 2, 2021
@codecov
Copy link

codecov bot commented Dec 2, 2021

Codecov Report

Merging #2155 (7ecb789) into master (49af668) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2155   +/-   ##
=======================================
  Coverage   83.51%   83.51%           
=======================================
  Files         102      102           
  Lines        3669     3669           
  Branches     1166     1166           
=======================================
  Hits         3064     3064           
  Misses        593      593           
  Partials       12       12           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 49af668...7ecb789. Read the comment docs.

@dphang dphang merged commit b915185 into master Dec 2, 2021
@dphang dphang deleted the renovate/cdktf-0.x branch December 2, 2021 07:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants