Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update dependency @cdktf/hcl2json to v0.18.0 #24059

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@cdktf/hcl2json 0.17.3 -> 0.18.0 age adoption passing confidence

Release Notes

hashicorp/terraform-cdk (@​cdktf/hcl2json)

v0.18.0

Compare Source

chore
  • chore: Disable windows integration tests temporarily #​3086
  • chore: update jsii-srcmak #​3081
  • chore: fix assertion of java tests #​3079
  • chore: add wget #​3075
  • chore: use gh cli to create PRs #​3074
  • chore(deps): roll back trusted workflow updates #​3073
  • chore: add gradle as a dependency for our tests #​3066
  • chore: new lookup functionality changes assertion #​3065
  • chore: update terraform versions we test again #​3064
  • chore: add link to performance page #​3060
  • chore(examples): update TS examples to use explicit imports #​3053
  • chore: update tfe docs as well #​3050
  • chore: remove waiting-on-answer label on comments #​3046
  • chore(deps): pin trusted workflows based on HashiCorp TSCCR #​3040
  • chore: add workflow to rollout provider documentation #​3039
  • chore: clean up code a bit #​3037
  • chore: fix links in README #​3016
fix
  • fix: provider add java integration test failures due to test setup #​3083
  • fix: Gradle related provider add/list/upgrade #​3080
  • fix(cli): cdktf debug to read gradle package versions #​3077
  • fix(provider-generator): Handle */ in docstrings better, try 3 #​3076
  • fix(lib): improve error message for passing an app to a construct #​3062
  • fix(tests): remove only in test suite 😅 #​3055
  • fix: install pipenv in Docker #​3052
  • fix: install python3-venv and pin base image #​3049
  • fix: correctly handle if version constraint is defined as star #​3045
  • fix: fix single quote escaping #​3018
  • fix(hcl2cdk): correctly keep escape sequences for interpolations in template expressions #​3017
  • fix(examples): Properly set the Aspect on the stack instead of on the S3Bucket only #​3003
feat
  • feat(hcl2cdk): use Fn.lookupNested() instead of propertyAccess() #​3056
  • feat(cli): move java template to gradle #​3048
  • feat(cli): support gradle projects in provider add and list #​3047
  • feat(docs): Link Registry docs blog post #​3043
  • feat: remove root-level import of all modules in python #​3030
  • feat(provider-generator): handle 'tuple' type for variable #​2964

Breaking changes

Python performance improvements disable root-level provider imports

When using a Provider in python one could previously import the resource and data source namespaces on the root level. This is no longer possible and the namespaces must be imported through specifying the paht in the import. The syntax was supported before as well, so you can change your code within 0.17.x and then upgrade to 0.18.x.

Before:

from constructs import Construct
from cdktf import App, TerraformStack
from imports.aws import provider, sns_topic, lambda_function, iam_role

class MyStack(TerraformStack):
    def __init__(self, scope: Construct, ns: str):
        super().__init__(scope, ns)

        provider.AwsProvider(self, 'Aws', region='eu-central-1')

        sns_topic.SnsTopic(self, 'Topic', display_name='my-first-sns-topic')
        role = iam_role.IamRole(self, 'Role', name='lambda-role',
                       assume_role_policy='{}')
        lambda_function.LambdaFunction(self, 'Lambda', function_name='my-first-lambda-function',
                       role=role.arn, handler='index.handler', runtime='python3.6')

app = App()
MyStack(app, "before-change")
app.synth()

After:

from constructs import Construct
from cdktf import App, TerraformStack

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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, check this box

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

| datasource | package         | from   | to     |
| ---------- | --------------- | ------ | ------ |
| npm        | @cdktf/hcl2json | 0.17.3 | 0.18.0 |
@renovate renovate bot enabled auto-merge August 24, 2023 13:21
@renovate renovate bot added this pull request to the merge queue Aug 24, 2023
Merged via the queue into main with commit 7a131f3 Aug 24, 2023
@renovate renovate bot deleted the renovate/cdktf-hcl2json-0.x branch August 24, 2023 13:48
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 36.57.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2023
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.

1 participant