198 Commits

Author SHA1 Message Date
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 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
Piotr Grzesik
766b58da61 refactor: Upgrade ajv to v8 along with related packages 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
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
d43298d25b refactor(CLI): Adapt logWarning to modern logs 2021-10-11 16:40:56 +02:00
Mariusz Nowak
e423404290 feat(CLI): Modern verbose logs related to deploy operation 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
3e58d628e7 fix: Improve functions validation 2021-07-14 14:15:58 +02:00
Mariusz Nowak
011e0ce45c fix: Ensure to support deprecation settings at early stage of processing 2021-06-21 17:31:50 +02:00
Mariusz Nowak
c22a8b99f2 feat: Introduce an opt-in "error" deprecation notification mode 2021-06-21 17:31:50 +02:00
Mariusz Nowak
004c6e26be fix(Variables): Ensure visibility of top level properties resolution 2021-06-11 10:14:15 +02:00
Mariusz Nowak
2d3bfac374 refactor: Improve var name 2021-06-11 10:14:15 +02:00
Mariusz Nowak
c86a76cb60 refactor: Reorganize and document configuration dependencies 2021-06-11 10:14:15 +02:00
Mariusz Nowak
f009679bdd refactor: Remove no longer applicable comments 2021-06-11 10:14:15 +02:00
Mariusz Nowak
582d150ceb refactor(Variables): Cleanup handling of variableSyntax default 2021-06-02 15:17:06 +02:00
Mariusz Nowak
c563581ac9 refactor: Construct user errors with ServerlessError 2021-05-19 13:16:42 +02:00
Piotr Grzesik
82040b427e refactor: Add code to ServerlessError in lib/classes 2021-04-23 13:34:20 +02:00
Mariusz Nowak
6c896a5ffd fix(API): Bring back legacy service.serviceFilename for plugins 2021-04-22 09:14:26 +02:00
Mariusz Nowak
e8c8f1cfff refactor: Rename servicePath vars 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
fc3a4391b5 refactor: Introduce serviceDir and configurationFilename
In place of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +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
dc9f1809d1 refactor: Rely on external isHelpRequest CLI util 2021-01-22 14:57:10 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
4431b43f17 refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00
Gareth Jones
33cffc3509
feat(Variables): Introduce unresolvedVariablesNotificationMode (#8710) 2021-01-14 08:54:15 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Frédéric Barthelet
6c6881c853
fix(Config Schema): Recognize string format of service (#8537) 2020-11-23 12:17:51 +01:00
A. Singh
c0a2ecf453
feat: Deprecate service object notation (#8466) 2020-11-04 17:35:01 +01:00
telenord
4ae192cbfe
refactor: Remove that = this pattern (#8463) 2020-11-02 11:29:39 +01:00
Mariusz Nowak
df1b8a9433 fix(Config Schema): Run validation logic unconditionally
It's to ensure that properties normalization is applied unconditionally
2020-10-30 15:26:25 +01:00
Mariusz Nowak
9481029b59 refactor(Config Schema): No point in creating new object 2020-10-30 15:26:25 +01:00
Mariusz Nowak
c2712183a5 refactor(Config Schema): Run schema validation only in service context 2020-10-30 15:26:25 +01:00
Mariusz Nowak
214768b83a refactor: Ensure config modifications happen after its validation 2020-10-30 15:26:25 +01:00
Mariusz Nowak
b04ab55fab fix(Config Schema): Ensure to validate provider as in config file 2020-10-29 09:27:03 +01:00
Mariusz Nowak
ac34110852 fix(Variables): Fix support for ${self:} 2020-10-05 15:47:41 +02:00
Matthieu Napoli
2fdeb51174
fix(Variables): Ensure no collisions with AWS CloudFormation variables
(PR #8279)
2020-09-24 15:31:02 +02:00
Piotr Grzesik
76e02cc09c
refactor: Replace _.forEach with Object.entries().forEach (#8280) 2020-09-24 10:31:32 +02:00
Mariusz Nowak
6dd0596286 fix: Revert from frameworkVersion requirement 2020-09-02 18:33:00 +02:00
Mariusz Nowak
0d5a480fd0 fix: Fix handling of invalid range put into frameworkVersion
Invalid `frameworkVersion` in all cases made `semver.satisfy` to return false.
It's confusing e.g. for cases where we put number 1 instead of string "1" as `frameworkVersion` and that's considered as invalid value
2020-09-02 14:37:49 +02:00
Mariusz Nowak
9f7f9d3983 feat(CLI): Announce frameworkVersion requirement 2020-09-02 13:04:59 +02:00
Mariusz Nowak
c0fb04af3d fix: Fix handling of pre-releases in frameworkVersion validation 2020-09-02 10:06:18 +02:00
Mariusz Nowak
af603198a1 fix(Config Schema): Ensure to validate direct config where applicable 2020-08-28 14:17:54 +02:00