sst 2.41.4 → 2.41.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,7 @@ declare const supportedRuntimes: {
25
25
  "python3.12": CDKRuntime;
26
26
  "dotnetcore3.1": CDKRuntime;
27
27
  dotnet6: CDKRuntime;
28
+ dotnet8: CDKRuntime;
28
29
  java8: CDKRuntime;
29
30
  java11: CDKRuntime;
30
31
  java17: CDKRuntime;
@@ -795,7 +796,7 @@ export declare class Function extends CDKFunction implements SSTConstruct {
795
796
  type: "Function";
796
797
  data: {
797
798
  arn: string;
798
- runtime: "container" | "rust" | "nodejs16.x" | "nodejs18.x" | "nodejs20.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "python3.11" | "python3.12" | "dotnetcore3.1" | "dotnet6" | "java8" | "java11" | "java17" | "java21" | "go1.x" | "go" | undefined;
799
+ runtime: "container" | "rust" | "nodejs16.x" | "nodejs18.x" | "nodejs20.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "python3.11" | "python3.12" | "dotnetcore3.1" | "dotnet6" | "dotnet8" | "java8" | "java11" | "java17" | "java21" | "go1.x" | "go" | undefined;
799
800
  handler: string | undefined;
800
801
  missingSourcemap: boolean | undefined;
801
802
  localId: string;
@@ -44,6 +44,7 @@ const supportedRuntimes = {
44
44
  "python3.12": CDKRuntime.PYTHON_3_12,
45
45
  "dotnetcore3.1": CDKRuntime.DOTNET_CORE_3_1,
46
46
  dotnet6: CDKRuntime.DOTNET_6,
47
+ dotnet8: CDKRuntime.DOTNET_8,
47
48
  java8: CDKRuntime.JAVA_8,
48
49
  java11: CDKRuntime.JAVA_11,
49
50
  java17: CDKRuntime.JAVA_17,
@@ -20,7 +20,7 @@ import { useFunctions } from "./Function.js";
20
20
  import { useDeferredTasks } from "./deferred_task.js";
21
21
  import { Logger } from "../logger.js";
22
22
  const LAYER_VERSION = "2";
23
- const DEFAULT_OPEN_NEXT_VERSION = "2.3.7";
23
+ const DEFAULT_OPEN_NEXT_VERSION = "2.3.8";
24
24
  const DEFAULT_CACHE_POLICY_ALLOWED_HEADERS = [
25
25
  "accept",
26
26
  "rsc",
@@ -13,7 +13,7 @@ export interface RDSProps {
13
13
  /**
14
14
  * Database engine of the cluster. Cannot be changed once set.
15
15
  */
16
- engine: "mysql5.6" | "mysql5.7" | "mysql8.0" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9";
16
+ engine: "mysql5.6" | "mysql5.7" | "mysql8.0" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9" | "postgresql14.10" | "postgresql15.5" | "postgresql16.1";
17
17
  /**
18
18
  * Name of a database which is automatically created inside the cluster.
19
19
  */
@@ -191,7 +191,7 @@ export declare class RDS extends Construct implements SSTConstruct {
191
191
  getConstructMetadata(): {
192
192
  type: "RDS";
193
193
  data: {
194
- engine: "mysql5.6" | "mysql5.7" | "mysql8.0" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9";
194
+ engine: "mysql5.6" | "mysql5.7" | "mysql8.0" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9" | "postgresql14.10" | "postgresql15.5" | "postgresql16.1";
195
195
  secretArn: string;
196
196
  types: RDSTypes | undefined;
197
197
  clusterArn: string;
package/constructs/RDS.js CHANGED
@@ -224,6 +224,21 @@ export class RDS extends Construct {
224
224
  version: AuroraPostgresEngineVersion.VER_13_9,
225
225
  });
226
226
  }
227
+ else if (engine === "postgresql14.10") {
228
+ return DatabaseClusterEngine.auroraPostgres({
229
+ version: AuroraPostgresEngineVersion.VER_14_10,
230
+ });
231
+ }
232
+ else if (engine === "postgresql15.5") {
233
+ return DatabaseClusterEngine.auroraPostgres({
234
+ version: AuroraPostgresEngineVersion.VER_15_5,
235
+ });
236
+ }
237
+ else if (engine === "postgresql16.1") {
238
+ return DatabaseClusterEngine.auroraPostgres({
239
+ version: AuroraPostgresEngineVersion.VER_16_1,
240
+ });
241
+ }
227
242
  throw new Error(`The specified "engine" is not supported for sst.RDS. Only mysql5.6, mysql5.7, postgresql11.13, postgresql11.16, and postgres13.9 engines are currently supported.`);
228
243
  }
229
244
  getScaling(scaling) {
@@ -268,6 +268,7 @@ export class SsrSite extends Construct {
268
268
  distribution: {
269
269
  // these values can be overwritten
270
270
  defaultRootObject: "",
271
+ errorResponses: plan.errorResponses,
271
272
  // override props.
272
273
  ...cdk?.distribution,
273
274
  // these values can NOT be overwritten
@@ -281,7 +282,6 @@ export class SsrSite extends Construct {
281
282
  }, {}),
282
283
  ...(cdk?.distribution?.additionalBehaviors || {}),
283
284
  },
284
- errorResponses: plan.errorResponses,
285
285
  },
286
286
  },
287
287
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.41.4",
4
+ "version": "2.41.5",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
@@ -118,7 +118,7 @@
118
118
  "@types/ws": "^8.5.3",
119
119
  "@types/yargs": "^17.0.13",
120
120
  "archiver": "^5.3.1",
121
- "astro-sst": "2.41.4",
121
+ "astro-sst": "2.41.5",
122
122
  "async": "^3.2.4",
123
123
  "tsx": "^3.12.1",
124
124
  "typescript": "^5.2.2",
@@ -11,6 +11,7 @@ const FRAMEWORK_MAP = {
11
11
  "dotnetcore2.1": "netcoreapp3.1",
12
12
  "dotnetcore3.1": "netcoreapp3.1",
13
13
  dotnet6: "net6.0",
14
+ dotnet8: "net8.0",
14
15
  };
15
16
  const BOOTSTRAP_MAP = {
16
17
  "dotnetcore1.0": "dotnet31-bootstrap",
@@ -18,6 +19,7 @@ const BOOTSTRAP_MAP = {
18
19
  "dotnetcore2.1": "dotnet31-bootstrap",
19
20
  "dotnetcore3.1": "dotnet31-bootstrap",
20
21
  dotnet6: "dotnet6-bootstrap",
22
+ dotnet8: "dotnet8-bootstrap",
21
23
  };
22
24
  export const useDotnetHandler = () => {
23
25
  const processes = new Map();
@@ -107,7 +109,7 @@ export const useDotnetHandler = () => {
107
109
  catch (ex) {
108
110
  return {
109
111
  type: "error",
110
- errors: [ex.stderr],
112
+ errors: [ex.stdout],
111
113
  };
112
114
  }
113
115
  },