Max Marze
5e604f2e1f
feat: update custom resource handlers to node20
2024-02-13 14:56:57 -05:00
Austen
4fa39b8a80
chore: remove unnecessary files and rework variable resolution ( #12340 )
2024-01-31 14:50:04 -08:00
Austen
bd6a242812
chore: Embed dashboard plugin into framework ( #12332 )
...
* chore: initial removal of dashboard plugin as dependency and deprecated logic
* chore: continue refactor
* chore: move dashboard into framework and reduce logic
2024-01-23 00:28:56 -08:00
Austen
101ce53c18
fix: Adjust copy for clarity ( #12162 )
2023-09-16 18:25:44 -04:00
Piotr Grzesik
f439201d7f
refactor: Log environment details of error to stderr
2022-02-28 14:38:32 +01:00
Mariusz Nowak
aed6673d68
refactor: Rename lib/utils/isStandaloneExecutable.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
6b26a7d360
refactor(CLI): Unify finalization of a process handling
2022-01-27 15:21:58 +01:00
Mariusz Nowak
e142254056
refactor(CLI): Seclude uncaught exception handling
2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d
refactor: Remove legacy logs
2022-01-27 15:21:58 +01:00
Mariusz Nowak
d62c3288b2
feat: Unconditionally fallback when local installation found
...
BREAKING CHANGE:
`enableLocalInstallationFallback` configuration property is no longer supported.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
38fe60e042
refactor(CLI): Convert isLocallyInstalled to export result directly
2022-01-27 15:21:58 +01:00
Mariusz Nowak
fdf25aab44
refactor: Move isLocalyInstalled util to CLI context
2022-01-27 15:21:58 +01:00
Mariusz Nowak
c18e1b308b
refactor(CLI): Export resolved local installation path directly
2022-01-27 15:21:58 +01:00
Mariusz Nowak
a4e5e5f3e3
feat: Remove @serverless/components CLI integration
...
BREAKING CHANGE:
Serverless Components (`@serverless/components`) CLI is no longer integrated with Framework CLI.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
0dedd3e879
fix(CLI): Improve error handler resolution
...
Ensure it's bulletproof against serverless installation issues
2021-12-15 12:37:41 +01:00
Mariusz Nowak
452e234306
refactor(CLI): doctor command for modern handling of deprecations
2021-10-20 10:40:54 +02:00
Piotr Grzesik
b4ff87dc81
refactor(CLI): Report credentials source in modern error output
2021-10-19 16:13:53 +02:00
Piotr Grzesik
2217158764
refactor(CLI): Support decoratedMessage on ServerlessError
2021-10-19 13:36:51 +02:00
Piotr Grzesik
be00a2672c
refactor(CLI): Replace process.stdout use with modern logs
2021-10-14 12:26:25 +02:00
Piotr Grzesik
40f574f946
feat(AWS Deploy): Introduce warning about deploy -f alias
2021-10-11 16:40:56 +02:00
Piotr Grzesik
d43298d25b
refactor(CLI): Adapt logWarning to modern logs
2021-10-11 16:40:56 +02:00
Mariusz Nowak
5f1a916d4d
refactor: Remove _async_ handling from _sync_ function
2021-10-05 14:56:17 +02:00
Mariusz Nowak
7d31410b74
fix(CLI): Fix resolution of handler in case of local fallback
2021-10-01 16:29:14 +02:00
Mariusz Nowak
a205f88310
refactor(CLI): Improve modern error reporting
2021-10-01 15:47:41 +02:00
Mariusz Nowak
1a3ccdbef8
fix(CLI): Fix handling when local serverless is removed in command run
2021-09-28 17:16:17 +02:00
Mariusz Nowak
54af90884c
refactor: Cleanup requires order
2021-09-28 17:16:17 +02:00
Mariusz Nowak
80005aaf6b
fix(CLI): Ensure to strip error messages from colors in modern logs
2021-09-17 11:42:50 +02:00
Piotr Grzesik
171897d60e
feat(CLI): Introduce first iteration of modern logs for deploy ( #9934 )
2021-09-10 15:17:45 +02:00
Piotr Grzesik
60d729b5d4
feat(Telemetry): Detect used variable sources
2021-07-28 13:18:31 +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
ac03d83289
refactor(Telemetry): Include commandUsage in case of error
2021-06-30 16:14:45 +02:00
Mariusz Nowak
1b90dfb065
fix(Telemetry): Ensure to gently handle older globals
2021-06-01 17:07:52 +02:00
Piotr Grzesik
9b2a111485
fix(Telemetry): Ensure to pass proper config for local fallback
2021-05-25 13:21:33 +02:00
Mariusz Nowak
07d5b9c19e
refactor(Telemetry): Report error location for non-normative error codes
2021-05-19 13:16:42 +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
4f6a50a2e1
refactor(Telemetry): Make generatePayload serverless independent
2021-05-12 12:41:30 +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
2c2c77f905
fix(Telemetry): Do not report when commandSchema not resolved
2021-05-04 17:50:41 +02:00
Piotr Grzesik
5861d08768
feat(Telemetry): Report failures via telemetry
2021-04-30 11:54:29 +02:00
Piotr Grzesik
07a5483bb6
refactor(CLI): Pass serverless instance to handle-error
2021-04-28 09:42:47 +02:00
Piotr Grzesik
11e7311032
refactor: Introduce is-using-local-installation util
2021-04-27 17:46:19 +02:00
Piotr Grzesik
a79473d8b1
fix(CLI): Properly report SDK version when handling errors
2021-03-10 10:24:44 +01:00
Mariusz Nowak
774358271e
refactor: Seclude tokenizeException util
2021-03-05 16:20:03 +01:00
Piotr Grzesik
053bcc7624
fix: Properly resolve local version
2021-02-08 11:06:36 +01:00
Mariusz Nowak
847fa3412d
feat: Seclude main error handler to standalone util
2021-01-08 15:06:14 +01:00