11059 Commits

Author SHA1 Message Date
Daniel Schep
02fa190d0b Add plugin hooks to define config variable getters 2019-08-20 11:23:42 -04:00
Mariusz Nowak
5dd35b7ba2
Merge pull request #6556 from nathanchapman/fix-bluebird-warning
Fix: Remove Bluebird promise warning when NODE_ENV=development
2019-08-17 11:37:26 +02:00
Nathan Chapman
d266b1b399 Return null from logStat promise to remove Bluebird warnings 2019-08-16 16:08:00 -05:00
Daniel Schep
8445a6966f
add docs for options misused in #6546 (#6547)
add docs for options misused in #6546
2019-08-16 07:22:31 -04:00
Mariusz Nowak
b2091b030e
Merge pull request #6545 from mokamoto12/fix-retained-layer-logical-id
Fix retained layer logical id
2019-08-16 10:47:30 +02:00
Mariusz Nowak
78a703a2eb
Merge pull request #6542 from ktardif/apigw-customize-log-level
AWS API Gateway customize log level
2019-08-16 10:38:07 +02:00
Austen
048177ee87
add swag link 2019-08-15 08:46:55 -07:00
Daniel Schep
635d08e654 add docs for options misused in #6546 2019-08-15 09:24:50 -04:00
mokamoto12
8b499c77b6 prettify the code 2019-08-15 00:03:21 +09:00
mokamoto12
5ba145973b Fix retained layer logical id 2019-08-14 23:27:08 +09:00
Kevin Tardif
cf390d5f88 Updated valid apigw log levels to use a set, using ServerlessError instead of Error 2019-08-14 10:21:28 -04:00
mokamoto12
fc0c17fc69 Merge remote-tracking branch 'upstream/master' 2019-08-14 23:17:11 +09:00
Kevin Tardif
bea1caec26 Updated formatting 2019-08-14 08:47:48 -04:00
Kevin Tardif
5332dfdf39 Updated AWS serverless.yml reference to include logs.level and format documentation 2019-08-14 08:30:45 -04:00
Mariusz Nowak
210d50ce29
Merge pull request #6540 from serverless/release
Release v1.50.0
v1.50.0
2019-08-14 13:26:25 +02:00
Mariusz Nowak
b4813f12c7
Release v1.50.0 2019-08-14 11:27:44 +02:00
Mariusz Nowak
6effab2f99
Bump dependencies 2019-08-14 11:07:08 +02:00
Mariusz Nowak
312b4f5bf1
Merge pull request #6537 from mthenw/fix-depeloy-individually
Fix deploy command if package.individually set on a function-level
2019-08-14 11:02:33 +02:00
Maciej Winnicki
896631defd
Refactor test 2019-08-14 10:50:09 +02:00
Mariusz Nowak
6a84748fe3
Merge pull request #6531 from serverless/apigw-logs-setup-fix
Setup APIGW CloudWatch role via custom resource
2019-08-14 10:05:45 +02:00
Mariusz Nowak
f0a8b8cfa3
Mock npm install in tests 2019-08-14 09:37:40 +02:00
Mariusz Nowak
60f36e4bbe
Clear invalid options 2019-08-14 09:36:35 +02:00
Maciej Winnicki
f2f3c00ed0
Maintain original behavior and add a test 2019-08-14 08:55:29 +02:00
Mariusz Nowak
4f43bfdf5d
Merge pull request #6534 from onebytegone/fix-remove-extra-lambda-policy-6262
Only add merged IAM policies for Lambda when they will be used (#6262)
2019-08-13 23:40:15 +02:00
Mariusz Nowak
ea121e7344
Ensure to bail after first fail in CI 2019-08-13 23:22:10 +02:00
Kevin Tardif
3e7ea5a191 Added log.level setting to customize AWS API Gateway log level 2019-08-13 15:55:47 -04:00
Maciej Winnicki
f7813408e7
typo 2019-08-13 21:15:51 +02:00
Maciej Winnicki
fe6bab392a
Fix prettier issues 2019-08-13 21:14:29 +02:00
Maciej Winnicki
3ceb0aabaf
Fix deploy command if package.individually set on a function-level 2019-08-13 20:59:18 +02:00
Ethan Smith
56d96c4afe
Only add merged IAM policies for Lambda when they will be used (#6262) 2019-08-13 13:12:37 -04:00
Mariusz Nowak
e042f064dc
Configure tests for new naming functions 2019-08-13 18:16:19 +02:00
Mariusz Nowak
cc6c1948fb
Correct typo 2019-08-13 18:16:00 +02:00
Mariusz Nowak
6f10b03c93
Minimize function name 2019-08-13 18:07:08 +02:00
Mariusz Nowak
c3dcb0646a
Ensure extensive timeout on custom resource lambdas 2019-08-13 17:50:29 +02:00
Mariusz Nowak
13dd52e0dd
Confirm in tests written APIGW logs 2019-08-13 17:30:31 +02:00
Mariusz Nowak
09b18298bd
confirmCloudWatchLogs util 2019-08-13 17:30:31 +02:00
Mariusz Nowak
64ce692951
Setup APIGW CloudWatch role via custom resource 2019-08-13 17:30:28 +02:00
Mariusz Nowak
e4211800a1
Introduce DX friendly function name validation 2019-08-13 17:11:00 +02:00
Mariusz Nowak
16acdeaed6
Introduce wait util 2019-08-13 17:10:59 +02:00
Mariusz Nowak
2089e76836
Allow to use async/await in custom resource lambdas 2019-08-13 17:10:59 +02:00
Mariusz Nowak
8558e6a649
Move stage configuration to directory 2019-08-13 17:10:59 +02:00
Mariusz Nowak
d4c8bc1450
Merge pull request #6535 from serverless/fix-codecov-setup
Do not crash CI on Coveralls error
2019-08-13 17:02:52 +02:00
Mariusz Nowak
8a683a6845
Do not crash on coveralls error 2019-08-13 16:00:16 +02:00
Mariusz Nowak
bf8ef9bdea
Merge pull request #6526 from stephaneseng/fix/GITHUB-6525
fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually
2019-08-13 09:53:07 +02:00
Stephane Seng
5952712085 fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually.
The main motivation behind these changes is to rely on
https://github.com/jprichardson/node-fs-extra/blob/8.1.0/docs/copy-sync.md as
much as possible in order to avoid having to do the
`fullFilePath.replace(srcDir, '')` operation because this operation can be
error-prone.

Doing so fixes the following issues because the user-submitted file paths are
now correctly interpreted by fs-extra, closing both #6525 and #5172.
2019-08-12 23:09:23 +02:00
Philipp Muens
8a82c8a2cf
Merge pull request #6518 from serverless/event-bridge-partner-events
Fix support for EventBridge partner event sources
2019-08-09 18:38:26 +02:00
Philipp Muens
21f4f7fe2f Fix support for EventBridge partner event sources 2019-08-09 14:30:49 +02:00
Philipp Muens
487c21b5b0
Merge pull request #6520 from c0d3d/deploy-over-failed-deploys
Change strategy for deciding to deploy new function.
2019-08-09 13:37:20 +02:00
Mariusz Nowak
4943e601f5
Merge pull request #6517 from serverless/switch-from-jest-to-mocha
Switch integration tests runner from Jest to Mocha
2019-08-09 08:57:57 +02:00
Philipp Muens
42ba297229
Merge pull request #6519 from serverless/retain-cognito-user-pool-config
Retain existing Cognito User Pool config
2019-08-09 08:29:15 +02:00