npm serverless 0.0.13
(Minor breaking changes) Dash, Multi-Endpoints, Plugins & More

latest releases: 3.38.0-d09dc659, 3.38.0-21757898, 3.38.0-9117ee93...
8 years ago

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. The endpoints property used to be an object with the endpoint's path as the key. Now, the endpoints property is an array of endpoint objects, and a path property has been added to each object. Please make this change to all of your s-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 the resources-cf.json. We recommend changing the Parameters in your resources-cf.json and deployed Serverless Project Resources to remove the aa 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

Don't miss a new serverless release

NewReleases is sending notifications on new releases.