Skip to content

Releases: aws/aws-lambda-python-runtime-interface-client

AWS Lambda Runtime Interface Client for Python v4.2.2

Choose a tag to compare

@github-actions github-actions released this 15 Oct 15:48
fa2462d
  • Pin the worker process start method to fork in multi-concurrent (Lambda Managed Instances) mode instead of inheriting the interpreter default, which changed from fork to forkserver in Python 3.14. Workers are now direct children of the runtime process on every supported Python version (#233). No behavior change on Python 3.13 and earlier; no impact on the standard on-demand path.

AWS Lambda Runtime Interface Client for Python v4.2.1

Choose a tag to compare

@github-actions github-actions released this 13 Oct 11:23
c1ce090
  • Revert pre-fork hooks for multi-concurrent (Lambda Managed Instances) mode introduced in 4.1.0 (#226), as the change was breaking. The awslambdaric.lambda_concurrency_hooks module, the @register_pre_fork decorator and the Runtime.PreForkError error type are removed, restoring the 4.0.4 multi-concurrent startup behavior. No impact on the standard on-demand path.

AWS Lambda Runtime Interface Client for Python v4.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Oct 09:17
eec20f6
  • Add a w3c() helper to LambdaContext that returns the W3C trace-context fields (traceparent, tracestate, baggage) carried on clientContext.w3c at invoke time (#228)

AWS Lambda Runtime Interface Client for Python v4.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 14:41
fa006b6
  • Add pre-fork hooks for multi-concurrent (Lambda Managed Instances) mode. A function can register callables with the @register_pre_fork decorator from awslambdaric.lambda_concurrency_hooks; they run once in the parent process, after the handler is imported and before worker processes are started. Workers re-import the handler in their own process, so hooks are for external side effects (starting a subprocess, warming a local service, writing to /tmp) and share no in-memory state with workers. A hook that raises is reported to the Runtime API as an INIT error with the type Runtime.PreForkError and no worker is started. No impact on the standard on-demand path.

AWS Lambda Runtime Interface Client for Python v4.0.4

Choose a tag to compare

@github-actions github-actions released this 15 Sep 15:20
1b8360e
  • Use the level key (instead of log_level) for the log level field in JSON-formatted uncaught error logs, aligning it with the key used by other structured log events (#221)

AWS Lambda Runtime Interface Client for Python v4.0.3

Choose a tag to compare

@github-actions github-actions released this 11 Sep 09:55
fb69aa6
  • Emit a structured runtime_worker_pool_initializing DEBUG log event once per execution environment during INIT in multi-concurrent (Lambda Managed Instances) mode, reporting workerCount and executionEnvironmentMaxConcurrency for worker pool observability. Only visible when the function log level is DEBUG or lower; no impact on the standard on-demand path.

AWS Lambda Runtime Interface Client for Python v4.0.2

Choose a tag to compare

@github-actions github-actions released this 29 Jul 17:26
3810eed
  • Add Lambda-Runtime-Invocation-Id header support for cross-wiring protection. The RIC now echoes the invocation ID received from RAPID on /next back on /response and /error, enabling RAPID to detect and reject stale responses from timed-out invocations.

AWS Lambda Runtime Interface Client for Python v4.0.1

Choose a tag to compare

@github-actions github-actions released this 26 Jun 13:31
46e4c6a
  • Support building on Alpine Linux 3.17+ (musl) without libexecinfo-dev (#204)
  • Lazy load multi_concurrent_utils (#211)

AWS Lambda Runtime Interface Client for Python v3.1.1

Choose a tag to compare

@briensea briensea released this 29 May 14:55
3f43f4d

What's Changed

Full Changelog: 3.1.0...3.1.1

AWS Lambda Runtime Interface Client for Python v3.1.0

Choose a tag to compare

@ramisa2108 ramisa2108 released this 22 May 11:08
224a920

What's Changed

New Contributors

Full Changelog: 3.0.2...3.1.0