Skip to content

Tags: aws/constructs

Tags

v10.4.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: cannot create root construct in python (#2500)

The previous attempt in #2499 caused the static helper to be added to every construct, which was unintentional and caused side-effects. Instead export a class that does the same.

Fixes #1063

v10.4.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: revert "fix: cannot create root construct in python" (#2499)

Reverts #2496

Seeing failures in AWS CDK reading 

```
warn - METHOD aws-cdk-lib.aws_workspacesweb.CfnPortal.createRoot: has been removed [removed:aws-cdk-lib.aws_workspacesweb.CfnPortal.createRoot]
```

v10.4.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: cannot create root construct in python (#2496)

Fixes #1063

v10.3.2

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Python constructs do not implement a compatible interface (#2495)

Reverting to and pinning an older version of jsii-pacmak that will generate python bindings with correct dependency constraints for typeguard. 

Needs to be reverted once aws/jsii#4658 is resolved.

v10.3.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: rootNode.getAllContext() returns empty object (#2483)

Correct getAllContext() to return the root node's context in addition to specified defaults.

Fixes: #2239

v10.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: add a mechanism to retrieve all context (with defaults) (#1751)

Previously, all users of constructs would have to know beforehand the keys in the context to expect, and use either `tryGetContext` or `getContext` to retrieve a specific key from context.

This provides a mechanism to get the full context of a node in the construct tree, with overridable defaults. 

The `getAllContext` method allows users to retrieve all context. The interface for `getContext` and `tryGetContext` remains unchanged. 

I have also fixed a small typo in the library.

v10.2.70

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: improve addChild and path performance (#1891)

Improve the performance of the `constructs` library by removing several branches in the library's hot paths and switching to some more performant operations.

On my laptop, the benchmark I used (shared in a gist [here](https://gist.github.com/Chriscbr/fa69e5f7f35d5aa4dc312dd7025952b1)) takes about 5.0-5.3 seconds with the old version of constructs, and about 1.1-1.2 seconds with the new version of constructs.

Misc:
- Removed an unused file in the `test` folder.
- Added some files to `npmignore` to reduce the package's npm footprint.

v10.2.69

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(deps): upgrade dependencies (#1782)

Upgrades project dependencies. See details in [workflow run].

[Workflow Run]: https://github.com/aws/constructs/actions/runs/5459180525

------

*Automatically created by projen via the "upgrade-10.x" workflow*

v3.4.344

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(deps): upgrade dependencies (#1783)

Upgrades project dependencies. See details in [workflow run].

[Workflow Run]: https://github.com/aws/constructs/actions/runs/5459229125

------

*Automatically created by projen via the "upgrade-3.x" workflow*

v10.2.68

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
chore(deps): upgrade dependencies (#1780)

Upgrades project dependencies. See details in [workflow run].

[Workflow Run]: https://github.com/aws/constructs/actions/runs/5449452641

------

*Automatically created by projen via the "upgrade-10.x" workflow*