Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/bot-pr-1657.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-resource-prefix-length-truncation.md

This file was deleted.

23 changes: 0 additions & 23 deletions .changeset/tame-suns-dream.md

This file was deleted.

21 changes: 21 additions & 0 deletions packages/cdk-aspects/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @aligent/cdk-aspects

## 0.5.3

### Patch Changes

- [#1661](https://github.com/aligent/cdk-constructs/pull/1661) [`25cf7c9`](https://github.com/aligent/cdk-constructs/commit/25cf7c9fc6427a9c5a15f01928ee2121c03a3ec7) Thanks [@toddhainsworth](https://github.com/toddhainsworth)! - Fixed `ResourcePrefixAspect` failing synthesis when a prefixed resource name exceeds the AWS maximum length. The aspect now truncates the name and appends an 8-character SHA-256 hash to maintain uniqueness, and emits a `cdk synth` warning identifying the original and truncated name. This prevents L3 constructs (e.g. `BucketDeployment`) from generating child resources that the user has no control over causing failed deployments.

- [#1654](https://github.com/aligent/cdk-constructs/pull/1654) [`99d96c9`](https://github.com/aligent/cdk-constructs/commit/99d96c95b237b9b1d9e341957d621025e0c3bd6a) Thanks [@kai-nguyen-aligent](https://github.com/kai-nguyen-aligent)! - ### `@aligent/cdk-nodejs-function-from-entry` (minor)
- **Changed base class from `Function` to `NodejsFunction`** — the construct now extends `NodejsFunction` (and accepts `NodejsFunctionProps`) instead of the generic `Function`, enabling Node.js-specific bundling options. The parent `entry` prop is omitted to avoid conflicts with the custom typed `entry`.
- **Added `NoInfer` to the `entry` generic parameter** — prevents TypeScript from incorrectly inferring `TPrefix` from the `entry` value; the prefix is now inferred solely from `sourcePrefix`.
- **Made `runtime` optional** — consumers no longer need to explicitly pass a runtime.
- **Improved path traversal validation** — replaced the simple relative-path check with a `findServiceRoot` helper that walks up to a configurable `rootParentDir` ancestor, giving clearer error messages on invalid paths.
- **Added `rootParentDir` prop** (default: `'services'`) to control the allowed root for asset resolution.

### `@aligent/cdk-step-function-from-file` (minor)
- **Added `NoInfer` to the `filepath` generic parameter** — prevents unintended type inference from the `filepath` value.
- **Improved path traversal validation** — uses the same `findServiceRoot` approach as the Lambda construct for consistent, configurable path safety checks.
- **Added `rootParentDir` prop** (default: `'services'`) to control the allowed root for asset resolution.

### `@aligent/cdk-aspects` (patch)
- **Updated `NodeJsFunctionDefaultsAspect` JSDoc** — clarified that the configured runtime is always applied to ensure consistency, while other defaults (tracing, memory, timeout, source maps) are only applied when not already set.

## 0.5.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cdk-aspects/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aligent/cdk-aspects",
"version": "0.5.2",
"version": "0.5.3",
"description": "Collection of CDK Asppects",
"main": "index.js",
"types": "index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/constructs/header-change-detection/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @aligent/cdk-header-change-detection

## 1.7.7

### Patch Changes

- [#1657](https://github.com/aligent/cdk-constructs/pull/1657) [`f41ba97`](https://github.com/aligent/cdk-constructs/commit/f41ba9779d0c2fe4b8237cebe18a524e0cc3141a) Thanks [@aikido-autofix](https://github.com/apps/aikido-autofix)! - [Aikido] Fix 2 security issues in follow-redirects, axios

## 1.7.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/constructs/header-change-detection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aligent/cdk-header-change-detection",
"version": "1.7.6",
"version": "1.7.7",
"main": "index.js",
"license": "MIT",
"homepage": "https://github.com/aligent/cdk-constructs/tree/main/packages/constructs/header-change-detection#readme",
Expand Down
19 changes: 19 additions & 0 deletions packages/constructs/nodejs-function-from-entry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @aligent/cdk-nodejs-function-from-entry

## 0.2.0

### Minor Changes

- [#1654](https://github.com/aligent/cdk-constructs/pull/1654) [`99d96c9`](https://github.com/aligent/cdk-constructs/commit/99d96c95b237b9b1d9e341957d621025e0c3bd6a) Thanks [@kai-nguyen-aligent](https://github.com/kai-nguyen-aligent)! - ### `@aligent/cdk-nodejs-function-from-entry` (minor)
- **Changed base class from `Function` to `NodejsFunction`** — the construct now extends `NodejsFunction` (and accepts `NodejsFunctionProps`) instead of the generic `Function`, enabling Node.js-specific bundling options. The parent `entry` prop is omitted to avoid conflicts with the custom typed `entry`.
- **Added `NoInfer` to the `entry` generic parameter** — prevents TypeScript from incorrectly inferring `TPrefix` from the `entry` value; the prefix is now inferred solely from `sourcePrefix`.
- **Made `runtime` optional** — consumers no longer need to explicitly pass a runtime.
- **Improved path traversal validation** — replaced the simple relative-path check with a `findServiceRoot` helper that walks up to a configurable `rootParentDir` ancestor, giving clearer error messages on invalid paths.
- **Added `rootParentDir` prop** (default: `'services'`) to control the allowed root for asset resolution.

### `@aligent/cdk-step-function-from-file` (minor)
- **Added `NoInfer` to the `filepath` generic parameter** — prevents unintended type inference from the `filepath` value.
- **Improved path traversal validation** — uses the same `findServiceRoot` approach as the Lambda construct for consistent, configurable path safety checks.
- **Added `rootParentDir` prop** (default: `'services'`) to control the allowed root for asset resolution.

### `@aligent/cdk-aspects` (patch)
- **Updated `NodeJsFunctionDefaultsAspect` JSDoc** — clarified that the configured runtime is always applied to ensure consistency, while other defaults (tracing, memory, timeout, source maps) are only applied when not already set.

## 0.1.0

### Minor Changes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aligent/cdk-nodejs-function-from-entry",
"version": "0.1.0",
"version": "0.2.0",
"main": "index.js",
"license": "MIT",
"homepage": "https://github.com/aligent/cdk-constructs/tree/main/packages/constructs/nodejs-function-from-entry#readme",
Expand Down
6 changes: 6 additions & 0 deletions packages/constructs/prerender-proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @aligent/cdk-prerender-proxy

## 2.5.6

### Patch Changes

- [#1657](https://github.com/aligent/cdk-constructs/pull/1657) [`f41ba97`](https://github.com/aligent/cdk-constructs/commit/f41ba9779d0c2fe4b8237cebe18a524e0cc3141a) Thanks [@aikido-autofix](https://github.com/apps/aikido-autofix)! - [Aikido] Fix 2 security issues in follow-redirects, axios

## 2.5.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/constructs/prerender-proxy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aligent/cdk-prerender-proxy",
"version": "2.5.5",
"version": "2.5.6",
"description": "Cloudfront Lambda@Edge constructs for integrating with prerender.io",
"main": "index.js",
"scripts": {
Expand Down
19 changes: 19 additions & 0 deletions packages/constructs/step-function-from-file/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @aligent/cdk-step-function-from-file

## 0.5.0

### Minor Changes

- [#1654](https://github.com/aligent/cdk-constructs/pull/1654) [`99d96c9`](https://github.com/aligent/cdk-constructs/commit/99d96c95b237b9b1d9e341957d621025e0c3bd6a) Thanks [@kai-nguyen-aligent](https://github.com/kai-nguyen-aligent)! - ### `@aligent/cdk-nodejs-function-from-entry` (minor)
- **Changed base class from `Function` to `NodejsFunction`** — the construct now extends `NodejsFunction` (and accepts `NodejsFunctionProps`) instead of the generic `Function`, enabling Node.js-specific bundling options. The parent `entry` prop is omitted to avoid conflicts with the custom typed `entry`.
- **Added `NoInfer` to the `entry` generic parameter** — prevents TypeScript from incorrectly inferring `TPrefix` from the `entry` value; the prefix is now inferred solely from `sourcePrefix`.
- **Made `runtime` optional** — consumers no longer need to explicitly pass a runtime.
- **Improved path traversal validation** — replaced the simple relative-path check with a `findServiceRoot` helper that walks up to a configurable `rootParentDir` ancestor, giving clearer error messages on invalid paths.
- **Added `rootParentDir` prop** (default: `'services'`) to control the allowed root for asset resolution.

### `@aligent/cdk-step-function-from-file` (minor)
- **Added `NoInfer` to the `filepath` generic parameter** — prevents unintended type inference from the `filepath` value.
- **Improved path traversal validation** — uses the same `findServiceRoot` approach as the Lambda construct for consistent, configurable path safety checks.
- **Added `rootParentDir` prop** (default: `'services'`) to control the allowed root for asset resolution.

### `@aligent/cdk-aspects` (patch)
- **Updated `NodeJsFunctionDefaultsAspect` JSDoc** — clarified that the configured runtime is always applied to ensure consistency, while other defaults (tracing, memory, timeout, source maps) are only applied when not already set.

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/constructs/step-function-from-file/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aligent/cdk-step-function-from-file",
"version": "0.4.0",
"version": "0.5.0",
"main": "index.js",
"license": "MIT",
"homepage": "https://github.com/aligent/cdk-constructs/tree/main/packages/constructs/step-function-from-file#readme",
Expand Down