-
Notifications
You must be signed in to change notification settings - Fork 389
Comparing changes
Open a pull request
base repository: aws/aws-lambda-rust-runtime
base: v1.0.2
head repository: aws/aws-lambda-rust-runtime
compare: v1.1.0-rc1
- 11 commits
- 45 files changed
- 5 contributors
Commits on Dec 22, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 7d6b59b - Browse repository at this point
Copy the full SHA 7d6b59bView commit details
Commits on Dec 24, 2025
-
chore(deps): bump js-toml and cargo-lambda-cdk (#1050)
Removes [js-toml](https://github.com/sunnyadn/js-toml). It's no longer used after updating ancestor dependency [cargo-lambda-cdk](https://github.com/cargo-lambda/cargo-lambda-cdk). These dependencies need to be updated together. Removes `js-toml` Updates `cargo-lambda-cdk` from 0.0.22 to 0.0.35 - [Release notes](https://github.com/cargo-lambda/cargo-lambda-cdk/releases) - [Commits](cargo-lambda/cargo-lambda-cdk@v0.0.22...v0.0.35) --- updated-dependencies: - dependency-name: js-toml dependency-version: dependency-type: indirect - dependency-name: cargo-lambda-cdk dependency-version: 0.0.35 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bc83f48 - Browse repository at this point
Copy the full SHA bc83f48View commit details -
chore(deps): bump js-yaml (#1059)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.14.1...3.14.2) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 3.14.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1a4519e - Browse repository at this point
Copy the full SHA 1a4519eView commit details -
chore(deps): bump js-yaml in /examples/http-axum/cdk (#1071)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2. - [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md) - [Commits](nodeca/js-yaml@3.14.1...3.14.2) --- updated-dependencies: - dependency-name: js-yaml dependency-version: 3.14.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bdcf93f - Browse repository at this point
Copy the full SHA bdcf93fView commit details -
chore(deps): bump brace-expansion (#1032)
Bumps and [brace-expansion](https://github.com/juliangruber/brace-expansion). These dependencies needed to be updated together. Updates `brace-expansion` from 1.1.11 to 1.1.11 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...1.1.11) Updates `brace-expansion` from 2.0.1 to 2.0.2 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@1.1.11...1.1.11) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.11 dependency-type: indirect - dependency-name: brace-expansion dependency-version: 2.0.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for eeb7686 - Browse repository at this point
Copy the full SHA eeb7686View commit details
Commits on Dec 27, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ba7e27a - Browse repository at this point
Copy the full SHA ba7e27aView commit details
Commits on Dec 30, 2025
-
feat: support Lambda Managed Instances (draft) (#1067)
* feat: support Lambda Managed Instances - Add Config.max_concurrency and size runtime HTTP client pool from AWS_LAMBDA_MAX_CONCURRENCY. - Introduce windowed concurrent /next polling with semaphore-limited handler tasks and shutdown coordination. - Require Clone + Send + 'static handlers in lambda-runtime and lambda-http, and make internal layers/HTTP adapters cloneable. - Adjust streaming HTTP to use BoxCloneService and align bounds for concurrent execution. - Add RIE LMI helper (Makefile + test-rie.sh) and minor robustness improvements (Context parsing, basic example error logging). Tests: cargo +stable fmt --all; cargo +stable clippy --all-targets --all-features; cargo +stable test --all (integration test requiring TEST_ENDPOINT not configured); ./scripts/test-rie.sh basic-lambda * feat(runtime,http): add concurrent entrypoints without changing run * chore(runtime): tighten diff vs main and clean up API client builder * chore: ignore local docs and RIE Dockerfile * chore: restore .gitignore to match upstream * fix(lambda-http): export run_with_streaming_response_concurrent - Re-export run_with_streaming_response_concurrent from lambda_http - Remove now-unneeded dead_code allows in streaming helpers - Cfg-gate Duration import behind graceful-shutdown * refactor(runtime): N worker /next loops for managed concurrency - Replace windowed polling + per-invocation tasks with N worker tasks, each running its own /next loop (AWS_LAMBDA_MAX_CONCURRENCY). - Share invocation processing between sequential and concurrent paths. - Align graceful shutdown behavior with upstream (run hook then exit). - Add basic-lambda-concurrent example and update RIE helper script. - Clarify run_concurrent docs to describe the worker model. * fix(runtime): refine concurrent worker isolation - remove shutdown signaling so worker failures stay isolated - track remaining workers and return first infra error only when none remain - treat unexpected clean worker exits as infra errors - add deterministic worker-isolation regression test - align concurrent HTTP doc wording with worker-loop model * fix: address CI lint and clarify worker-exit log - update concurrent worker exit warning per review nit - drop redundant .cloned() in ApiGatewayV2 cookies mapping (clippy lint was pre-existing and unrelated to this PR) * fix(runtime): keep concurrency settings internal - drop Config.max_concurrency to avoid semver breakage - add Runtime.concurrency_limit derived from AWS_LAMBDA_MAX_CONCURRENCY - size the API client pool to match the up-front worker allocation - update tests and Runtime literals accordingly * fix(lambda-http): source X-Ray trace id from context - Replace env-var based X-Ray header injection with Context.xray_trace_id - Set x-amzn-trace-id in HTTP and streaming adapters before handler call - Remove legacy update_xray_trace_id_header helper from request parsing Tests: - cargo +nightly fmt --all - cargo clippy --workspace --all-features -- -D warnings - cargo +stable test --all-features -p lambda_runtime_api_client -p lambda_runtime -p lambda_http * runtime: improve concurrent worker supervision - aggregate worker exits with task IDs and surface clean exits in errors - add per-worker spans and log unexpected exits at error level - guard run() when AWS_LAMBDA_MAX_CONCURRENCY is set; docs prefer run_concurrent - make streaming adapter cloneable for concurrent HTTP path - document pool size guidance and LMI test target; log example via tracing * runtime: refine worker supervision logging - remove Box::pin by returning task results from spawned workers - include JoinError task ids and wrap /next future in worker span - avoid cloning ApiClient in the worker loop - emit aggregate worker errors as valid JSON payloads - add debug log when run_concurrent falls back to sequential polling - shorten worker span name to "worker" for log readability * feat: gate concurrent APIs behind experimental feature - add experimental-concurrency feature in lambda-runtime and lambda-http - cfg-gate concurrent entrypoints and streaming helpers - keep run() guard and X-Ray header source on default path (partial gating) - fix default clippy by gating concurrent-only imports - update docs and concurrent example dependency
Configuration menu - View commit details
-
Copy full SHA for 485e3a9 - Browse repository at this point
Copy the full SHA 485e3a9View commit details
Commits on Jan 5, 2026
-
chore(deps): update reqwest requirement from 0.12.5 to 0.13.1 (#1081)
Updates the requirements on [reqwest](https://github.com/seanmonstar/reqwest) to permit the latest version. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](seanmonstar/reqwest@v0.12.5...v0.13.1) --- updated-dependencies: - dependency-name: reqwest dependency-version: 0.13.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9e96a1a - Browse repository at this point
Copy the full SHA 9e96a1aView commit details
Commits on Jan 6, 2026
-
* Add multi-tenancy support Add support for multi tenancy by providing a tenant id to the context * Add documentation to the modules 1. Missing documentation for the trace module in lambda-runtime/src/layers/mod.rs: • Added: /// Tracing utilities for Lambda runtime. 2. Missing documentation for the request_span function in lambda-runtime/src/layers/trace.rs: • Added documentation explaining what the function does and its behavior with different context parameters
Configuration menu - View commit details
-
Copy full SHA for 607b990 - Browse repository at this point
Copy the full SHA 607b990View commit details -
Configuration menu - View commit details
-
Copy full SHA for 190e1aa - Browse repository at this point
Copy the full SHA 190e1aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 217ecaf - Browse repository at this point
Copy the full SHA 217ecafView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.2...v1.1.0-rc1