@go-to-k/cdkd 0.78.0 → 0.79.0

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.
package/README.md CHANGED
@@ -498,15 +498,17 @@ Lambda Runtime Interface Emulator (RIE). Modeled on `sam local invoke`
498
498
  but reusing cdkd's synthesis / asset / construct-path plumbing — no
499
499
  `template.yaml` to maintain, no `cdk synth | sam ...` round-trip.
500
500
 
501
- Requires Docker. Supports Node.js, Python, Ruby, and Java runtimes
501
+ Requires Docker. Supports Node.js, Python, Ruby, Java, and .NET runtimes
502
502
  (`nodejs18.x` / `nodejs20.x` / `nodejs22.x` / `nodejs24.x` / `python3.11` /
503
503
  `python3.12` / `python3.13` / `python3.14` / `ruby3.2` / `ruby3.3` /
504
- `java8.al2` / `java11` / `java17` / `java21`); other runtimes (.NET / Go /
505
- `provided.*`) are not yet supported. Java Lambdas are **asset-backed only** —
506
- the Handler shape `package.Class::method` names a compiled class, so use
504
+ `java8.al2` / `java11` / `java17` / `java21` / `dotnet6` / `dotnet8`);
505
+ other runtimes (Go / `provided.*`) are not yet supported. Java and .NET
506
+ Lambdas are **asset-backed only** — the Handler shape names a compiled
507
+ artifact (`package.Class::method` for Java's JVM class;
508
+ `Assembly::Namespace.Class::Method` for .NET's CLR assembly), so use
507
509
  `lambda.Code.fromAsset(<dir>)` with a directory containing the compiled
508
- output (`.class` hierarchy or `.jar`); inline `Code.ZipFile` is rejected
509
- with a clear routing message.
510
+ output (`.class` hierarchy / `.jar` / `.dll`); inline `Code.ZipFile` is
511
+ rejected with a clear routing message.
510
512
 
511
513
  **Container Lambdas** — `lambda.DockerImageFunction(...)` /
512
514
  `Code.ImageUri` is supported alongside ZIP Lambdas. cdkd reads the
package/dist/cli.js CHANGED
@@ -70577,7 +70577,9 @@ var SUPPORTED_RUNTIMES = {
70577
70577
  "java8.al2": { image: "public.ecr.aws/lambda/java:8.al2", fileExtension: null },
70578
70578
  java11: { image: "public.ecr.aws/lambda/java:11", fileExtension: null },
70579
70579
  java17: { image: "public.ecr.aws/lambda/java:17", fileExtension: null },
70580
- java21: { image: "public.ecr.aws/lambda/java:21", fileExtension: null }
70580
+ java21: { image: "public.ecr.aws/lambda/java:21", fileExtension: null },
70581
+ dotnet6: { image: "public.ecr.aws/lambda/dotnet:6", fileExtension: null },
70582
+ dotnet8: { image: "public.ecr.aws/lambda/dotnet:8", fileExtension: null }
70581
70583
  };
70582
70584
  var UnsupportedRuntimeError = class _UnsupportedRuntimeError extends Error {
70583
70585
  constructor(runtime, message) {
@@ -70610,15 +70612,15 @@ function resolveRuntimeSpec(runtime) {
70610
70612
  const spec = SUPPORTED_RUNTIMES[runtime];
70611
70613
  if (spec)
70612
70614
  return spec;
70613
- if (runtime.startsWith("dotnet") || runtime.startsWith("go") || runtime.startsWith("provided")) {
70615
+ if (runtime.startsWith("go") || runtime.startsWith("provided")) {
70614
70616
  throw new UnsupportedRuntimeError(
70615
70617
  runtime,
70616
- `Runtime '${runtime}' is not yet supported in cdkd local invoke. Supported runtimes: Node.js (nodejs18.x / nodejs20.x / nodejs22.x / nodejs24.x), Python (python3.11 / python3.12 / python3.13 / python3.14), Ruby (ruby3.2 / ruby3.3), Java (java8.al2 / java11 / java17 / java21). Other runtimes follow in subsequent PRs.`
70618
+ `Runtime '${runtime}' is not yet supported in cdkd local invoke. Supported runtimes: Node.js (nodejs18.x / nodejs20.x / nodejs22.x / nodejs24.x), Python (python3.11 / python3.12 / python3.13 / python3.14), Ruby (ruby3.2 / ruby3.3), Java (java8.al2 / java11 / java17 / java21), .NET (dotnet6 / dotnet8). Other runtimes follow in subsequent PRs.`
70617
70619
  );
70618
70620
  }
70619
70621
  throw new UnsupportedRuntimeError(
70620
70622
  runtime,
70621
- `Unknown runtime '${runtime}'. cdkd local invoke supports nodejs18.x / nodejs20.x / nodejs22.x / nodejs24.x / python3.11 / python3.12 / python3.13 / python3.14 / ruby3.2 / ruby3.3 / java8.al2 / java11 / java17 / java21.`
70623
+ `Unknown runtime '${runtime}'. cdkd local invoke supports nodejs18.x / nodejs20.x / nodejs22.x / nodejs24.x / python3.11 / python3.12 / python3.13 / python3.14 / ruby3.2 / ruby3.3 / java8.al2 / java11 / java17 / java21 / dotnet6 / dotnet8.`
70622
70624
  );
70623
70625
  }
70624
70626
 
@@ -77043,7 +77045,7 @@ function reorderArgs(argv) {
77043
77045
  }
77044
77046
  async function main() {
77045
77047
  const program = new Command16();
77046
- program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.78.0");
77048
+ program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.79.0");
77047
77049
  program.addCommand(createBootstrapCommand());
77048
77050
  program.addCommand(createSynthCommand());
77049
77051
  program.addCommand(createListCommand());