Piotr Grzesik
1cb6a2ff2d
refactor: Remove legacy logs
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
Piotr Grzesik
420d124fd3
refactor(Config Schema): Do not rely on ajv-keywords ( #10490 )
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
b40838630c
feat(Config Schema): Deprecate warn as a validation mode default
2022-01-27 15:21:58 +01:00
Piotr Grzesik
59116758c9
feat(AWS Lambda): Remove support for awsKmsKeyArn setting
...
BREAKING CHANGE: Properties `service.awsKmsKeyArn` and
`functions[].awsKmsKeyArn` are no longer supported. Use `provider.kmsKeyArn`
and `functions[].kmsKeyArn` instead.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
4da0899673
refactor(CLI): Replace warnings with modern counterparts
2021-10-15 11:09:35 +02:00
Mariusz Nowak
a9bf916fbb
feat(Config Schema): Remove validation mode related deprecation
...
It'll be re-added in context of v3
2021-10-07 14:09:14 +02:00
Mariusz Nowak
01f158695b
feat(Telemetry): Report configuration validation result
2021-07-01 08:32:33 +02:00
Mariusz Nowak
a36247b7ac
refactor(Config Schema): Improve error message and documentation
2021-06-24 21:57:18 +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
8d56d0e520
style: Prettier
2021-05-10 13:07:44 +02:00
Piotr Grzesik
8c37e0ac6d
refactor: Adjust invalid code for ServerlessError
2021-04-23 13:34:20 +02:00
Piotr Grzesik
82040b427e
refactor: Add code to ServerlessError in lib/classes
2021-04-23 13:34:20 +02:00
yumei
6537a5e48d
feat(Config Schema): Announce that crashing on error will become default
...
(PR #9066 )
2021-03-10 12:11:06 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. ( #8897 )
2021-02-09 09:20:55 +01:00
Piotr Grzesik
e0bc57ab1f
feat(Config Schema): Filter out duplicate error messages
2021-01-29 13:59:43 +01:00
Piotr Grzesik
d1c656838f
fix(Config Schema): Revert to ajv v6 ( #8762 )
...
This reverts commit 036698ca5b46dc27a2844114813812a83f64813e
and 1af73bacdf01e5dc855da59387ab36085b2b78a1.
2021-01-14 19:11:11 +01:00
Piotr Grzesik
036698ca5b
fix(Config Schema): Use ajv formats
2021-01-06 20:33:12 +01:00
Frédéric Barthelet
1af73bacdf
refactor: Upgrade "ajv" to v7 and "ajv-keywords" to v4 ( #8703 )
2021-01-05 11:14:12 +01:00
Mariusz Nowak
cf7b25e458
style: Upgrade "prettier" to v2
2021-01-04 16:21:24 +01:00
Frédéric Barthelet
7266599a7d
feat(Config Schema): Validate extensions against collisions ( #8655 )
2020-12-22 17:07:30 +01:00
Mariusz Nowak
3808471972
test: Move unit tests to "test/unit" folder
2020-11-30 16:53:52 +01:00
Frédéric Barthelet
e32b771425
fix(Config Schema): Fix defineFunctionEventProperties
...
Fix support for multiple event types
(PR #8486 )
2020-11-09 12:16:19 +01:00
Frédéric Barthelet
b5abfd8554
feat(ConfigSchema): defineFuntionEventProperties schema extension method ( #8471 )
2020-11-06 14:53:39 +01:00
Luis Helder
5003bbf983
feat(Config Schema): defineFunctionProperties schema extension method
...
(PR #8462 )
2020-11-03 10:02:24 +01:00
Oz Weiss
61d8ee9884
feat(Config Schema): Schema for AWS s3 event ( #8330 )
2020-10-30 17:51:24 +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
Frédéric Barthelet
719fa3a3bf
feat(Config Schema): Async invocations AWS functions[] schema ( #8385 )
2020-10-13 10:27:07 +02:00
Mariusz Nowak
2e26e07f92
fix: Ensure to preserve undefined valued propeties as undefined
2020-10-09 12:34:20 +02:00
Mariusz Nowak
c93a799653
fix(Config Schema): Ensure to preserve null properties in user config
2020-10-07 13:36:34 +02:00
Oz Weiss
4168dc1f30
feat(Config Schema): Schema for layers ( #8299 )
2020-10-01 17:39:51 +02:00
Mariusz Nowak
a6ff964d84
feat: Coerce primitive config values to arrays, when array is expected
2020-10-01 15:31:21 +02:00
Mariusz Nowak
6d1ee37004
feat: Coerce input configuration values
2020-10-01 15:31:21 +02:00
Mariusz Nowak
c51e293ff4
refactor(Config Schema): Improve comments
2020-10-01 15:31:21 +02:00
Mariusz Nowak
57996a06a0
feat: Clear null valued props in service configuration
...
Instead of normalizing just for schema validation, normailze also for use
2020-10-01 15:31:21 +02:00
Piotr Grzesik
b867df147a
refactor: Replace _.{entries|entriesIn|toPairs} with Object.entries
...
(PR #8275 )
2020-09-23 13:13:54 +02:00
Piotr Grzesik
57d1ce1a66
refactor: Replace _.values with Object.values ( #8274 )
2020-09-23 13:09:50 +02:00
Frédéric Barthelet
feece9a2ec
feat(Config Schema): Schema for functions[] properties ( #8222 )
2020-09-21 16:50:52 +02:00
Mariusz Nowak
e5e42bab8c
fix(Config Schema): Treat explicit null or undefined as no value
...
Workaround for https://github.com/ajv-validator/ajv/issues/1287
2020-09-21 10:02:13 +02:00
Mariusz Nowak
9bec4226e5
refactor(Config Schema): Do not pass obsolete arguments
2020-09-21 10:02:13 +02:00
Mariusz Nowak
c370295be6
refactor(Config Schema): Move docs to website page
2020-09-10 10:49:02 +02:00
Mariusz Nowak
2c19bf5eae
refactor(Config Schema): Unified color scheme
2020-09-10 10:49:02 +02:00
Mariusz Nowak
05921b61ee
test: Upgrade to use new fixtures engine
2020-09-09 11:17:21 +02:00
Mariusz Nowak
8c3c7c4e3a
chore: Rename "tests" folder to "test"
...
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Mariusz Nowak
6d7e967227
refactor(Config Schema): Treat "resources" as fully provider specific
2020-08-28 14:17:54 +02:00
Mariusz Nowak
c79cae2308
refactor(Config Schema): Define AWS definitions in context of provider
2020-08-28 14:17:54 +02:00
Mariusz Nowak
e1ee0dc6f9
fix(Config Schema): Report configuration errors as warnings
...
By default they behave as warnings (let process continue), while "error" gives an impression action was stopped
2020-08-19 15:47:51 +02:00
Frédéric Barthelet
f091c07992
feat(Config Schema): AWS HTTP API schema ( #8068 )
2020-08-19 12:05:50 +02:00