-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: Migrate DynamoDbPersistenceAdapter to AWS SDK v3 and save 60Mb #696
Comments
agree this is a pain point. Will try to bump it up on the priority list. |
We definitely want to get to this. @talkingnews just so I understand, are you using any type of bundling/tree-shaking like webpack or esbuild for your skill? This might be especially helpful if you are running in AWS Lambda since the SDKs are provided by the container - bundle the skill and mark I understand this might not always be the right solution, so we should still create a new version of the adapter which doesn't depend on the whole AWS SDK. |
@doiron this was started by @sam-goodwin and there's a linked PR. We just need to finish it up. Will discuss during sprint planning. |
Is this issue/feature-request still relevant? |
@rahulawl Yes, still relevant. See my comments in #697. |
@rahulawl Yes, still relevant. |
This is particularly relevant now with AWS v2 API being withdrawn in September 2025. Everyone who's written an Alexa skill using ASK needs ASK to support the v3 API well in advance of that deadline. |
Currently, DynamoDbPersistenceAdapter has a peer dependency of aws-sdk, which install 65Mb of stuff we don't need.
Whereas the current slimline v3 version of @aws-sdk/client-dynamodb is 4.97 Mb including dependencies.
https://www.npmjs.com/package/@aws-sdk/client-dynamodb
Is anyone working on a re-write, as this library is currently the difference between my skill package being 7Mb or 70Mb!
The text was updated successfully, but these errors were encountered: