120 Commits

Author SHA1 Message Date
Piotr Grzesik
e65199c052 refactor(Telemetry): Ensure generation and related utils are sync 2021-07-06 11:24:21 +02:00
Mariusz Nowak
9b624a5067 feat(CLI): New warn:summary (default) deprecations logging mode
To avoid confusion, in case of local fallback always resort to `warn`
2021-07-05 22:15:50 +02:00
Piotr Grzesik
cc24bc2ae2 refactor(Telemetry): Report commandUsage as object 2021-07-05 14:13:32 +02:00
Piotr Grzesik
33794ea504 feat(Variables): Support aws:region and aws:accountId variables 2021-06-30 13:02:59 +02:00
Piotr Grzesik
0eba2dcdfe feat(CLI Onboarding): Add telemetry for interactive flow 2021-06-28 15:19:55 +02:00
Mariusz Nowak
c22a8b99f2 feat: Introduce an opt-in "error" deprecation notification mode 2021-06-21 17:31:50 +02:00
Mariusz Nowak
cc09c62301 fix(Variables): Meaningfully report misuse of dashboard sources 2021-06-11 10:14:15 +02:00
Mariusz Nowak
aa45876044 fix(Variables): Recognize tenant setting as it's recognized by plugin 2021-06-11 10:14:15 +02:00
Mariusz Nowak
727d7f4f08 fix(Variables): Improve properties resolution validation
So it ensures they're ready for internal handling
2021-06-11 10:14:15 +02:00
Mariusz Nowak
98701f3679 fix(Variables): Ensure to report only unrecognized sources 2021-06-09 11:26:49 +02:00
Mariusz Nowak
93b89fcb51 fix(Variables): Skip unrecognized sources check with partial resolution 2021-06-09 11:26:49 +02:00
Mariusz Nowak
6efc161e5f refactor(Variables): Seclude resolution of sources from external plugins 2021-06-02 15:17:06 +02:00
Mariusz Nowak
6adaa9f56e refactor: Ensure codes for user errors 2021-05-20 13:38:43 +02:00
Mariusz Nowak
7864f4d28d refactor(CLI Onboarding): Seclude from internal Framework logic 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
4d077d1653 fix(Telemetry): Let old versions report telemetry old way 2021-05-11 08:57:29 +02:00
Mariusz Nowak
27e21e8fca fix(CLI): Ensure to report only unrecognized sources as unrecognized 2021-05-10 13:39:21 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Mariusz Nowak
962433864f fix(CLI): Do not validate command when falling back to old version
Old versions may not provide information on external plugins, and in such case we do not have a full picture supported commands and options.
We should avoid any validation in such case
2021-05-06 12:13:22 +02:00
Piotr Grzesik
5861d08768 feat(Telemetry): Report failures via telemetry 2021-04-30 11:54:29 +02:00
Piotr Grzesik
d81730c219 feat(Telemetry): Do not report telemetry for help commands 2021-04-28 16:01:33 +02:00
Piotr Grzesik
07a5483bb6 refactor(CLI): Pass serverless instance to handle-error 2021-04-28 09:42:47 +02:00
Piotr Grzesik
e1b9ba46bd refactor(Telemetry): Do not generate payload if telemetry disabled 2021-04-27 14:01:26 +02:00
Piotr Grzesik
98e6e1eaf7 refactor(Telemetry): Ensure local serverless will not run telemetry 2021-04-27 14:01:26 +02:00
Piotr Grzesik
4cab803ccd refactor(Telemetry): Move telemetry handling to scripts/serverless.js 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
6425e4ae49 refactor(CLI): Improve inner flow documentation 2021-04-23 10:22:48 +02:00
Piotr Grzesik
cbc4627dfe feat(Telemetry): Remove send invocation from serverless script 2021-04-19 16:18:24 +02:00
Piotr Grzesik
70175857c9 refactor(Telemetry): Rename sendPending to send 2021-04-19 16:18:24 +02:00
Mariusz Nowak
712a569d52 feat(Variables): serviceDir option as replacement for servicePath
Support for `servicePath` is maintained until next major
2021-04-16 13:32:13 +02:00
Mariusz Nowak
c02cd06d90 feat: Refactor constructor to accept new service configuration options
`serviceDir` and `configurationFilename` options are favored over of `configurationPath`
2021-04-16 13:32:13 +02:00
Piotr Grzesik
d66711108b refactor(Telemetry): Rename analytics to telemetry 2021-04-16 10:45:56 +02:00
Mariusz Nowak
8ac2706199 fix(Plugins): Prevent variables resolution with "plugin .." command 2021-04-14 09:56:42 +02:00
Mariusz Nowak
05635c5e2d fix(CLI): Ensure to respect disabledDeprecations config options 2021-04-14 09:56:42 +02:00
Mariusz Nowak
dae9058501 fix(CLI): Ensure help output with missing provider.name 2021-04-06 12:47:08 +02:00
Mariusz Nowak
959da67a5e feat(Plugins): Announce "type" requirement in CLI option definitions 2021-04-02 13:04:48 +02:00
Mariusz Nowak
b5668d5be0 fix(Variables): Ensure resolution of unrecognized CLI options 2021-03-31 14:00:17 +02:00
Mariusz Nowak
fa728e1478 fix(CLI): Fix deprecation warning message 2021-03-31 14:00:17 +02:00
Mariusz Nowak
7601e26360 refactor(Variables): Do not run old resolver when not needed 2021-03-31 12:25:49 +02:00
Mariusz Nowak
f112e4b91c feat(Variables): Report errors on unresolved variables 2021-03-30 10:22:40 +02:00
Mariusz Nowak
385c15bc83 refactor(Variables): Configure dashboard sources in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
6292197ee1 refactor(Dashboard): Provide direct internal access to dashboard plugin 2021-03-30 10:22:40 +02:00
Mariusz Nowak
af0242d716 refactor(CLI): Ensure resolved provider.region if dashboard 2021-03-30 10:22:40 +02:00
Mariusz Nowak
ee76876725 feat(Variables): Support source extensions from plugins for new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
3f7f67ccc1 refactor(Variables): Configure ssm source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
12a4cad102 refactor(Variables): Configure s3 source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
a60e90f61c refactor(Variables): Configure cf source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
00652005d4 refactor(CLI): Improve command resolution handling 2021-03-30 10:22:40 +02:00
Mariusz Nowak
32013dc9bb refactor(CLI): Refactor flow into IIFE 2021-03-30 10:22:40 +02:00
Mariusz Nowak
eecd9285d5 refactor(Variables): Configure sls source in a new resolver 2021-03-30 10:22:40 +02:00