34 Commits

Author SHA1 Message Date
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
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
5fc55c0464 refactor: Replace ncjsm/resolve usage with native createRequire 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
Piotr Grzesik
33bd501f06 feat: Error instead of warning when missing "commands" or "options"
BREAKING CHANGE: When creating `Serverless` class instance programatically,
both "options" and "commands" have to be passed via "config" to the constructor.
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
Mariusz Nowak
f9e6e2c405 feat(Plugins): Pass log writers to plugin constructor 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6a659f1b20 refactor: Upgrade @serverless/utils to v6 2022-01-27 15:21:58 +01:00
Piotr Grzesik
13e8ca6f83 feat: Remove support for Node v10
BREAKING CHANGE: Node in versions lower than 12 is no longer supported
2022-01-27 15:21:58 +01:00
Shalvah
62d8da209e
fix(Packaging): Do not include local plugins in a bundle (#10259) 2022-01-06 16:18:16 +01: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
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
655140b764 feat(CLI): Modern debug (previously verbose) logs related to deploy 2021-09-17 11:42:50 +02:00
Mariusz Nowak
81ddcf8ecb test: Upgrade from deprecated forms when not testing them intentionally 2021-06-21 17:31:50 +02:00
Mariusz Nowak
105807a674 refactor(CLI Onboarding): Integrate steps from dashboard plugin 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
10f956777c test: Rename servicePath to serviceDir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
2d1b56b59f test: Upgrade to new runServerless version 2021-04-09 16:10:21 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Mariusz Nowak
cd4daaf00e test: Improve test to run against confirmed help command 2021-03-26 10:11:57 +01:00
Mariusz Nowak
02bcfaa728 test: Remove no longer valid test 2021-03-26 10:11:57 +01:00
Mariusz Nowak
3998568443 test: Fix promises handling 2021-03-26 10:11:57 +01:00
Mariusz Nowak
6ec463cbe7 fix(CLI): Improve handling of container commands
Allow to run them, and simply show help output if they're run
2021-03-16 09:34:33 +01:00
Mariusz Nowak
87b8d019c2 refactor: Refactor pluginManager.spawn to async/await 2021-03-16 09:34:33 +01:00
Mariusz Nowak
c9087ec4e6 refactor(CLI): Rely on cli/is-help-request util 2021-03-05 16:17:42 +01:00
Piotr Grzesik
c41bd64bb2 refactor: Revert removal of bluebird from lib/classes
This reverts commit 1a694ae4aab0a347b018380110b9a436f6c43c1e.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
1a694ae4aa
refactor: Remove bluebird from lib/classes (#8943) 2021-02-19 18:03:04 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Frédéric Barthelet
66aa66fbfe
refactor: Replace _.set with native assignment 2021-01-05 11:18:10 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00