Releases: swift-server/swift-aws-lambda-runtime
1.0.0-alpha.3
TL;DR
This is the last 1.0.0-alpha.x release. We started to work on a v2 that will embrace Swift6, structured concurrency, service lifecycles amongst other changes. You can read more about the proposed changes in this PR.
Thank you to all contributors.
Some notable changes
-
You can now use an environment variable to specify the local lambda invocation endpoint (by @jsonfry in #321)
-
You can now package project's resources in the generated ZIP file (by @camdenfullmer in #333)
-
You can now have tasks that will run after a response is returned, but before the runtime fetches the next event (aka detached tasks) (by @Buratti in #334) - This API will change for v2
Detailed list of changes
- fixed typo in readme by @MarwaneKoutar in #319
- Add tracing of request events + mention LOG_LEVEL in README by @sebsto in #315
- Local lambda invocation endpoint env var by @jsonfry in #321
- [plugin] Use LAMBDA_USE_LOCAL_DEPS env var in local builds with docker by @sebsto in #325
- add LOCAL_LAMBDA_SERVER_INVOCATION_ENDPOINT to the readme by @sebsto in #326
- Fix compile error on Windows by @finestructure in #328
- Allow to compile with the Linux Static SDK (aka musl) by @sebsto in #331
- Add support for resources when packaging using the SwiftPM plugin by @camdenfullmer in #333
- Update soundness.sh to support 2024 and 2025 by @sebsto in #335
- Examples list documents by @fitomad in #336
- Add Vapor's Penny by @0xTim in #338
- Update projects.md by @finestructure in #337
- [Draft] Detached tasks by @Buratti in #334
- apply swiftformat by @sebsto in #342
- Add Breeze to projects.md by @Andrea-Scuderi in #343
New Contributors
- @MarwaneKoutar made their first contribution in #319
- @jsonfry made their first contribution in #321
- @finestructure made their first contribution in #328
- @0xTim made their first contribution in #338
- @Buratti made their first contribution in #334
Full Changelog: 1.0.0-alpha.2...1.0.0-alpha.3
1.0.0-alpha.2
What's Changed
- Add note about naming the file main.swift to README by @camdenfullmer in #283
- README.MD SimpleLambdaHandler example with events. by @fitomad in #286
- Archive plugin documentation by @fitomad in #287
- Issue template v2 by @fitomad in #290
- improve examples by @tomerd in #292
- Fix a dead tutorial link by @Joannis in #301
- remove swift-backtrace in swift >= 5.9 by @tomerd in #305
- [doc] Getting Started documentation and tutorial by @sebsto in #300
- Add
--disable-docker-image-update
plugin flag by @florentmorin in #311 - Don't log work fetching failure at error. by @tachyonics in #313
- remove redundant pre-concurrency flag by @tomerd in #314
- Include the docc tutorial into 1.0.0 by @sebsto in #316
- allow custom initialization of the HandlerType of the LambdaRuntime by @tomerd in #310
New Contributors
- @camdenfullmer made their first contribution in #283
- @fitomad made their first contribution in #286
- @Joannis made their first contribution in #301
- @sebsto made their first contribution in #307
- @florentmorin made their first contribution in #311
- @tachyonics made their first contribution in #313
Full Changelog: 1.0.0-alpha.1...1.0.0-alpha.2
1.0.0-alpha.1
First alpha for 1.0 release
What's Changed
- Change Lambda.Context from class to struct by @jareyesda in #217
- Clean up dependency graph and imports by @Lukasa in #218
- Renamed completeWithAsync to completeWithTask by @saltzmanjoelh in #221
- split events into spearate package by @tomerd in #216
- Use explicit NIO imports by @fabianfett in #220
- InitializationContext should be a value not reference type by @fabianfett in #219
- Update examples for Swift 5.5 by @fabianfett in #223
- Drop sync and closure APIs by @fabianfett in #222
- Reorder Event and Context. by @fabianfett in #224
- [RFC] Drop event label from handle methods in LambdaHandlers by @fabianfett in #225
- Remove dependency on _NIOConcurrency by @fabianfett in #229
- update and add examples to new APIs by @tomerd in #228
- Rename
Lambda.Lifecycle
toLambdaRuntime
by @fabianfett in #232 - Rename Lambda.Context to LambdaContext by @fabianfett in #233
- Modernize app example by @stevapple in #231
- Adopt concurrency adoption guidelines by @stevapple in #230
- Add ControlPlaneRequest, ControlPlaneResponse by @fabianfett in #238
- Add LambdaRequestID by @fabianfett in #243
- Add ControlPlaneRequestEncoder by @fabianfett in #239
- Lambda factory as a protocol requirement. by @fabianfett in #244
- Add default value for traceID header by @StefanNienhuis in #246
- terminator handler by @tomerd in #251
- adoption of sendable by @tomerd in #252
- remove extension for JSONEncoder and JSONDecoder by @tomerd in #257
- prefix data structures with Lambda instead of namespacing them by @tomerd in #256
- Add script to check for API breaks by @fabianfett in #258
- Some documentation fixes by @fabianfett in #260
- Add special Deployment instructions for the Mac M1 by @gestrich in #263
- packaging plugin by @tomerd in #254
- Fix performance test script by @stevapple in #264
- DocC setup by @yim-lee in #270
- API Refactoring by @tomerd in #273
- fix concurrency api usage by @tomerd in #282
New Contributors
- @jareyesda made their first contribution in #217
- @Lukasa made their first contribution in #218
- @saltzmanjoelh made their first contribution in #221
- @stevapple made their first contribution in #231
- @StefanNienhuis made their first contribution in #246
- @gestrich made their first contribution in #263
- @sja26 made their first contribution in #269
- @yim-lee made their first contribution in #270
Full Changelog: 0.5.0...1.0.0-alpha.1
0.5.2
0.5.1
- Clean up dependency graph and imports (#218)
- Renamed completeWithAsync to completeWithTask (#221) - Thanks @saltzmanjoelh
0.5.0
- Fixes platform requirements (#214)
- SNS MessageAttributes are optional (#208) - Thanks @DwayneCoussement
- Inline and specialize LambdaHandlers (#201)
- Small Performance Improvements (#199)
- Updated S3.Event (#195) - Thanks @mufumade
- Async/await support (#186)
- Multiple updates to CI setup, code formatting, etc (#189, #190, #191, #196, #197, #198, #202, #207, #211)
- Adopt SSWG security guidelines (#209)
0.4.0
- Fixed typo in LambdaRunner.swift documentation (#171) - Thanks @filletofish
- Removed symbolicate-linux-fatal from Docker (#173)
- Properties of HTTPResponses are now
var
inAPIGateway.Response
,APIGateway.V2.Response
,ALB.TargetGroupResponse
(#176) - Fixed the visibility of the JWT in
APIGateway.V2.Request
(#178) - Thanks @JBosecker - Fixed typo in SQS example (#181) - Thanks @mattmassicotte
- Fixed the queryStringParameters variable for
ALB.TargetGroupResponse
(#182) - Thanks @proggeramlug - Fixed typo in README.md (#183) - Thanks @mr-j-tree
- Use welcoming language everywhere (#184)
- Added support for AppSync events (#187) - Thanks @DwayneCoussement
- Added CI support for Swift 5.4 (#189)
0.3.0
0.2.0
- Add an option to start the local debugging server based on an env variable #87
- Add a User-Agent when using the Lambda Runtime API #98 by @bmoffatt
- Handle lambda error correctly in mock server #104
- Add example scripts and docs for Serverless Framework #113 by @Andrea-Scuderi
- Rename
payload
toevent
#115 - Added header when reporting failing invocations or initializations #128 by @Ro-M
- Added shutdown to the
ByteBufferLambdaHandler
#122 - Add initialization context #126
- Added SES Event type #130 by @adam-fowler
- add syncShutdown to LambdaHandler #132
- Improved readme docs and examples