133 Commits

Author SHA1 Message Date
Mariusz Nowak
29aec529b5 feat(CLI): Ensure to clear progress in expected time points 2021-09-08 15:18:33 +02:00
Mariusz Nowak
ec93174b8c feat(CLI): Configure log writing with new (experimental) log engine 2021-09-07 11:38:25 +02:00
Mariusz Nowak
bbb6c6cd7d feat(CLI): Enable env variables in provider.stage property 2021-08-31 10:02:47 +02:00
Mariusz Nowak
56e9423cd7 refactor(Variables): Enable early sls:stage resolution 2021-08-27 14:54:15 +02:00
Piotr Grzesik
53b41eb53a refactor(CLI): Deprecate -v as alias for --verbose 2021-08-10 20:11:09 +02:00
Piotr Grzesik
60d729b5d4 feat(Telemetry): Detect used variable sources 2021-07-28 13:18:31 +02:00
Mariusz Nowak
fd5005e404 fix(Telemetry): Ensure no doubled telemetry in edge cases 2021-07-07 19:18:32 +02:00
Mariusz Nowak
7354c2000f refactor(Telemetry): Report all interruption signals 2021-07-07 18:32:44 +02:00
Mariusz Nowak
dff2799941 refactor(CLI): Improve module imports order 2021-07-07 18:32:44 +02:00
Mariusz Nowak
c5a3f6907a fix(CLI): Fix SIGINT signal handling 2021-07-07 18:32:44 +02:00
Piotr Grzesik
0c5b8dd831 fix(Telemetry): Correctly report outcome for interactive setup 2021-07-06 16:36:33 +02:00
Piotr Grzesik
502f7e711f feat(Telemetry): Handle interruptions and persist telemetry data 2021-07-06 16:36:33 +02:00
Mariusz Nowak
5b54ed2e26 refactor: Drop old variables engine related deprecation
Old variables engine will be removed with next major, so there's no point to communicate breaking changes that were supposed to introduced if it was to stay
2021-07-06 12:03:51 +02:00
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