Tags: swift-server/swift-aws-lambda-runtime
Tags
Update toolchain and doc for 6.2 (#564) In preparation for the 2.0.0 GA release, - Update `.swift-version`, `Package.swift` and all examples' `package.swift` to Swift 6.2 - Update all references to `2.0.0-beta.3` to `2.0.0`. This includes the doc and readme, but also the dependencies in the examples `Package.swift`. This will temporary break the build of the examples, until we tag v2.0.0. Note the CI will not be affected as its consumes the local version of the library - [CI] Use Swift-6.2-noble for all testing tasks - Reinstate the script to generate the contributors list and update the list
add support for LOCAL_LAMBDA_PORT / HOST(#557) Allows users to define on which port the Local server listens to, using the `LOCAL_LAMBDA_PORT` environment variable. While being at it, I also added `LOCAL_LAMBDA_HOST` if the user wants to bind on a specific IP address. I renamed `LOCAL_LAMBDA_SERVER_INVOCATION_ENDPOINT` to `LOCAL_LAMBDA_INVOCATION_ENDPOINT` for consistency. ### Motivation: Addresses #556 ### Modifications: - When run outside of the Lambda execution environment, check for the value of `LOCAL_LAMBDA_PORT` and passes it down to the Lambda HTTP Local Server and runtime client. - Add a unit test ### Result: ``` LAMBDA_USE_LOCAL_DEPS=../.. LOCAL_LAMBDA_PORT=8888 swift run 2025-09-01T21:55:22+0200 info LambdaRuntime: host="127.0.0.1" port=8888 [AWSLambdaRuntime] Server started and listening ```
Add Breeze to projects.md (#343) authored-by: Andrea Scuderi <[email protected]>
allow custom initialization of the HandlerType of the LambdaRuntime (#… …310) Motivation: Provide the flexibility for custom initialization of the HandlerType as this will often be required by higher level frameworks. Modifications: * Modify the LambdaRuntime type to accept a closure to provide the handler rather than requiring that it is provided by a static method on the Handler type * Update downstream code to use HandlerProvider * Update upstream code to support passing Handler Type of Handler Provider * Add and update tests Originally suggested and coded by @tachyonics in #308
udpate readme to reflect 1.x API (#281) motivation: prepare documentation in preparation for 1.x release changes: update readme with 1.x APIs Co-authored-by: Yim Lee <[email protected]>
PreviousNext