sst / sst.dev

Repo for sst.dev
https://sst.dev
MIT License
3.68k stars 445 forks source link

Update to Lambda v8.10 #223

Open jayair opened 6 years ago

jayair commented 6 years ago

We just rolled out an update to the serverless portion of the guide to use Lambda Node v8.10. We also updated the Add support for ES6/ES7 JavaScript chapter to use the serverless-nodejs-starter. Here are the change sets for the update:


If you are looking to update your current project; change 6.10 to 8.10 in your serverless.yml and your .babelrc. You can also read about the benefits of Node v8.10 here - https://serverless.com/blog/aws-lambda-node-8-support-what-changes-serverless-developers/

roxy-target commented 6 years ago

Hi, I build an application using this guide. I started doing the tutorial end of last year and once it was done carried on building the app. Only now have I come back to see the updates and changes that the new version of the tutorial suggests. One of the main changes is using serverless-nodejs-starter but I am -a little bit confused. If I never used serverless-nodejs-starter to build my app how can I implement it now once it is already built. Because installing it adds a lot more plugins than the previous tutorial version had. How do I ensure I make the changes with an existing app? Just make the changes to suggested files or install the serverless-nodejs-starter? Thanks :)

jayair commented 6 years ago

@roxy-target The starter is mostly just to help get you started. If you are looking to update your current app to Node v8.10, then the best way would be to look some of the files that have changed and update those. Here are a list of the updates made to the starter and the changes you might want to make - https://github.com/AnomalyInnovations/serverless-nodejs-starter/releases.