92 Commits

Author SHA1 Message Date
Mariusz Nowak
bdaf21e1a1 feat(Console): Initial integration 2022-02-25 20:12:02 +01:00
frozenbonito
ec3271f3e8
feat(Plugins): Support ESM format for plugins (#10657) 2022-02-10 10:46:12 +01:00
Piotr Grzesik
76a60ae2b7 refactor: Use templates from examples in create 2022-02-04 17:35:19 +01:00
Mariusz Nowak
5c1f615ff4 refactor: Rename lib/utils/deepSortObjectByKey.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d0c93f9d35 refactor: Rename …/classes/config-schema-handler/resolveAjvValidate.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7dacfdf995 refactor: Rename …/classes/config-schema-handler/normalizeAjvErrors.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
78184571b6 refactor: Rename lib/classes/ConfigSchemaHandler 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6d67ec2a00 refactor: Rename lib/classes/YamlParser.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
4ffb3a7173 refactor: Rename lib/classes/PluginManager.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
391acb1a74 refactor: Rename lib/classes/Utils.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
bd7dece8ce refactor: Rename lib/classes/Service.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
63961a537f refactor: Rename lib/classes/Config.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
4a97648626 refactor: Rename lib/classes/CLI.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7289137073 refactor: Rename lib/Serverless.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
55b92071fb test: Rename fixture programmatic/configSchemaExtensions 2022-01-27 15:21:58 +01:00
Mariusz Nowak
aaba49b540 test: Rename fixture `programmatic/configSchemaExtensionsError 2022-01-27 15:21:58 +01:00
Mariusz Nowak
f1b96f1e1a test: Rename test/serverlessBinary.js 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
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