This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
Releases: pheekus/svarog
Releases · pheekus/svarog
v1.0.0
v0.5.0
0.5.0 (2019-08-26)
Bug Fixes
- compiler: fix empty schema output (b102160)
- compiler: fix incorrect function call descriptor (2cbf72b)
- compiler: fix loose type checking in generic compiler (7a8d48f)
- compiler: fix output for object properties described with boolean value (afe870a)
- compiler: fix required/optional properties checks (f59f203)
- compiler: make sure type check is always added for lists (cd5fe21)
- compiler: use the correct equality operator for null (51b4832)
Features
- compiler: throw when no $id found in schema (6014149)
v0.4.0
Breaking changes:
- helper functions now accept 2 arguments instead of 1
- cli flag
--force
will allow overwrite of the Svarog code only from this point on - cli will now overwrite the existing Svarog code if it was created with the same pre-release or major version of the package
Fixes:
- helpers will now use the correct float type (
float
instead ofdouble
) - ternary conditional operators were replaced with regular conditions since Firestore didn't seem to support this CEL feature very well
Features and improvements:
- output is minified by default in this release
- vendor comments containing version are now added to the output
- svarog will now check for any additional fields in the resource before proceeding with validation
- there's now an option to perform "strict" and "loose" checks for "create" and "update" operations respectively