7920 Commits

Author SHA1 Message Date
Piotr Grzesik
98c9700bcd feat(CLI Onboarding): Support template-path param 2021-05-14 14:17:19 +02:00
Piotr Grzesik
03011baf07 refactor: Add create-from-local-template util 2021-05-14 14:17:19 +02:00
Piotr Grzesik
9eea885b39 refactor(CLI Onboarding): Add history and stepHistory to context 2021-05-14 13:46:29 +02:00
Mariusz Nowak
f6b7cfaaaf fix(Variables): Fix reporting of variable resolution errors 2021-05-14 13:42:54 +02:00
Mariusz Nowak
eeddf9f518 fix(Telemetry): If global & local report outcome, report with global 2021-05-13 13:06:33 +02:00
Mariusz Nowak
65a1f3875c fix(CLI): Ensure resolved CLI params are correct in local fallback 2021-05-13 13:06:33 +02:00
Mariusz Nowak
7047c34929 fix(CLI): Fallback to local version only if we're not in its context 2021-05-13 13:06:33 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 2021-05-12 12:41:30 +02:00
Mariusz Nowak
1060d1468b refactor(CLI Onboarding): Refactor to async/await 2021-05-12 12:41:30 +02:00
Mariusz Nowak
7864f4d28d refactor(CLI Onboarding): Seclude from internal Framework logic 2021-05-12 12:41:30 +02:00
Mariusz Nowak
c13586ee23 refactor(CLI Onboarding): Simplify tabcompletion support check 2021-05-12 12:41:30 +02:00
Mariusz Nowak
4f6a50a2e1 refactor(Telemetry): Make generatePayload serverless independent 2021-05-12 12:41:30 +02:00
Mariusz Nowak
b915cc4671 refactor: Refactor isNpmPackageWritable to not depend on serverless 2021-05-12 12:41:30 +02:00
Mariusz Nowak
05588f77c0 refactor(CLI): Rely internally on @serverless/utils/log 2021-05-12 12:41:30 +02:00
Corentin Doue
9cc05ad2f6
feat(Templates): Add google-nodejs-typescript template (#9445) 2021-05-12 11:02:44 +02:00
Piotr Grzesik
bbfe742b24 fix(CLI): Correctly resolve version during local fallback 2021-05-11 13:40:55 +02:00
Piotr Grzesik
56f85874c6 fix(AWS API Gateway): Support Fn::Split for vpcEndpointIds schema 2021-05-11 09:47:18 +02:00
Mariusz Nowak
096ed9652b fix(Telemetry): For local fallback ensure to report locally used version 2021-05-11 08:57:29 +02:00
Mariusz Nowak
2672047c2f refactor: Resolve path to package in resolveLocalServerlessPath 2021-05-11 08:57:29 +02:00
Mariusz Nowak
fa8c076c56 fix(CLI): Fix local installation fallback
Older versions expose just `serverless.isInvokedByGlobalInstallation` property, not `serverless._isInvokedByGlobalInstallation`
2021-05-11 08:57:29 +02:00
Mariusz Nowak
4d077d1653 fix(Telemetry): Let old versions report telemetry old way 2021-05-11 08:57:29 +02:00
Piotr Grzesik
7361e04960 fix(Telemetry): Ensure telemetry only matches js stacktrace paths 2021-05-10 15:52:53 +02:00
Piotr Grzesik
277f4e8e9c fix(AWS Lambda): Ensure that docker image is build and pushed only once 2021-05-10 13:38:48 +02:00
Piotr Grzesik
59fd478550 refactor: Use object-param for resolveImageUriAndShaFromPath 2021-05-10 13:38:48 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Jaakko Lappalainen
9e558eefd6
feat(AWS Lambda): Deprecate nodejs12.x as default runtime (#9416) 2021-05-10 09:40:57 +02:00
Zach Whaley
40e56fc0e9
fix(Packaging): Fix support of the artifact S3 uri with region (#9411) 2021-05-09 21:21:19 +02:00
lyndoh
ec909452b5
feat(AWS API Gateway): Support disabling default endpoint (#9404) 2021-05-06 18:01:46 +02:00
Nicholas Wehr
078ec59058
feat(AWS Lambda): Add ecr.scanOnPush configuration option (#9379) 2021-05-06 11:09:16 +02:00
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