Skip to content

chore: version packages#1111

Merged
despock merged 1 commit into
mainfrom
changeset-release/main
Jun 19, 2026
Merged

chore: version packages#1111
despock merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

@gradientedge/cdk-utils-aws@2.22.0

Minor Changes

  • #1110 d650aa2 Thanks @despock! - Add ProvisionedConcurrencyProps.onVersion flag. When true, provisioned concurrency and its auto-scaling target attach to the published function version (function:<fn>:<version>) instead of the alias (function:<fn>:<aliasName>).

    This avoids a deploy-wedging trap: when PC is on the alias, every CFN alias update that changes FunctionVersion triggers Lambda's built-in canary behaviour (CFN sets RoutingConfig.AdditionalVersionWeights to keep traffic on the old version until PC allocates on the new one). If the new version's init fails (FUNCTION_ERROR_INIT_FAILURE), the routing weights persist at 100% on old and every subsequent deploy fails with Invalid alias configuration for Provisioned Concurrency. With PC on the version instead, alias updates are atomic, no routing weights are ever set, and the wedge can't happen.

    Default is false; existing consumers are unaffected. Trade-off: ApplicationAutoScaling targets accumulate one per deploy (resource id embeds the version) — fine for normal cadence; regional soft limit is 2,500.

@gradientedge/cdk-utils@11.57.0

Minor Changes

  • #1110 d650aa2 Thanks @despock! - Add ProvisionedConcurrencyProps.onVersion flag. When true, provisioned concurrency and its auto-scaling target attach to the published function version (function:<fn>:<version>) instead of the alias (function:<fn>:<aliasName>).

    This avoids a deploy-wedging trap: when PC is on the alias, every CFN alias update that changes FunctionVersion triggers Lambda's built-in canary behaviour (CFN sets RoutingConfig.AdditionalVersionWeights to keep traffic on the old version until PC allocates on the new one). If the new version's init fails (FUNCTION_ERROR_INIT_FAILURE), the routing weights persist at 100% on old and every subsequent deploy fails with Invalid alias configuration for Provisioned Concurrency. With PC on the version instead, alias updates are atomic, no routing weights are ever set, and the wedge can't happen.

    Default is false; existing consumers are unaffected. Trade-off: ApplicationAutoScaling targets accumulate one per deploy (resource id embeds the version) — fine for normal cadence; regional soft limit is 2,500.

Patch Changes

  • Updated dependencies [d650aa2]:
    • @gradientedge/cdk-utils-aws@2.22.0

@despock despock merged commit 98d4867 into main Jun 19, 2026
8 checks passed
@despock despock deleted the changeset-release/main branch June 19, 2026 06:04
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.

1 participant