Skip to content

chore: release packages#1659

Merged
toddhainsworth merged 1 commit intomainfrom
changeset-release/main
Apr 24, 2026
Merged

chore: release packages#1659
toddhainsworth merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Apr 22, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@aligent/cdk-nodejs-function-from-entry@0.2.0

Minor Changes

  • #1654 99d96c9 Thanks @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.

@aligent/cdk-step-function-from-file@0.5.0

Minor Changes

  • #1654 99d96c9 Thanks @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.

@aligent/cdk-aspects@0.5.3

Patch Changes

  • #1661 25cf7c9 Thanks @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 99d96c9 Thanks @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.

@aligent/cdk-header-change-detection@1.7.7

Patch Changes

@aligent/cdk-prerender-proxy@2.5.6

Patch Changes

@github-actions github-actions Bot requested a review from a team as a code owner April 22, 2026 03:36
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 69c40d4 to 7eb0145 Compare April 22, 2026 05:14
toddhainsworth
toddhainsworth previously approved these changes Apr 22, 2026
Copy link
Copy Markdown
Member

@toddhainsworth toddhainsworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@toddhainsworth
Copy link
Copy Markdown
Member

@aaronmedina-dev @AdamJHall could one (or both) please review? A couple of these are blocking some project work 🤞

@toddhainsworth toddhainsworth merged commit 694369f into main Apr 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants