75 Commits

Author SHA1 Message Date
Mariusz Nowak
e61124a7d4 refactor: Remove internal suppressLogIfPrintCommand method 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
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
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
Piotr Grzesik
9a834152a9 feat(AWS Lambda): Change default hashing algorithm
BREAKING CHANGE: Default lambda hashing algorithm was changed to `20201221`
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
b30a2277a7 test: Upgrade @serverless/test to v9 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
ed372a21dc test: Generalize function fixture 2021-10-04 17:12:58 +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
922ec0093f fix: Fix functions[] validation (ignore null values) 2021-07-16 10:56:06 +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
Mariusz Nowak
01f158695b feat(Telemetry): Report configuration validation result 2021-07-01 08:32:33 +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
64cd157b6f test: Refactor to async/await 2021-06-21 17:31:50 +02:00
Mariusz Nowak
d4e873a576 test: Refactor to async/await 2021-06-21 17:31:50 +02:00
Mariusz Nowak
8ac249b1ea refactor(Config Schema): Improve error messaging for same type variants 2021-06-10 12:27:20 +02:00
Mariusz Nowak
582d150ceb refactor(Variables): Cleanup handling of variableSyntax default 2021-06-02 15:17:06 +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
05588f77c0 refactor(CLI): Rely internally on @serverless/utils/log 2021-05-12 12:41:30 +02:00
Mariusz Nowak
2f3d33d347 test: Improve test title 2021-05-11 14:08:38 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +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
Piotr Grzesik
d26e2ae4b8 refactor(AWS Credentials): Remove undocumented provider.credentials 2021-04-13 09:04:57 +02:00
Mariusz Nowak
2d1b56b59f test: Upgrade to new runServerless version 2021-04-09 16:10:21 +02:00
Mariusz Nowak
e91f1645ef test(CLI): Move tests to appropriate context 2021-04-06 12:47:08 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Mariusz Nowak
053fea18e0 refactor(CLI): Move main help renderer out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
cd4daaf00e test: Improve test to run against confirmed help command 2021-03-26 10:11:57 +01:00
Mariusz Nowak
aca3c0d57d refactor(CLI): Seclude command help render from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
41e921aa6f refactor(CLI): Seclude command options render logic out of internals 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
Piotr Grzesik
86e0b6ddbb fix: Ensure to handle empty func definition with meaningful error 2021-03-17 13:12:16 +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
Mariusz Nowak
bc62e59280 test: Upgrade "@serverless/test" to v7.9.0 2021-02-24 12:15:28 +01:00