This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
v0.4.0
Pre-release
Pre-release
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