7891 Commits

Author SHA1 Message Date
Mariusz Nowak
da476ad7ac fix(CLI): Ensure to support disableDeprecations setting 2021-05-04 22:12:00 +02:00
Mariusz Nowak
b7a113d48d fix(Telemetry): Ensure proper options for generate payload fallback 2021-05-04 22:12:00 +02:00
Mariusz Nowak
ae9442e53b fix(Telemetry): Do not share telemetry cache folder with old versions
Fixes the issue for global to local fallback case, where older global which send cache on every command was sending same telemetry as local
2021-05-04 22:12:00 +02:00
Piotr Grzesik
2c2c77f905 fix(Telemetry): Do not report when commandSchema not resolved 2021-05-04 17:50:41 +02:00
Piotr Grzesik
7338358126 fix: Fix schema for Fn::Split for vpc config 2021-05-04 15:52:36 +02:00
Piotr Grzesik
2c7f024a57 fix(AWS Deploy): Dont update vpc during deploy function if uses CF 2021-05-04 15:52:36 +02:00
Piotr Grzesik
bdbf154c97 fix(Telemetry): Split stack lines properly on all OS-es 2021-05-03 12:12:24 +02:00
Piotr Grzesik
3ab06282fd fix(Telemetry): Handle error locations not enclosed in parens 2021-05-03 12:12:24 +02:00
Piotr Grzesik
3ccf6a3af3
fix(Telemetry): Properly resolve location when for only relative paths (#9418) 2021-05-03 11:35:17 +02:00
Filip Golonka
80511a4b17
fix(AWS HTTP API): Ensure to apply tags to stage (#9407) 2021-05-03 09:50:46 +02:00
Mariusz Nowak
132c830b0a fix(CLI): Ensure no general help is listed under interactive setup help 2021-04-30 13:35:15 +02:00
Piotr Grzesik
d647125ff5 feat(Telemetry): Add commandDurationMs to payload 2021-04-30 11:57:03 +02:00
Piotr Grzesik
5861d08768 feat(Telemetry): Report failures via telemetry 2021-04-30 11:54:29 +02:00
Piotr Grzesik
8860397798 refactor(Telemetry): Add resolveErrorLocation util 2021-04-30 11:54:29 +02:00
Piotr Grzesik
f1a9a7b760 refactor(Telemetry): Add anonymizeStacktracePaths util 2021-04-30 11:54:29 +02:00
Stephen
360925d2e0
fix(AWS S3): Fix parsing of the artifact S3 url (#9380) 2021-04-30 09:33:32 +02:00
Mariusz Nowak
85b9e5319d fix(Telemetry): Ensure that container commands do not trigger telemetry 2021-04-29 17:38:38 +02:00
Piotr Grzesik
f5b2b9be39 feat(Telemetry): Add commandOptionNames to payload 2021-04-28 16:30:47 +02:00
Piotr Grzesik
fd97e877ce refactor: Ensure that options are copied in Serverless constructor 2021-04-28 16:30:47 +02:00
Piotr Grzesik
a05e88d92e fix(AWS API Gateway): Ensure unique name for request validator 2021-04-28 12:08:37 +02:00
Piotr Grzesik
07a5483bb6 refactor(CLI): Pass serverless instance to handle-error 2021-04-28 09:42:47 +02:00
YErii
543423d869
feat(Templates): Update dependencies for cloudflare template (#9373) 2021-04-27 17:47:59 +02:00
Piotr Grzesik
ba5f207d0a refactor(Telemetry): Make serverless optional in generatePayload 2021-04-27 17:46:19 +02:00
Piotr Grzesik
11e7311032 refactor: Introduce is-using-local-installation util 2021-04-27 17:46:19 +02:00
Piotr Grzesik
e1b9ba46bd refactor(Telemetry): Do not generate payload if telemetry disabled 2021-04-27 14:01:26 +02:00
Piotr Grzesik
fac47cfa23 refactor(Telemetry): Only process in PluginManager if flag missing 2021-04-27 14:01:26 +02:00
Piotr Grzesik
78a4a96d74 refactor(Telemetry): Add isTelemetryReportedExternally flag 2021-04-27 14:01:26 +02:00
Mariusz Nowak
2ff58b16bf feat(Variables): Expose variable resolver function to variable sources 2021-04-27 13:48:57 +02:00
Mariusz Nowak
102d0bafe6 refactor(Variables): Fix inline comment typo 2021-04-27 13:48:57 +02:00
Android3000
c8adc0c796
feat(AWS IAM): Support provider.iam.role.path (#9363) 2021-04-27 12:24:04 +02:00
Piotr Grzesik
8c37e0ac6d refactor: Adjust invalid code for ServerlessError 2021-04-23 13:34:20 +02:00
Piotr Grzesik
81f0858cc9 refactor: Add code to ServerlessError in lib/plugins 2021-04-23 13:34:20 +02:00
Piotr Grzesik
fbf0ed30e9 refactor: Add code to ServerlessError in lib/plugins/aws 2021-04-23 13:34:20 +02:00
Piotr Grzesik
822a7cf9f5 refactor: Add code to ServerlessError in lib/utils 2021-04-23 13:34:20 +02:00
Piotr Grzesik
8748a783ae refactor: Add code to ServerlessError in lib/aws 2021-04-23 13:34:20 +02:00
Piotr Grzesik
82040b427e refactor: Add code to ServerlessError in lib/classes 2021-04-23 13:34:20 +02:00
Piotr Grzesik
395bdc8b23 refactor: Add code to ServerlessError in lib/configuration 2021-04-23 13:34:20 +02:00
Piotr Grzesik
28c5af47f4 refactor: Add code to ServerlessError in ./Serverless.js 2021-04-23 13:34:20 +02:00
Mariusz Nowak
53a7872f78 fix(Variables): Fix unresolved sources resolver 2021-04-23 10:22:48 +02:00
Jacques
154351f1a5
fix(AWS API Gateway): Create one request validator and reuse (#9319) 2021-04-22 11:59:17 +02:00
Joseph Cha
7e139bb013
feat(AWS CloudFormation): Add default export names to outputs (#9313) 2021-04-22 11:45:57 +02:00
Mariusz Nowak
6c896a5ffd fix(API): Bring back legacy service.serviceFilename for plugins 2021-04-22 09:14:26 +02:00
Mariusz Nowak
2967065bc7 fix(API): Ensure config.servicePath is config.serviceDir live alias 2021-04-21 17:14:27 +02:00
Piotr Grzesik
ba7fd2e1b4 feat(Telemetry): Allow to disable telemetry via SLS_TELEMETRY_DISABLED 2021-04-21 14:30:51 +02:00
Mariusz Nowak
40fddcc0ee fix(CLI): Ensure to recognize interactive CLI command properly 2021-04-20 15:41:26 +02:00
Piotr Grzesik
f4302249a9 fix(Telemetry): Do not send request when there are no events 2021-04-20 15:39:48 +02:00
Matthieu Napoli
ef91ae1972
feat(Variables): sls:stage variable (#9296)
A shortcut to

```
${opt:stage, self:provider.stage, "dev"}
```
2021-04-20 15:37:57 +02:00
Mariusz Nowak
ff589baef4 fix(API): Ensure serverless.config.servicePath
Accidentally removed with #9307
2021-04-20 14:54:49 +02:00
Mariusz Nowak
c63244ce96 fix(Variables): Clear escape slashes
New variables engine supports escape syntax (so e.g. "\${foo:}" was not recognized as variable notation.
Still there was no logic that would clear "\" characters. This patch fixes that
2021-04-20 10:28:06 +02:00
Mariusz Nowak
014ff949b7 fix(CLI): Recognize --aws-profile option by schema 2021-04-19 16:46:53 +02:00