dawson-cli v0.23.3 Release Notes
Release Date: 2017-03-03 // about 7 years ago-
๐ Changelog v0.16.1 -> 0.23.3
๐ฑ โ ๏ธ๏ธ Breaking changes
- ๐ฆ feat:
.babelrc
support has been removed;babel-preset-env
is used by default and can be extended / overridden using thebabel
property inpackage.json
(bdd219a) - โ chore: tests are now run only against latest Node.js version (3557d99)
- ๐ feat:
customTemplateFragments
are now merged deeply in the template (usinglodash/merge
instead ofObject.assign
) (#125, 7db1cd5) - ๐จ refactor(config): the
cloudfrontRootOrigin
property has been renamed toroot
- feat: header keys, available from
event.params.header
, are now lowercased (55e3d60) - ๐ feat(deploy): contents of the
assets/
folder are now automatically uploaded to the S3 Assets Bucket (fed787b) - useassetsDir: false
to use the old behaviour
๐ New features & improvements
- ๐ง feat: added a devInstrument property (docs) to run functions locally in response to AWS events (#129, 6ac19b8, aeec6c5, e9aebc4, 29e551b)
- ๐ฒ feat(dev-server): improved logging (0a61980)
- feat(dev-server): credentials are automatically renewed so that a server restart is no longer needed (3f60f31)
- feat(dev-server): dev server now correctly filters request headersm respecting CloudFront's behaviour
- ๐ feat(deploy): DAWSON_STAGE variable is now available from
process.env
in Lambdas - ๐ feat(deploy): non alphanum HTTP paths can now be specified (fe39fd2)
- ๐ feat(deploy): Accept-Language and Token headers are now forwarded by Cloudfront (55e3d60, f1622db)
- ๐ feat(deploy): Lambda wrapping code produced by dawson is now prettified using prettier (001927b)
- feat(deploy): CloudFormation stack will now request CAPABILITY_NAMED_IAM, to supportadding custom Named IAM Roles in your templates (dawson itself won't use named resources) (63afb35)
- โก๏ธ feat(cli): a
--skip-cloudformation
option has been added, which skips the Stack Update operation - ๐ refactor(deploy,dev-server): yarn has been dropped, dependencies are now installed using npm (0d0b132)
- ๐ fix(deploy): BucketAssets and DistributionWWW Outputs are now available from Lambda's Environment (#111, a1af47a)
- ๐ fix: exit gracefully with an useful message if
zip
ordocker
binary does not exist (e03234f) - ๐ fix: improves error message when a module required by your app is not installed (1f1d189)
- ๐ improves logging
- โฌ๏ธ upgrades some dependencies
- ๐ฆ feat: