@lusentis lusentis released this Jun 25, 2017 · 6 commits to master since this release

Assets 2

⚠️⚠️⚠️️ starting with this release (v0.28.0) you must install dawson using the new npm scoped package name: @dawson/dawson-cli ⚠️⚠️⚠️

npm

New features & improvements

  • feat: support for the ANY method has been added (#156, 0a2ddfe)
  • feat: support for greedy paths has been added (#156, 7cc0489 & b25a351 & d0644a3)
  • fix: an improved error message is shown when no package.json is found or when it contains Syntax Errors (#158, 828381c)
  • fix: allow deploying when no assets dir is present and dawson.assetsDir is not defined (56156ca)
  • fix: api.excludeEnv has been implemented in the development server too, and is now documented (3f07576, f42e56f)

✌️ The documentation and the examples have been updated to match the new features.

@lusentis lusentis released this Jun 24, 2017 · 28 commits to master since this release

Assets 2

Improvements

  • fix(cli): update warning message in describe command (fb3f4ed)
  • we have updated to a new major version of execa, which now extends environment by default (sindresorhus/execa@e370117), this will impact some phases of the deploy command (zip, install dependencies etc.)
  • we have updated to a new major version of yargs, which has updated parameters precedence for env / config / context (see https://github.com/yargs/yargs/releases/tag/v7.0.0)
  • chore(deps): many dependencies and devDependencies have been updated
May 3, 2017

@lusentis lusentis released this Mar 31, 2017 · 55 commits to master since this release

Assets 2

Bug fixes

  • babel configuration in package.json is now correctly respected (#163, thanks to @rakistner)

@lusentis lusentis released this Mar 30, 2017 · 67 commits to master since this release

Assets 2

New features & improvements

@lusentis lusentis released this Mar 3, 2017 · 127 commits to master since this release

Assets 2

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 the babel property in package.json (bdd219a)
  • chore: tests are now run only against latest Node.js version (3557d99)
  • feat: customTemplateFragments are now merged deeply in the template (using lodash/merge instead of Object.assign) (#125, 7db1cd5)
  • refactor(config): the cloudfrontRootOrigin property has been renamed to root
  • 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) - use assetsDir: 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 or docker 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