Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/aws-cdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
registry-url: "https://registry.npmjs.org"

- name: Set up Git and GitHub credentials
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 24.x

- uses: pnpm/action-setup@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 24.x

- uses: pnpm/action-setup@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"husky": "^8.0.3",
"prettier": "^2.8.4",
"turbo": "1.8.3",
"typescript": "5.2.2",
"typescript": "5.9.3",
"vitest": "^0.33.0"
},
"lint-staged": {
Expand Down
24 changes: 12 additions & 12 deletions packages/console/package.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"name": "@sst/console",
"private": true,
"version": "2.49.7",
"version": "2.49.8",
"scripts": {
"dev": "vite",
"typecheck": "tsc --noEmit",
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"@aws-sdk/client-cloudformation": "3.454.0",
"@aws-sdk/client-cloudwatch": "3.454.0",
"@aws-sdk/client-cloudwatch-logs": "3.454.0",
"@aws-sdk/client-cognito-identity-provider": "3.454.0",
"@aws-sdk/client-dynamodb": "3.454.0",
"@aws-sdk/client-lambda": "3.454.0",
"@aws-sdk/client-rds-data": "3.454.0",
"@aws-sdk/client-s3": "3.454.0",
"@aws-sdk/client-ssm": "3.454.0",
"@aws-sdk/client-cloudformation": "3.750.0",
"@aws-sdk/client-cloudwatch": "3.750.0",
"@aws-sdk/client-cloudwatch-logs": "3.750.0",
"@aws-sdk/client-cognito-identity-provider": "3.750.0",
"@aws-sdk/client-dynamodb": "3.750.0",
"@aws-sdk/client-lambda": "3.750.0",
"@aws-sdk/client-rds-data": "3.750.0",
"@aws-sdk/client-s3": "3.750.0",
"@aws-sdk/client-ssm": "3.750.0",
"@aws-sdk/fetch-http-handler": "^3.374.0",
"@aws-sdk/s3-request-presigner": "3.454.0",
"@aws-sdk/util-dynamodb": "^3.454.0",
"@aws-sdk/s3-request-presigner": "3.750.0",
"@aws-sdk/util-dynamodb": "^3.750.0",
"@fontsource/jetbrains-mono": "^4.5.0",
"@radix-ui/colors": "^0.1.8",
"@radix-ui/react-accordion": "^0.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-sst/bin/presets/base/javascript/preset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { extract, patch, install } from "create-sst";
export default [
extract(),
install({
packages: ["sst@^2", "aws-cdk-lib@2.201.0", "constructs@10.3.0"],
packages: ["sst@^2", "aws-cdk-lib@2.238.0", "constructs@10.4.5"],
dev: true,
}),
];
4 changes: 2 additions & 2 deletions packages/create-sst/bin/presets/dropin/astro/preset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default [
install({
packages: [
"sst@^2",
"aws-cdk-lib@2.201.0",
"constructs@10.3.0",
"aws-cdk-lib@2.238.0",
"constructs@10.4.5",
"astro-sst",
],
dev: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { patch, append, extract, install } from "create-sst";
export default [
extract(),
install({
packages: ["sst@^2", "aws-cdk-lib@2.201.0", "constructs@10.3.0"],
packages: ["sst@^2", "aws-cdk-lib@2.238.0", "constructs@10.4.5"],
dev: true,
}),
patch({
Expand Down
2 changes: 1 addition & 1 deletion packages/create-sst/bin/presets/dropin/nextjs/preset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { patch, append, extract, install } from "create-sst";
export default [
extract(),
install({
packages: ["sst@^2", "aws-cdk-lib@2.201.0", "constructs@10.3.0"],
packages: ["sst@^2", "aws-cdk-lib@2.238.0", "constructs@10.4.5"],
dev: true,
}),
patch({
Expand Down
2 changes: 1 addition & 1 deletion packages/create-sst/bin/presets/dropin/remix/preset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { patch, append, extract, install } from "create-sst";
export default [
extract(),
install({
packages: ["sst@^2", "aws-cdk-lib@2.201.0", "constructs@10.3.0"],
packages: ["sst@^2", "aws-cdk-lib@2.238.0", "constructs@10.4.5"],
dev: true,
}),
patch({
Expand Down
4 changes: 2 additions & 2 deletions packages/create-sst/bin/presets/dropin/solid/preset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default [
install({
packages: [
"sst@^2",
"aws-cdk-lib@2.201.0",
"constructs@10.3.0",
"aws-cdk-lib@2.238.0",
"constructs@10.4.5",
"solid-start-sst",
],
dev: true,
Expand Down
4 changes: 2 additions & 2 deletions packages/create-sst/bin/presets/dropin/svelte/preset.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default [
install({
packages: [
"sst@^2",
"aws-cdk-lib@2.201.0",
"constructs@10.3.0",
"aws-cdk-lib@2.238.0",
"constructs@10.4.5",
"svelte-kit-sst",
],
dev: true,
Expand Down
2 changes: 1 addition & 1 deletion packages/create-sst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-sst",
"version": "2.49.7",
"version": "2.49.8",
"homepage": "https://sst.dev",
"description": "Create SST apps",
"main": "src/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-start-sst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-start-sst",
"version": "2.49.7",
"version": "2.49.8",
"description": "Adapter for Solid apps to work on AWS Lambda and AWS Lambda@Edge.",
"main": "./index.mjs",
"types": "./index.d.ts",
Expand Down
10 changes: 10 additions & 0 deletions packages/sst/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @serverless-stack/cli2

## 2.49.8

### Patch Changes

- [`7eb36d2e3bb517cb209b9f96900a75b7ceafcc46`](https://github.com/sst/v2/commit/7eb36d2e3bb517cb209b9f96900a75b7ceafcc46) - Upgrade to Node.js 24 support

- [`7eb36d2e3bb517cb209b9f96900a75b7ceafcc46`](https://github.com/sst/v2/commit/7eb36d2e3bb517cb209b9f96900a75b7ceafcc46) - Bump CDK and constructs to latest versions

- [`7eb36d2e3bb517cb209b9f96900a75b7ceafcc46`](https://github.com/sst/v2/commit/7eb36d2e3bb517cb209b9f96900a75b7ceafcc46) - Fix type check errors for Node 24 and TypeScript 5.9 compatibility

## 2.49.7

### Patch Changes
Expand Down
54 changes: 27 additions & 27 deletions packages/sst/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"sideEffects": false,
"name": "sst",
"version": "2.49.7",
"version": "2.49.8",
"bin": {
"sst": "cli/sst.js"
},
Expand Down Expand Up @@ -35,25 +35,25 @@
},
"homepage": "https://sst.dev",
"dependencies": {
"@aws-cdk/aws-lambda-python-alpha": "2.201.0-alpha.0",
"@aws-cdk/cloud-assembly-schema": "44.5.0",
"@aws-cdk/cloudformation-diff": "2.182.0",
"@aws-cdk/cx-api": "2.201.0",
"@aws-cdk/toolkit-lib": "1.1.1",
"@aws-cdk/aws-lambda-python-alpha": "2.238.0-alpha.0",
"@aws-cdk/cloud-assembly-schema": "52.0.0",
"@aws-cdk/cloudformation-diff": "2.185.1",
"@aws-cdk/cx-api": "2.238.0",
"@aws-cdk/toolkit-lib": "1.15.0",
"@aws-crypto/sha256-js": "^5.2.0",
"@aws-sdk/client-cloudformation": "3.699.0",
"@aws-sdk/client-ecs": "3.699.0",
"@aws-sdk/client-eventbridge": "3.699.0",
"@aws-sdk/client-iam": "3.699.0",
"@aws-sdk/client-iot": "3.699.0",
"@aws-sdk/client-iot-data-plane": "3.699.0",
"@aws-sdk/client-lambda": "3.699.0",
"@aws-sdk/client-rds-data": "3.699.0",
"@aws-sdk/client-s3": "3.699.0",
"@aws-sdk/client-ssm": "3.699.0",
"@aws-sdk/client-sts": "3.699.0",
"@aws-sdk/client-cloudformation": "3.750.0",
"@aws-sdk/client-ecs": "3.750.0",
"@aws-sdk/client-eventbridge": "3.750.0",
"@aws-sdk/client-iam": "3.750.0",
"@aws-sdk/client-iot": "3.750.0",
"@aws-sdk/client-iot-data-plane": "3.750.0",
"@aws-sdk/client-lambda": "3.750.0",
"@aws-sdk/client-rds-data": "3.750.0",
"@aws-sdk/client-s3": "3.750.0",
"@aws-sdk/client-ssm": "3.750.0",
"@aws-sdk/client-sts": "3.750.0",
"@aws-sdk/config-resolver": "3.374.0",
"@aws-sdk/credential-providers": "3.699.0",
"@aws-sdk/credential-providers": "3.750.0",
"@aws-sdk/middleware-retry": "3.374.0",
"@aws-sdk/middleware-signing": "3.451.0",
"@aws-sdk/signature-v4-crt": "3.451.0",
Expand All @@ -64,7 +64,7 @@
"@smithy/signature-v4": "2.0.16",
"@trpc/server": "9.18.0",
"adm-zip": "0.5.14",
"aws-cdk-lib": "2.201.0",
"aws-cdk-lib": "2.238.0",
"aws-iot-device-sdk": "^2.2.13",
"aws-sdk": "^2.1501.0",
"builtin-modules": "3.2.0",
Expand All @@ -74,7 +74,7 @@
"ci-info": "^3.7.0",
"colorette": "^2.0.19",
"conf": "^10.2.0",
"constructs": "10.3.0",
"constructs": "10.4.5",
"cross-spawn": "^7.0.3",
"dendriform-immer-patch-optimiser": "^2.1.0",
"dotenv": "^16.0.3",
Expand Down Expand Up @@ -104,16 +104,16 @@
"zod": "^3.21.4"
},
"devDependencies": {
"@aws-sdk/client-api-gateway": "3.699.0",
"@aws-sdk/client-cloudfront": "3.699.0",
"@aws-sdk/client-codebuild": "3.699.0",
"@aws-sdk/client-sqs": "3.699.0",
"@aws-sdk/client-api-gateway": "3.750.0",
"@aws-sdk/client-cloudfront": "3.750.0",
"@aws-sdk/client-codebuild": "3.750.0",
"@aws-sdk/client-sqs": "3.750.0",
"@aws-sdk/types": "3.451.0",
"@graphql-tools/merge": "^8.3.16",
"@sls-next/lambda-at-edge": "^3.7.0",
"@smithy/types": "4.1.0",
"@tsconfig/node16": "^1.0.3",
"@tsconfig/node18": "^18.2.2",
"@tsconfig/node22": "^22.0.0",
"@types/adm-zip": "^0.5.0",
"@types/async": "^3.2.24",
"@types/aws-iot-device-sdk": "^2.2.8",
Expand All @@ -122,7 +122,7 @@
"@types/babel__generator": "^7.6.4",
"@types/cross-spawn": "^6.0.2",
"@types/express": "^4.17.14",
"@types/node": "18.11.9",
"@types/node": "22.19.11",
"@types/react": "^18.0.28",
"@types/uuid": "^8.3.4",
"@types/ws": "8.5.3",
Expand All @@ -131,7 +131,7 @@
"astro-sst": "2.45.1",
"async": "^3.2.4",
"tsx": "^3.12.1",
"typescript": "5.2.2",
"typescript": "5.9.3",
"vitest": "^0.33.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/sst/src/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ export async function bootstrapSST(cdkBucket: string) {
),
handler: "index.handler",
runtime: region?.startsWith("us-gov-")
? Runtime.NODEJS_22_X
: Runtime.NODEJS_22_X,
? Runtime.NODEJS_24_X
: Runtime.NODEJS_24_X,
environment: {
BUCKET_NAME: bucket.bucketName,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sst/src/cli/commands/plugins/warmer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useAWSClient } from "../../../credentials.js";
import { lazy } from "../../../util/lazy.js";

export const useRDSWarmer = lazy(async () => {
let interval: NodeJS.Timer;
let interval: ReturnType<typeof setInterval>;
const bus = useBus();
const client = useAWSClient(RDSDataClient);
bus.subscribe("stacks.metadata", (evt) => {
Expand Down
1 change: 0 additions & 1 deletion packages/sst/src/cli/sst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ telemetry(program);
types(program);

if ("setSourceMapsEnabled" in process) {
// @ts-expect-error
process.setSourceMapsEnabled(true);
}
process.removeAllListeners("uncaughtException");
Expand Down
12 changes: 7 additions & 5 deletions packages/sst/src/constructs/EdgeFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
export interface EdgeFunctionProps {
bundle?: string;
handler: string;
runtime?: "nodejs16.x" | "nodejs18.x" | "nodejs20.x" | "nodejs22.x";
runtime?: "nodejs16.x" | "nodejs18.x" | "nodejs20.x" | "nodejs22.x" | "nodejs24.x";
timeout?: number | Duration;
memorySize?: number | Size;
permissions?: Permissions;
Expand Down Expand Up @@ -450,7 +450,7 @@ export class EdgeFunction extends Construct {
const provider = new CdkFunction(stack, providerId, {
code: Code.fromAsset(path.join(__dirname, "../support/edge-function")),
handler: "s3-bucket.handler",
runtime: Runtime.NODEJS_22_X,
runtime: Runtime.NODEJS_24_X,
timeout: CdkDuration.minutes(15),
memorySize: 1024,
initialPolicy: [
Expand Down Expand Up @@ -492,7 +492,7 @@ export class EdgeFunction extends Construct {
provider = new CdkFunction(stack, providerId, {
code: Code.fromAsset(path.join(__dirname, "../support/edge-function")),
handler: "edge-lambda.handler",
runtime: Runtime.NODEJS_22_X,
runtime: Runtime.NODEJS_24_X,
timeout: CdkDuration.minutes(15),
memorySize: 1024,
initialPolicy: [
Expand Down Expand Up @@ -523,7 +523,9 @@ export class EdgeFunction extends Construct {
S3Key: assetKey,
},
Runtime:
runtime === "nodejs22.x"
runtime === "nodejs24.x"
? Runtime.NODEJS_24_X.name
: runtime === "nodejs22.x"
? Runtime.NODEJS_22_X.name
: runtime === "nodejs20.x"
? Runtime.NODEJS_20_X.name
Expand Down Expand Up @@ -563,7 +565,7 @@ export class EdgeFunction extends Construct {
provider = new CdkFunction(stack, providerId, {
code: Code.fromAsset(path.join(__dirname, "../support/edge-function")),
handler: "edge-lambda-version.handler",
runtime: Runtime.NODEJS_22_X,
runtime: Runtime.NODEJS_24_X,
timeout: CdkDuration.minutes(15),
memorySize: 1024,
initialPolicy: [
Expand Down
2 changes: 1 addition & 1 deletion packages/sst/src/constructs/EventBus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ export class EventBus extends Construct implements SSTConstruct {
});
this.retrierFn = new lambda.Function(this, `RetrierFunction`, {
functionName: app.logicalPrefixedName(this.node.id + "Retrier"),
runtime: lambda.Runtime.NODEJS_22_X,
runtime: lambda.Runtime.NODEJS_24_X,
timeout: Duration.seconds(30),
handler: "index.handler",
code: lambda.Code.fromAsset(
Expand Down
Loading