102 Commits

Author SHA1 Message Date
Mariusz Nowak
fac8a73eec fix(Console): Ensure single layer attachment with package.individually 2022-03-24 16:51:14 +01:00
Mariusz Nowak
ba71dd9fb5 refactor(Console): Improve error reporting when layer cannot be added 2022-03-24 16:51:14 +01:00
Mariusz Nowak
075e5f9de0 test(Console): Fix test title 2022-03-24 16:51:14 +01:00
Mariusz Nowak
43480ee872 fix(Console): Prevent AWS region mismatch 2022-03-18 15:45:55 +01:00
Mariusz Nowak
0f396a15fc test(Console): Improve test reliability 2022-03-18 15:45:55 +01:00
Mariusz Nowak
fcaa9c2c4f fix(Console): Fix reference to bucket name in CF template 2022-03-17 21:50:59 +01:00
Mariusz Nowak
23719d868c fix(Console): Fix upload of extension to S3 bucket 2022-03-17 21:50:59 +01:00
Mariusz Nowak
4d705cc96d fix(Console): Respect custom deployment bucket configuration 2022-03-17 18:04:07 +01:00
Mariusz Nowak
fdb5247a93 test(Console): Ensure to not leave open file handlers 2022-03-14 16:15:46 +01:00
Mariusz Nowak
c28c48c6a1 refactor(Console): Dynamically resolve latest version of the extension 2022-03-14 16:15:46 +01:00
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