Note: This release features a few breaking changes. We are stabilizing quickly and we're sorry for these. We believe these will be some of the last. Here is what you must change:
Breaking Changes & How To Fix Them
- s-function.json: The
s-function.json
format had to be amended slightly to improve handling multiple endpoints per function. Theendpoints
property used to be an object with the endpoint's path as the key. Now, theendpoints
property is an array of endpoint objects, and apath
property has been added to each object. Please make this change to all of yours-function.json
files. - resources-cf.json: Since AWS CloudFormation recently added support for grouping and customizing parameter ordering and labeling, we decided to strip the
aa
prefix on the Parameters in theresources-cf.json
. We recommend changing the Parameters in yourresources-cf.json
and deployed Serverless Project Resources to remove theaa
prefixes. From this point on, use the grouping, customizing parameter ordering and labeling to stay organized. See #369 for more information. - Serverless Plugins: We believe the Plugin system is now very stable after this last minor change. The first parameter to pass into your Plugin is not a path, but the ServerlessPlugin class. Now, you don't have to load it yourself. The second parameter is the path. See #368 for more information. The Serverless Plugin Boilerplate has also been updated to work with this change.
New Features
- Dash is back! The deploy dashboard is back. Run
serverless dash deploy
to deploy both functions and endpoints in one screen. Since command line interfaces are buggy, make sure your terminal window is as tall as possible if you have a lot of functions and endpoints. - Many fixes: Multiple endpoints work better, thanks to the breaking change above. We've also fixed the
requestParameters
issue reported in #366 : We've started making lots of changes to help with Windows use, but we still have some more to make. However, we did fix #365. Please let us know of other compatibility issues :)
Enjoy,
Serverless Team