diff --git a/.changeset/default-nodejs24.md b/.changeset/default-nodejs24.md deleted file mode 100644 index 70ca684b5..000000000 --- a/.changeset/default-nodejs24.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"sst": patch ---- - -Change the default Lambda runtime to `nodejs24.x` for all function-based constructs. diff --git a/.changeset/quiet-carpets-see.md b/.changeset/quiet-carpets-see.md new file mode 100644 index 000000000..b8fbab30a --- /dev/null +++ b/.changeset/quiet-carpets-see.md @@ -0,0 +1,5 @@ +--- +"sst": patch +--- + +Add dotnet 10 lambda runtime support diff --git a/examples/rest-api-csharp/obj/Api.csproj.nuget.dgspec.json b/examples/rest-api-csharp/obj/Api.csproj.nuget.dgspec.json new file mode 100644 index 000000000..660014ea4 --- /dev/null +++ b/examples/rest-api-csharp/obj/Api.csproj.nuget.dgspec.json @@ -0,0 +1,91 @@ +{ + "format": 1, + "restore": { + "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj": {} + }, + "projects": { + "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/examples/rest-api-csharp/obj/Api.csproj.nuget.g.props b/examples/rest-api-csharp/obj/Api.csproj.nuget.g.props new file mode 100644 index 000000000..5bd60b007 --- /dev/null +++ b/examples/rest-api-csharp/obj/Api.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/examples/rest-api-csharp/obj/Api.csproj.nuget.g.targets b/examples/rest-api-csharp/obj/Api.csproj.nuget.g.targets new file mode 100644 index 000000000..3dc06ef3c --- /dev/null +++ b/examples/rest-api-csharp/obj/Api.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/examples/rest-api-csharp/obj/project.assets.json b/examples/rest-api-csharp/obj/project.assets.json new file mode 100644 index 000000000..efbcfd08a --- /dev/null +++ b/examples/rest-api-csharp/obj/project.assets.json @@ -0,0 +1,185 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.1": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "type": "package", + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Core/2.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "type": "package", + "dependencies": { + "Amazon.Lambda.Core": "1.2.0" + }, + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "sha512": "QDDGZq2RwY4BBn2ai/dLLCdeHZBp1cSwqrjAe/m371z6Sv6pza8ZsVnZYxE+Dqmhh4UF0uZ6t520tVqOYcEzzQ==", + "type": "package", + "path": "amazon.lambda.apigatewayevents/2.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "amazon.lambda.apigatewayevents.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.xml", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.xml" + ] + }, + "Amazon.Lambda.Core/2.0.0": { + "sha512": "V4fw3pYuP1LyUJThpbrbLwy2b4TH3CPYh5oId/CgJvGkX7lSAVyOEmkdGvDhpjegxnS4rgw6tP7faftVBO9jwQ==", + "type": "package", + "path": "amazon.lambda.core/2.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.core.2.0.0.nupkg.sha512", + "amazon.lambda.core.nuspec", + "lib/netstandard2.0/Amazon.Lambda.Core.dll", + "lib/netstandard2.0/Amazon.Lambda.Core.xml" + ] + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "sha512": "q2R4I77NrrAHDpcaWby9VA/XhE1tjG/2kpredwucRq7k4dTPCqqB7OFmbiFdlfuErrp2/9+X1l62c4unwVicpw==", + "type": "package", + "path": "amazon.lambda.serialization.systemtextjson/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "amazon.lambda.serialization.systemtextjson.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.xml" + ] + } + }, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.1": [ + "Amazon.Lambda.APIGatewayEvents >= 2.4.0", + "Amazon.Lambda.Core >= 2.0.0", + "Amazon.Lambda.Serialization.SystemTextJson >= 2.1.0" + ] + }, + "packageFolders": { + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/examples/rest-api-csharp/obj/project.nuget.cache b/examples/rest-api-csharp/obj/project.nuget.cache new file mode 100644 index 000000000..3731cbadd --- /dev/null +++ b/examples/rest-api-csharp/obj/project.nuget.cache @@ -0,0 +1,14 @@ +{ + "version": 2, + "dgSpecHash": "E4AM5/u4vkI=", + "success": true, + "projectFilePath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/Api.csproj", + "expectedPackageFiles": [ + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.apigatewayevents/2.4.0/amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.core/2.0.0/amazon.lambda.core.2.0.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.serialization.systemtextjson/2.1.0/amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.netcore.app.ref/3.1.0/microsoft.netcore.app.ref.3.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.aspnetcore.app.ref/3.1.10/microsoft.aspnetcore.app.ref.3.1.10.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.dgspec.json b/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.dgspec.json new file mode 100644 index 000000000..ef0fa0db6 --- /dev/null +++ b/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.dgspec.json @@ -0,0 +1,91 @@ +{ + "format": 1, + "restore": { + "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj": {} + }, + "projects": { + "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.g.props b/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.g.props new file mode 100644 index 000000000..5bd60b007 --- /dev/null +++ b/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.g.targets b/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.g.targets new file mode 100644 index 000000000..3dc06ef3c --- /dev/null +++ b/examples/rest-api-csharp/services/Api/obj/Api.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/examples/rest-api-csharp/services/Api/obj/project.assets.json b/examples/rest-api-csharp/services/Api/obj/project.assets.json new file mode 100644 index 000000000..b3e6f3ff2 --- /dev/null +++ b/examples/rest-api-csharp/services/Api/obj/project.assets.json @@ -0,0 +1,185 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.1": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "type": "package", + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Core/2.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "type": "package", + "dependencies": { + "Amazon.Lambda.Core": "1.2.0" + }, + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "sha512": "QDDGZq2RwY4BBn2ai/dLLCdeHZBp1cSwqrjAe/m371z6Sv6pza8ZsVnZYxE+Dqmhh4UF0uZ6t520tVqOYcEzzQ==", + "type": "package", + "path": "amazon.lambda.apigatewayevents/2.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "amazon.lambda.apigatewayevents.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.xml", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.xml" + ] + }, + "Amazon.Lambda.Core/2.0.0": { + "sha512": "V4fw3pYuP1LyUJThpbrbLwy2b4TH3CPYh5oId/CgJvGkX7lSAVyOEmkdGvDhpjegxnS4rgw6tP7faftVBO9jwQ==", + "type": "package", + "path": "amazon.lambda.core/2.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.core.2.0.0.nupkg.sha512", + "amazon.lambda.core.nuspec", + "lib/netstandard2.0/Amazon.Lambda.Core.dll", + "lib/netstandard2.0/Amazon.Lambda.Core.xml" + ] + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "sha512": "q2R4I77NrrAHDpcaWby9VA/XhE1tjG/2kpredwucRq7k4dTPCqqB7OFmbiFdlfuErrp2/9+X1l62c4unwVicpw==", + "type": "package", + "path": "amazon.lambda.serialization.systemtextjson/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "amazon.lambda.serialization.systemtextjson.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.xml" + ] + } + }, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.1": [ + "Amazon.Lambda.APIGatewayEvents >= 2.4.0", + "Amazon.Lambda.Core >= 2.0.0", + "Amazon.Lambda.Serialization.SystemTextJson >= 2.1.0" + ] + }, + "packageFolders": { + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/examples/rest-api-csharp/services/Api/obj/project.nuget.cache b/examples/rest-api-csharp/services/Api/obj/project.nuget.cache new file mode 100644 index 000000000..69df592cf --- /dev/null +++ b/examples/rest-api-csharp/services/Api/obj/project.nuget.cache @@ -0,0 +1,14 @@ +{ + "version": 2, + "dgSpecHash": "ydeIWeYS+Xk=", + "success": true, + "projectFilePath": "/home/runner/work/sst-v2/sst-v2/examples/rest-api-csharp/services/Api/Api.csproj", + "expectedPackageFiles": [ + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.apigatewayevents/2.4.0/amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.core/2.0.0/amazon.lambda.core.2.0.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.serialization.systemtextjson/2.1.0/amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.netcore.app.ref/3.1.0/microsoft.netcore.app.ref.3.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.aspnetcore.app.ref/3.1.10/microsoft.aspnetcore.app.ref.3.1.10.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.dgspec.json b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.dgspec.json new file mode 100644 index 000000000..b0a671ad4 --- /dev/null +++ b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.dgspec.json @@ -0,0 +1,91 @@ +{ + "format": 1, + "restore": { + "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj": {} + }, + "projects": { + "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.g.props b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.g.props new file mode 100644 index 000000000..5bd60b007 --- /dev/null +++ b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.g.targets b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.g.targets new file mode 100644 index 000000000..3dc06ef3c --- /dev/null +++ b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/Api.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/project.assets.json b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/project.assets.json new file mode 100644 index 000000000..3c3989d28 --- /dev/null +++ b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/project.assets.json @@ -0,0 +1,185 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.1": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "type": "package", + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Core/2.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "type": "package", + "dependencies": { + "Amazon.Lambda.Core": "1.2.0" + }, + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "sha512": "QDDGZq2RwY4BBn2ai/dLLCdeHZBp1cSwqrjAe/m371z6Sv6pza8ZsVnZYxE+Dqmhh4UF0uZ6t520tVqOYcEzzQ==", + "type": "package", + "path": "amazon.lambda.apigatewayevents/2.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "amazon.lambda.apigatewayevents.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.xml", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.xml" + ] + }, + "Amazon.Lambda.Core/2.0.0": { + "sha512": "V4fw3pYuP1LyUJThpbrbLwy2b4TH3CPYh5oId/CgJvGkX7lSAVyOEmkdGvDhpjegxnS4rgw6tP7faftVBO9jwQ==", + "type": "package", + "path": "amazon.lambda.core/2.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.core.2.0.0.nupkg.sha512", + "amazon.lambda.core.nuspec", + "lib/netstandard2.0/Amazon.Lambda.Core.dll", + "lib/netstandard2.0/Amazon.Lambda.Core.xml" + ] + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "sha512": "q2R4I77NrrAHDpcaWby9VA/XhE1tjG/2kpredwucRq7k4dTPCqqB7OFmbiFdlfuErrp2/9+X1l62c4unwVicpw==", + "type": "package", + "path": "amazon.lambda.serialization.systemtextjson/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "amazon.lambda.serialization.systemtextjson.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.xml" + ] + } + }, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.1": [ + "Amazon.Lambda.APIGatewayEvents >= 2.4.0", + "Amazon.Lambda.Core >= 2.0.0", + "Amazon.Lambda.Serialization.SystemTextJson >= 2.1.0" + ] + }, + "packageFolders": { + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/project.nuget.cache b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/project.nuget.cache new file mode 100644 index 000000000..b69d70a5b --- /dev/null +++ b/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/obj/project.nuget.cache @@ -0,0 +1,14 @@ +{ + "version": 2, + "dgSpecHash": "qntsaSRkEHk=", + "success": true, + "projectFilePath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/examples/rest-api-csharp/templates/services/Api/Api.csproj", + "expectedPackageFiles": [ + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.apigatewayevents/2.4.0/amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.core/2.0.0/amazon.lambda.core.2.0.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.serialization.systemtextjson/2.1.0/amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.netcore.app.ref/3.1.0/microsoft.netcore.app.ref.3.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.aspnetcore.app.ref/3.1.10/microsoft.aspnetcore.app.ref.3.1.10.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.dgspec.json b/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.dgspec.json new file mode 100644 index 000000000..9b1954e97 --- /dev/null +++ b/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.dgspec.json @@ -0,0 +1,91 @@ +{ + "format": 1, + "restore": { + "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj": {} + }, + "projects": { + "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.g.props b/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.g.props new file mode 100644 index 000000000..5bd60b007 --- /dev/null +++ b/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + /tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages + PackageReference + 7.0.0 + + + + + \ No newline at end of file diff --git a/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.g.targets b/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.g.targets new file mode 100644 index 000000000..3dc06ef3c --- /dev/null +++ b/packages/create-sst/bin/presets/other/csharp/templates/obj/Api.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/packages/create-sst/bin/presets/other/csharp/templates/obj/project.assets.json b/packages/create-sst/bin/presets/other/csharp/templates/obj/project.assets.json new file mode 100644 index 000000000..0d75375c2 --- /dev/null +++ b/packages/create-sst/bin/presets/other/csharp/templates/obj/project.assets.json @@ -0,0 +1,185 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.1": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "type": "package", + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Core/2.0.0": { + "type": "package", + "compile": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/Amazon.Lambda.Core.dll": { + "related": ".xml" + } + } + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "type": "package", + "dependencies": { + "Amazon.Lambda.Core": "1.2.0" + }, + "compile": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "Amazon.Lambda.APIGatewayEvents/2.4.0": { + "sha512": "QDDGZq2RwY4BBn2ai/dLLCdeHZBp1cSwqrjAe/m371z6Sv6pza8ZsVnZYxE+Dqmhh4UF0uZ6t520tVqOYcEzzQ==", + "type": "package", + "path": "amazon.lambda.apigatewayevents/2.4.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "amazon.lambda.apigatewayevents.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netcoreapp3.1/Amazon.Lambda.APIGatewayEvents.xml", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.dll", + "lib/netstandard2.0/Amazon.Lambda.APIGatewayEvents.xml" + ] + }, + "Amazon.Lambda.Core/2.0.0": { + "sha512": "V4fw3pYuP1LyUJThpbrbLwy2b4TH3CPYh5oId/CgJvGkX7lSAVyOEmkdGvDhpjegxnS4rgw6tP7faftVBO9jwQ==", + "type": "package", + "path": "amazon.lambda.core/2.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.core.2.0.0.nupkg.sha512", + "amazon.lambda.core.nuspec", + "lib/netstandard2.0/Amazon.Lambda.Core.dll", + "lib/netstandard2.0/Amazon.Lambda.Core.xml" + ] + }, + "Amazon.Lambda.Serialization.SystemTextJson/2.1.0": { + "sha512": "q2R4I77NrrAHDpcaWby9VA/XhE1tjG/2kpredwucRq7k4dTPCqqB7OFmbiFdlfuErrp2/9+X1l62c4unwVicpw==", + "type": "package", + "path": "amazon.lambda.serialization.systemtextjson/2.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "amazon.lambda.serialization.systemtextjson.nuspec", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.dll", + "lib/netcoreapp3.1/Amazon.Lambda.Serialization.SystemTextJson.xml" + ] + } + }, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.1": [ + "Amazon.Lambda.APIGatewayEvents >= 2.4.0", + "Amazon.Lambda.Core >= 2.0.0", + "Amazon.Lambda.Serialization.SystemTextJson >= 2.1.0" + ] + }, + "packageFolders": { + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj", + "projectName": "Api", + "projectPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj", + "packagesPath": "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages", + "outputPath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/runner/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.200" + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Amazon.Lambda.APIGatewayEvents": { + "target": "Package", + "version": "[2.4.0, )" + }, + "Amazon.Lambda.Core": { + "target": "Package", + "version": "[2.0.0, )" + }, + "Amazon.Lambda.Serialization.SystemTextJson": { + "target": "Package", + "version": "[2.1.0, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "downloadDependencies": [ + { + "name": "Microsoft.AspNetCore.App.Ref", + "version": "[3.1.10, 3.1.10]" + }, + { + "name": "Microsoft.NETCore.App.Ref", + "version": "[3.1.0, 3.1.0]" + } + ], + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/10.0.201/RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/packages/create-sst/bin/presets/other/csharp/templates/obj/project.nuget.cache b/packages/create-sst/bin/presets/other/csharp/templates/obj/project.nuget.cache new file mode 100644 index 000000000..5075a5133 --- /dev/null +++ b/packages/create-sst/bin/presets/other/csharp/templates/obj/project.nuget.cache @@ -0,0 +1,14 @@ +{ + "version": 2, + "dgSpecHash": "Ez9mJX5dJ5k=", + "success": true, + "projectFilePath": "/home/runner/work/sst-v2/sst-v2/packages/create-sst/bin/presets/other/csharp/templates/Api.csproj", + "expectedPackageFiles": [ + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.apigatewayevents/2.4.0/amazon.lambda.apigatewayevents.2.4.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.core/2.0.0/amazon.lambda.core.2.0.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/amazon.lambda.serialization.systemtextjson/2.1.0/amazon.lambda.serialization.systemtextjson.2.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.netcore.app.ref/3.1.0/microsoft.netcore.app.ref.3.1.0.nupkg.sha512", + "/tmp/codeql-scratch-4d3c540b6cc19fdf/dbs/csharp/working/packages/microsoft.aspnetcore.app.ref/3.1.10/microsoft.aspnetcore.app.ref.3.1.10.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/packages/sst/build.mjs b/packages/sst/build.mjs index a76e15255..26d8654d3 100644 --- a/packages/sst/build.mjs +++ b/packages/sst/build.mjs @@ -163,6 +163,7 @@ await Promise.all( "dotnet31-bootstrap", "dotnet6-bootstrap", "dotnet8-bootstrap", + "dotnet10-bootstrap", "nixpacks", "service-dev-function", ].map((dir) => diff --git a/packages/sst/package.json b/packages/sst/package.json index 78d75730a..4c2d42cc0 100644 --- a/packages/sst/package.json +++ b/packages/sst/package.json @@ -64,7 +64,7 @@ "@smithy/signature-v4": "2.0.16", "@trpc/server": "9.18.0", "adm-zip": "0.5.14", - "aws-cdk-lib": "2.224.0", + "aws-cdk-lib": "2.233.0", "aws-iot-device-sdk": "^2.2.13", "aws-sdk": "^2.1501.0", "builtin-modules": "3.2.0", diff --git a/packages/sst/src/constructs/Function.ts b/packages/sst/src/constructs/Function.ts index c0184e2ab..f109aafc1 100644 --- a/packages/sst/src/constructs/Function.ts +++ b/packages/sst/src/constructs/Function.ts @@ -83,6 +83,7 @@ const supportedRuntimes = { "dotnetcore3.1": CDKRuntime.DOTNET_CORE_3_1, dotnet6: CDKRuntime.DOTNET_6, dotnet8: CDKRuntime.DOTNET_8, + dotnet10: CDKRuntime.DOTNET_10, java8: CDKRuntime.JAVA_8, java11: CDKRuntime.JAVA_11, java17: CDKRuntime.JAVA_17, diff --git a/packages/sst/src/runtime/handlers/dotnet.ts b/packages/sst/src/runtime/handlers/dotnet.ts index a94bf6841..e25c3fc8b 100644 --- a/packages/sst/src/runtime/handlers/dotnet.ts +++ b/packages/sst/src/runtime/handlers/dotnet.ts @@ -15,6 +15,7 @@ const FRAMEWORK_MAP: Record = { "dotnetcore3.1": "netcoreapp3.1", dotnet6: "net6.0", dotnet8: "net8.0", + dotnet10: "net10.0", }; const BOOTSTRAP_MAP: Record = { @@ -24,6 +25,7 @@ const BOOTSTRAP_MAP: Record = { "dotnetcore3.1": "dotnet31-bootstrap", dotnet6: "dotnet6-bootstrap", dotnet8: "dotnet8-bootstrap", + dotnet10: "dotnet10-bootstrap", }; export const useDotnetHandler = (): RuntimeHandler => { diff --git a/packages/sst/support/dotnet10-bootstrap/.gitignore b/packages/sst/support/dotnet10-bootstrap/.gitignore new file mode 100644 index 000000000..0be503b00 --- /dev/null +++ b/packages/sst/support/dotnet10-bootstrap/.gitignore @@ -0,0 +1,3 @@ +# Build results +[Bb]in/ +[Oo]bj/ diff --git a/packages/sst/support/dotnet10-bootstrap/Program.cs b/packages/sst/support/dotnet10-bootstrap/Program.cs new file mode 100644 index 000000000..9d7304790 --- /dev/null +++ b/packages/sst/support/dotnet10-bootstrap/Program.cs @@ -0,0 +1,17 @@ +using System.Reflection; +using System.Threading.Tasks; +using Amazon.Lambda.RuntimeSupport; + +namespace dotnet_bootstrap +{ + class Program + { + static async Task Main(string[] args) + { + Assembly asm = Assembly.LoadFrom(args[0]); + var r = new RuntimeSupportInitializer(args[1]); + await r.RunLambdaBootstrap(); + } + } +} + diff --git a/packages/sst/support/dotnet10-bootstrap/dotnet-bootstrap.csproj b/packages/sst/support/dotnet10-bootstrap/dotnet-bootstrap.csproj new file mode 100644 index 000000000..638654ca8 --- /dev/null +++ b/packages/sst/support/dotnet10-bootstrap/dotnet-bootstrap.csproj @@ -0,0 +1,12 @@ + + + + Exe + net10.0 + dotnet_bootstrap + + + + + + diff --git a/packages/sst/support/dotnet10-bootstrap/release/Amazon.Lambda.Core.dll b/packages/sst/support/dotnet10-bootstrap/release/Amazon.Lambda.Core.dll new file mode 100755 index 000000000..363b63c39 Binary files /dev/null and b/packages/sst/support/dotnet10-bootstrap/release/Amazon.Lambda.Core.dll differ diff --git a/packages/sst/support/dotnet10-bootstrap/release/Amazon.Lambda.RuntimeSupport.dll b/packages/sst/support/dotnet10-bootstrap/release/Amazon.Lambda.RuntimeSupport.dll new file mode 100755 index 000000000..7caaebb84 Binary files /dev/null and b/packages/sst/support/dotnet10-bootstrap/release/Amazon.Lambda.RuntimeSupport.dll differ diff --git a/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap new file mode 100755 index 000000000..bc5409591 Binary files /dev/null and b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap differ diff --git a/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.deps.json b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.deps.json new file mode 100644 index 000000000..ce9cf9ba7 --- /dev/null +++ b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.deps.json @@ -0,0 +1,59 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v10.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v10.0": { + "dotnet-bootstrap/1.0.0": { + "dependencies": { + "Amazon.Lambda.RuntimeSupport": "1.10.0" + }, + "runtime": { + "dotnet-bootstrap.dll": {} + } + }, + "Amazon.Lambda.Core/2.2.0": { + "runtime": { + "lib/net8.0/Amazon.Lambda.Core.dll": { + "assemblyVersion": "1.0.0.0", + "fileVersion": "1.0.0.0" + } + } + }, + "Amazon.Lambda.RuntimeSupport/1.10.0": { + "dependencies": { + "Amazon.Lambda.Core": "2.2.0" + }, + "runtime": { + "lib/net8.0/Amazon.Lambda.RuntimeSupport.dll": { + "assemblyVersion": "1.10.0.0", + "fileVersion": "1.10.0.0" + } + } + } + } + }, + "libraries": { + "dotnet-bootstrap/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Amazon.Lambda.Core/2.2.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-DHqKeD1CYocP0t1dJC/NaXfu+5k6AoqnQ1Hlu/J2mXpLpCyeJfY+tIqT5fpruDarUlU0NtdIH8zSkCjeinyb1A==", + "path": "amazon.lambda.core/2.2.0", + "hashPath": "amazon.lambda.core.2.2.0.nupkg.sha512" + }, + "Amazon.Lambda.RuntimeSupport/1.10.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-J1NdaUV24sWALmCjzJJ6vezskeeH2NxJU7ao86rgdzW+AcgnhYjIULuKQNAx6fTl8AP/8acFsq7Jp7k156hh4A==", + "path": "amazon.lambda.runtimesupport/1.10.0", + "hashPath": "amazon.lambda.runtimesupport.1.10.0.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.dll b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.dll new file mode 100644 index 000000000..09d0de5a2 Binary files /dev/null and b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.dll differ diff --git a/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.pdb b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.pdb new file mode 100644 index 000000000..086839681 Binary files /dev/null and b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.pdb differ diff --git a/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.runtimeconfig.json b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.runtimeconfig.json new file mode 100644 index 000000000..f730443cc --- /dev/null +++ b/packages/sst/support/dotnet10-bootstrap/release/dotnet-bootstrap.runtimeconfig.json @@ -0,0 +1,13 @@ +{ + "runtimeOptions": { + "tfm": "net10.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "10.0.0" + }, + "configProperties": { + "System.Reflection.Metadata.MetadataUpdater.IsSupported": false, + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file