1234 Commits

Author SHA1 Message Date
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
e61124a7d4 refactor: Remove internal suppressLogIfPrintCommand method 2022-01-27 15:21:58 +01:00
Mariusz Nowak
e61674f8dc feat(Dashboard): Drop support for tenant
BREAKING CHANGE:
`tenant` configuration setting is no longer respected. Ensure to rely on `org` instead
2022-01-27 15:21:58 +01:00
Mariusz Nowak
731b3ba1e1 feat(Variables): Remove old variables resolver
BREAKING CHANGE:
Old variables resolver is permanently removed. Any resolution error as approached with current resolver is assumed as final (there's no longer fallback to old resolver)
2022-01-27 15:21:58 +01:00
Mariusz Nowak
79820d6191 feat(CLI): Deprecate recognition of projectDir configuration setting 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
870a116bb1 refactor: Rely on require.resolve to detect wether module exist 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5fc55c0464 refactor: Replace ncjsm/resolve usage with native createRequire 2022-01-27 15:21:58 +01:00
Piotr Grzesik
420d124fd3 refactor(Config Schema): Do not rely on ajv-keywords (#10490) 2022-01-27 15:21:58 +01:00
Piotr Grzesik
766b58da61 refactor: Upgrade ajv to v8 along with related packages 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b4a25d70d3 feat: Remove tab autocomplete feature
Reasoning:
- Performance is very poor due to slow command startup time
- `tabtab` package is no longer maintained and shares security issues
- Feature usage is relatively low (telemetry data shows 7% of users has the autocompletion on)

BREAKING CHANGE:
Opt-in tab-tab autocompletion feature is removed due to performance and security issues
2022-01-27 15:21:58 +01:00
Mariusz Nowak
b40838630c feat(Config Schema): Deprecate warn as a validation mode default 2022-01-27 15:21:58 +01:00
Mariusz Nowak
2746b854bb refactor: Remove evaluation of deprecated lifecycle events
BREAKING CHANGE:
Lifecycle events marked as deprecated (in context of v1) are no longer evaluated
2022-01-27 15:21:58 +01:00
Mariusz Nowak
30a3be8de7 feat: Do not decorate cli.log logs 2022-01-27 15:21:58 +01:00
Piotr Grzesik
46e47d0225 feat: Remove support for object notation for service
BREAKING CHANGE: Object notation is no longer supported for `service` property.
Set name directly to `service`.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
b24ab3c059 feat: Throw error on duplicated plugin definition
BREAKING CHANGE: Duplicate plugin definition in configuration will now result
in an error instead of a warning.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
59116758c9 feat(AWS Lambda): Remove support for awsKmsKeyArn setting
BREAKING CHANGE: Properties `service.awsKmsKeyArn` and
`functions[].awsKmsKeyArn` are no longer supported. Use `provider.kmsKeyArn`
and `functions[].kmsKeyArn` instead.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
f9e6e2c405 feat(Plugins): Pass log writers to plugin constructor 2022-01-27 15:21:58 +01:00
Mariusz Nowak
cc905c1e39 refactor: Remove not actual TODO comments 2022-01-12 16:33:14 +01:00
Shalvah
62d8da209e
fix(Packaging): Do not include local plugins in a bundle (#10259) 2022-01-06 16:18:16 +01:00
Mariusz Nowak
53490a5518 fix(CLI): Do not recomment frameworkVersion when running pre release 2021-11-05 15:29:51 +01:00
Mariusz Nowak
b7a634974d fix: Recognize accessible configuration parts on validation errors 2021-10-22 15:28:00 +02:00
Piotr Grzesik
d2a75ea95e feat(CLI): Introduce deprecation for duplicate plugin definition 2021-10-15 11:09:35 +02:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
Chris Poli
49f0913466
refactor: Fix typo in lib/classes/Variables.js (#10093) 2021-10-14 10:25:16 +02:00
Piotr Grzesik
771f99b18d refactor(CLI): Adapt logInfo to modern logs 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
a9bf916fbb feat(Config Schema): Remove validation mode related deprecation
It'll be re-added in context of v3
2021-10-07 14:09:14 +02:00
Mariusz Nowak
634b59e396 refactor: Revert from mainProgressTitles handling
It appeared as not reliable, due to lack of means for any conditional handling of progress events
2021-09-21 17:39:44 +02:00
Mariusz Nowak
fd68f9e803 feat: Support mainProgressTitles config on commands schema 2021-09-20 15:41:01 +02:00
Mariusz Nowak
76006ec1e8 refactor: Reorganize hooks resolution
Its to have access to meta that describes hook origin when processing the hook
2021-09-20 15:41:01 +02:00
Mariusz Nowak
8b4498c911 refactor: Simplify lifecycle event hooks resolution 2021-09-20 15:41:01 +02:00
Mariusz Nowak
655140b764 feat(CLI): Modern debug (previously verbose) logs related to deploy 2021-09-17 11:42:50 +02:00
Mariusz Nowak
e423404290 feat(CLI): Modern verbose logs related to deploy operation 2021-09-17 11:42:50 +02:00
Mariusz Nowak
cb4f08ad7d feat: Support finalize hook, triggered on command finalization 2021-09-16 12:16:25 +02:00
Mariusz Nowak
7663b19879 style: Simplify 2021-09-16 12:16:25 +02:00
Mariusz Nowak
dce0ff1a89 fix(Telemetry): Ensure to not show backed notification on error 2021-09-16 12:16:25 +02:00
Mariusz Nowak
46c58bfdd2 refactor: Improve var naming 2021-09-16 12:16:25 +02:00
Piotr Grzesik
7828cc77f1 feat(CLI): Add timer to final message in modern logs 2021-09-15 13:05:18 +02:00
Jonas Matos
26b8bd5c5f
refactor: Replace _.flatMap usage (#9948)
Co-authored-by: Jonas Matos <js.matos@sidi.org.br>
2021-09-15 10:57:01 +02:00
Mariusz Nowak
5c9766c085 feat: Support error hook to be triggered on command error 2021-09-09 17:29:22 +02:00
Mariusz Nowak
8dece7f6c6 fix(Variables): Fix new sources resolution error message at old resolver 2021-08-27 14:54:40 +02:00
Matthieu Napoli
5c9df56f1b
fix(Plugins): Improve error message when a plugin is missing (#9798) 2021-08-03 20:54:51 +02:00
Mariusz Nowak
922ec0093f fix: Fix functions[] validation (ignore null values) 2021-07-16 10:56:06 +02:00
Mariusz Nowak
040036d186 fix(CLI): Do not validate configuration with plugin .. commands 2021-07-14 14:15:58 +02:00
Mariusz Nowak
3e58d628e7 fix: Improve functions validation 2021-07-14 14:15:58 +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
01f158695b feat(Telemetry): Report configuration validation result 2021-07-01 08:32:33 +02:00
Mariusz Nowak
a36247b7ac refactor(Config Schema): Improve error message and documentation 2021-06-24 21:57:18 +02:00